blocksecteam / Ethernaut_2024_phalcon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ethernaut CTF 2024 - Phalcon Fork Version 🚩

Twitter Follow

See README-CTF.md for original Ethernaut CTF 2024 README.

Phalcon Forks

Challenge Status Description
Alien Spaceship 🟒 Explore in Phalcon Fork Scan
beef 🟒 Explore in Phalcon Fork Scan
Dutch 🟑 Currently vyper contract verification not supported, See Phalcon Fork Scan
Dutch 2 🟒 Explore in Phalcon Fork Scan
Greedy Sad Man πŸ”΄ Currently StarkNet fork not supported
Space Bank 🟒 Explore in Phalcon Fork Scan
start.exe πŸ”΄ Sign-in challenge with on-chain deployment
Wombo Combo 🟒 Explore in Phalcon Fork Scan
XYZ 🟒 Explore in Phalcon Fork Scan

Quick Start

Deploy

Make sure you have installed all required dependencies, and simply run:

./deploy.sh -k <Your Phalcon Access Key>

This will set up a new Phalcon project and deploy all challenges (except start.exe and greedy-sad-man) for you.

Note: The Access Key used in the deploy script can be found in the Account Settings of the Phalcon Dashboard.

If you want to create a fork in an existing project, add the -p option with your Project ID:

./deploy.sh -k <Your Phalcon Access Key> -p <Your Phalcon Project ID>

Note: The Project ID can be viewed in the Project Settings.

To deploy a specific challenge (except start.exe and greedy-sad-man), just add the challenge name after the command, like this:

./deploy.sh -k <Your Phalcon Acess Key> <challenge>

Solve

Since the official solution is provided, we will use the Solve.s.sol under the challenge/project/script directory of each challenge.

./solve.sh -f <Your Phalcon Fork RPC> <challenge>

Note: The Fork RPC is shown in the Fork Panel.

When the CHALLENGE environment variable is provided, the script will interpret the contents of the specified file as the contract address for the challenge. Or else, it will resort to the defualt path.

Acknowledgement

Great thanks to OpenZeppelin for hosting such a high-quality competition and to all fellows behind Foundry for building the powerful toolkit.

This repository is forked from Ethernaut CTF 2024 Challenges & Solutions, where you can find the challenges with their corresponding solutions.

About


Languages

Language:Solidity 72.4%Language:JavaScript 21.4%Language:Ruby 3.4%Language:Vyper 1.4%Language:Python 0.6%Language:Julia 0.4%Language:Shell 0.2%Language:TypeScript 0.2%Language:Makefile 0.0%Language:Dockerfile 0.0%Language:Cairo 0.0%Language:Handlebars 0.0%Language:Nix 0.0%