Skip to content

ishtagy/foundry-ethernaut-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ethernaut Solutions using Foundry

This repository contains my solutions for the Ethernaut challenges.

Table of Contents

About Ethernaut CTF

Ethernaut is a Capture The Ether (CTF) platform for learning and practicing Ethereum smart contract security. The challenges cover a wide range of topics, from simple Solidity vulnerabilities to more complex issues in Ethereum smart contract development.

Challenges

The solutions for each challenge are organized into their respective directories in this repository

Usage

You can use the solutions as a reference or study guide to understand how each challenge was solved. Feel free to explore the code, learn from it, and adapt the solutions for your own projects or further experimentation.

Installation

  1. Clone this repository to your local machine:

    git clone https://github.com/ishtagy/foundry-ethernaut-solutions.git
  2. Fill .env file.(You need to add your RPC_URL and PRIVATE_KEY of your account)

  3. On-Chain exploitation

  forge script script/level{LEVEL_NUMBER}.s.sol --rpc-url $SEPOLIA_RPC_URL --private-key $PRIVATE_KEY --broadcast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published