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

9 lines
141 B
Bash
Executable File

#!/bin/sh
echo "Welcome! The flag is somewhere in the filesystem."
cd /home/ctf || exit 1
export HOME=/home/ctf
exec su-exec ctf /bin/ash