Puzzles used in the 2022 Paradigm CTF
You'll need to set the following environment variables:
ETH_RPC_URL to a valid Ethereum JSON-RPC endpointPYTHONPATH to point to mpwnYou'll also need to manually install the following:
pip install yaml ecdsa pysha3 web3 cairo-lang./build.shRunning 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 8545On another terminal:
nc localhost 31337When prompted for the ticket, use any value
$ nc localhost 31337
1 - launch new instance
2 - kill instance
3 - get flag
action? 1
ticket please: ticket
your private blockchain has been deployed
it will automatically terminate in 30 minutes
here's some useful information./solve.shNo open issues yet, or sync has not completed.