Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.35 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.35 KB

What is Puzzl3s?

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.

CTFs

The following challenges are being or have been solved:

Exploit

First, make sure the following are installed:

  1. Foundry which comes with Forge, an Ethereum testing framework, to build smart contracts and run the exploits.
  2. 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