Skip to content

A collection of ctf challenges based on Rareskills educational content

Notifications You must be signed in to change notification settings

BlockChomper/ctf-challenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Block logo

Rareskills Inspired CTF Challenges

Test your whitehat skills in our range of challenges inspired from Rareskills educational content

Documentation

Uniswap V2 Book

Discount Fees & Timelocked Withdrawals – ERC4626 Vault Vulnerability Analysis

ERC721 Callback Solution, Samczsun's Dangers of Suprising Code

Challenges

Uniswap V2 Book Chapter 1: ERC4626 - Vulnerable Vault

DittoETH Vulnerable Vault

ERC721 Callback - MysteryMasks Challenge

Setting up Challenge Environment

git clone https://github.com/BlockChomper/ctf-challenges.git

Ensure you have Foundry installed with foundryup and then build the repo after cloning from Github

forge build
  • Select challenge from sub folder within SRC.
  • View associated readme.md for scenario details.
  • Analyse vulnerable contract.
  • Write exploit code within matching test file for vulnerable contract.

Run exploit test to confirm successful completion of challenge

forge test --match-test testExploit

About

A collection of ctf challenges based on Rareskills educational content

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published