Files
CTFd-owl-examples/telnet-task/service/docker-entrypoint.sh
T

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