Solutions and Walkthrough for Openzeppelin's Ethernaut CTF written in Solidity with the help of Foundry.
Analysis and detailed solutions can be found on my blog - https://blog.dixitaditya.com/series/ethernaut
A guide on how to set up and get started with using Foundry and Solidity to write solutions for Ethernaut - https://blog.dixitaditya.com/getting-started-with-ethernaut-hello-ethernaut
- Codes for some levels are written completely in Solidity and are inside the
src
folder whereas - Others are written as foundry scripts which are also written in Solidity but they provide some extra cheat codes. These solutions are inside the
script
folder. - The
test
folder is just for experimenting. - The
instances
folder contains the original code for the levels which I'm using as interfaces.
More levels will be added soon.
- Lvl 1 Fallback function
- Lvl 2 Fallout
- Lvl 3 Coin Flip
- Lvl 4 Telephone
- Lvl 5 Token
- Lvl 6 Delegation
- Lvl 7 Force
- Lvl 8 Vault
- Lvl 9 King
- Lvl 10 Re-entrancy
- Lvl 11 Elevator
- Lvl 12 Privacy
- Lvl 13 Gatekeeper 1
- Lvl 14 Gatekeeper 2
- Lvl 15 Naught Coin
- Lvl 16 Preservation
- Lvl 17 Recovery
- Lvl 18 MagicNumber
- Lvl 19 Alien Codex
- Lvl 20 Denial
- Lvl 21 Shop
- Lvl 22 Dex
- Lvl 23 Dex Two
- Lvl 24 Puzzle Wallet
- Lvl 25 Motorbike
- Lvl 26 DoubleEntryPoint
- Lvl 27 Good Samaritan