Aggregation of challs based on ethereum from different CTFs.
- Clone the repository
- Install dependencies with
yarn install
- Code your solutions in the provided
*.challenge.js
files (inside each challenge's folder in the test folder) - Run your exploit for a challenge with
yarn run challenge-name
. If the challenge is executed successfully, you've passed!
- In all challenges you must use the account called attacker. In Ethers, that should translate to using
.connect(attacker)
. - To code the solutions, you may need to refer to Ethers and Hardhat docs.
- In some cases, you may need to code and deploy custom smart contracts (you should put them in
contracts/attacker-contracts
).
- Bonjour [:heavy_check_mark:]
- You Only Have One Chance [:heavy_check_mark:]
- Duper Super Safe Safe [:heavy_check_mark:]
- Rolls Royce [:heavy_check_mark:]