/SmartContracts-CTF

Pen testing of 20 protocols, w/ Foundry

Primary LanguageSolidity

Mr Steal Yo Crypto CTF

A set of challenges to learn offensive security of smart contracts. Featuring interesting challenges loosely (or directly) inspired by real world exploits.

Kudos to @0xToshii

Play

Visit mrstealyocrypto.xyz

Foundry Instructions

  1. Install foundry: foundry-book

  2. Clone this repo and install dependencies

forge install
  1. Code your solutions and run the associated test files
forge test --match-path test/challenge-name.sol

Rules & Tips

  • In all challenges you must use the account called attacker (unless otherwise specified).
  • In some cases, you may need to code and deploy custom smart contracts.