Files

9 lines
104 B
Bash
Executable File

#!/bin/sh
echo "${FLAG}" > /flag.txt
chmod 644 /flag.txt
unset FLAG
exec telnetd -F -l /app/shell.sh