Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/paradigmxyz/paradigm-ctf-2022
Puzzles used in the 2022 Paradigm CTF
https://github.com/paradigmxyz/paradigm-ctf-2022
blockchain crypto ctf ethereum evm security solidity
Last synced: 7 days ago
JSON representation
Puzzles used in the 2022 Paradigm CTF
- Host: GitHub
- URL: https://github.com/paradigmxyz/paradigm-ctf-2022
- Owner: paradigmxyz
- Created: 2022-09-16T00:21:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-16T01:34:01.000Z (over 2 years ago)
- Last Synced: 2024-12-08T06:50:18.309Z (15 days ago)
- Topics: blockchain, crypto, ctf, ethereum, evm, security, solidity
- Language: Rust
- Homepage: https://ctf.paradigm.xyz
- Size: 35.9 MB
- Stars: 390
- Watchers: 3
- Forks: 50
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starknet-security - Paradigm CTF 2022 - Paradigm CTF with Solidity and Cairo challenges. (CTFs and Wargames / CTFs)
README
# Paradigm CTF 2022
## Installing
### Prerequisites
* Docker
* [mpwn](https://github.com/lunixbochs/mpwn)
* Python 3### Configuration
You'll need to set the following environment variables:
* `ETH_RPC_URL` to a valid Ethereum JSON-RPC endpoint
* `PYTHONPATH` to point to mpwnYou'll also need to manually install the following:
* `pip install yaml ecdsa pysha3 web3 cairo-lang`## Usage
### Build everything
```bash
./build.sh
```### Run a challenge
Running a challenge will open a port which users will `nc` to. For Ethereum/Starknet related
challenges, an additional port must be supplied so that users can connect to the Ethereum/Starknet
node```
./run.sh random 31337 8545
```On another terminal:
```
nc localhost 31337
```When prompted for the ticket, use any value
```
$ nc localhost 31337
1 - launch new instance
2 - kill instance
3 - get flag
action? 1
ticket please: ticketyour private blockchain has been deployed
it will automatically terminate in 30 minutes
here's some useful information
```### Running the autosolver
```bash
./solve.sh
```