These are my solutions to ethernaut ctf
. The ctf requires you to play in a browser. But I have taken a slightly different approach to solving them.
This repository uses Foundry
to run the contracts.
- Clone the repository.
git clone https://github.com/abdulsamijay/ethernaut.git
- Build the repository & install.
forge install && forge build
- Run all challenges
forge test -vv
- Run a specific challenge i.e ( run challenge #10 )
forge test -vv -m 10
The details for each challenge are in their respective folders. Click one of the links to quickly jump over!
Challenge0
Fallback
Fallout
CoinFlip
Telephone
Token
Delegation
Force
Vault
King
Reentrance
Elevator
Privacy
GatekeeperOne
GatekeeperTwo
Naught
Preservation
Recovery
MagicNumber
AlienCodex
Denial
Shop
Dex
DexTwo
I would also like to give shoutout to people helping other peeps catchup by sharing content!
- @cmichelio for his vast writeups.
- @0xSage for his in-depth ethernaut challenge writeups + awesome tricks along the way.