抱歉,您的浏览器无法访问本站
本页面需要浏览器支持(启用)JavaScript
了解详情 >

Here's something encrypted, password is required to continue reading.

前言 旨在使用新学的foundry来复现,提升自身水平,以及加强对工具的使用,比赛环境没了,只能自己模拟。 代码仓库:链接 0x00-hello1. request 使Setup合约中的isSolved函数返回true。 2. analysis 签到题,很简单,不必多说。 3. solve攻击合约 12345678910111213141516171819202122// SPDX-L...

Here's something encrypted, password is required to continue reading.

简介 这是一个蛮有意思的骗子合约,只要对外宣称只需要支付大于0.1ETH,便可以得到1ETH,是你,你会不会信🤪 骗子合约1234567891011121314151617181920212223242526272829303132// SPDX-License-Identifier: MITpragma solidity ^0.8.16;contract Cheat { ...

Here's something encrypted, password is required to continue reading.

引言 📌 代码太多了,可以在GitHub找到:链接 0x00-TrusterLenderPool1. question 📌 掏空pool中的token0代币,成功执行Complete()函数。 2. analysis 这题的漏洞在于闪电贷函数中,borrower为任意地址,也可以是hacker地址,hacker可以实现receiveEther(uint256)函数,并在函数体中进行...

前言 在刷chainflag-opcode-BoxGame发现这个很有趣,记录下。 Log1用法 log1(offset, size, topic): offset: byte offset in the memory in bytes. size: byte size to copy. topic1: 32-byte value. 以 event NewValue(uint256)...

bytecode, initcode,deploycode bytecode = type(Contract_Name).creationCode = init code + runtimeCode type(Contract_Name).runtimeCode = runtimeCode extcodecopy => runtimecode ...

前言 比赛链接:LINK 代码仓库:LINK greeterVault1. 要求 成功调用SetUp的isSolved函数 2. 分析 考察delegatecall,delegatecall调用执行的是调用者的上下文,即Vault合约的上下文,在Logic合约中changeOwner函数的password实际上是Vault的logic变量,且修改的owner是Vault的owner,wi...

Here's something encrypted, password is required to continue reading.



政策 · 统计 | 本站使用 Volantis 主题设计