An Ethereum attack reproducer for security study.
- Install
Web3.py
.
pip install web3
- Setup reproducing environment.
If you use Ganache
ganache --fork --fork.blockNumber * --chain.time *
-
Initialize an account satisfying attack preconditions.
-
Run an attack in directory attacks. For example:
python harvest_finance_2020.10.26.py