QWXFB-2024/热身赛/Pwn/ez_overflow/deploy/init.sh
2024-09-16 11:38:20 +08:00

8 lines
168 B
Bash

#!/bin/sh
sed -i "s/flag{test_flag}/$GZCTF_FLAG/" /home/ctf/flag #if need dynamic flag
export GZCTF_FLAG=""
# DO NOT DELETE
/etc/init.d/xinetd start;
sleep infinity;