Script for Live CTF
- Make sure you print the flag in stdout
- If the submitted tarball keeps running, check the permission issue of
submit.tar
or try to submit manually - For exploits load
libcs
, copy the libc tochallenge/exploit
and modifychallenge/exploit/Dockerfile
with addingCOPY libc.so.6 libc.so.6
List all the challenges
./Live ls
Get the challenge attachment and decompress it.
./Live get <challengeId>
Test the local solution at ./challenge/handout/exp.py
./Live solve
Compress a solve tarball with script at ./challenge/handout/exp.py
and submit it.
./Live submit <challengeId>
Check the submitted solution state.
./Live exp <exploitation_tag>