Files
CTFd-owl-examples/nc-task/service/handler.sh
T

13 lines
162 B
Bash
Executable File

#!/bin/bash
echo "Send 'flag' to solve this!"
read -r line
line="${line%$'\r'}"
if [ "$line" = "flag" ]; then
echo "$FLAG"
else
echo "Wrong input!"
fi