Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAWM authored Aug 19, 2023
1 parent 6f8e9f2 commit 77e2cee
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,12 @@ Use fuzzer to detect the vulnerability and generate the exploit (takes 0 - 200s)

```bash
# build contracts in tests/evm/verilog-2/
solc *.sol -o . --bin --abi --overwrite --base-path ../../
# run fuzzer
./target/release/cli evm -f -t "./tests/evm/verilog-2/*"
solc *.sol -o . --bin --abi --overwrite --base-path ../../../
# after building, there should be a binary in ./cli/target/release/cli

# run fuzzer
cd ./cli/
./target/release/cli evm -f -t "../tests/evm/verilog-2/*"
```

`-f` flag enables automated flashloan, which hooks all ERC20 external calls and make any users to have infinite balance.
Expand Down

0 comments on commit 77e2cee

Please sign in to comment.