ethernaut-foundry
ethernaut-foundry copied to clipboard
Solutions and Walkthrough for Openzeppelin's Ethernaut CTF written in Solidity with the help of Foundry
Ethernaut-Foundry
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.
- [x] Lvl 1 Fallback function
- [x] Lvl 2 Fallout
- [x] Lvl 3 Coin Flip
- [x] Lvl 4 Telephone
- [x] Lvl 5 Token
- [x] Lvl 6 Delegation
- [x] Lvl 7 Force
- [x] Lvl 8 Vault
- [x] Lvl 9 King
- [x] Lvl 10 Re-entrancy
- [x] Lvl 11 Elevator
- [x] Lvl 12 Privacy
- [x] Lvl 13 Gatekeeper 1
- [x] Lvl 14 Gatekeeper 2
- [x] Lvl 15 Naught Coin
- [x] Lvl 16 Preservation
- [x] Lvl 17 Recovery
- [x] Lvl 18 MagicNumber
- [x] Lvl 19 Alien Codex
- [x] Lvl 20 Denial
- [x] Lvl 21 Shop
- [x] Lvl 22 Dex
- [x] Lvl 23 Dex Two
- [x] Lvl 24 Puzzle Wallet
- [x] Lvl 25 Motorbike
- [x] Lvl 26 DoubleEntryPoint
- [x] Lvl 27 Good Samaritan