We've prepared the test framework so that you can debug the challenge locally.
forge test -vv / forge test -vv --match-test [name]
For more details, please visit Exploit.t.sol.
how to generate the proof via 0xHacked Online Tool
Take Random as an example.
After debugging the exploit.sol locally, open 0xHacked Online Tool.
- Switch Network to CTF
- According to the Random Challenge, fill in the block number as 3,
- Upload the exploit.sol
- Click "Run", once you wait for a few minutes (usually it's up to 4 min), you will be able to download the proof below and submit it to Random Challenge.
Thanks for co-hosting with OtterSec. Also, thanks for RISC Zero's sponsorship and hardware support provided by Bonsai Network.