Puzzl3s 🧩 is an engaging collection of web3-based puzzles and Capture The Flag (CTF) challenges. While I didn't create the CTFs themselves, this repository showcases my solutions and serves as a comprehensive resource for other developers and security enthusiasts.
The following challenges are being or have been solved:
First, make sure the following are installed:
- Foundry which comes with Forge, an Ethereum testing framework, to build smart contracts and run the exploits.
- Huff compiler which is needed for huff puzzles such as CollatzPuzzle.
In order to build and run the exploits, first clone the Github repository:
git clone https://github.com/leovct/puzzl3s
cd puzzl3s
To build the contracts, you can run the following command:
pnpm run build
Run all the exploits using:
pnpm run exploits
Note that you can also run the exploit of a specific contract using while also showing traces. Here's an example:
forge test -vvvv --match-contract RoadClosed