Priv Escalation
Last updated
Last updated
I first tried to use the following articles.
This one didn't work.
This one also didn't work however after seeing my $PATH, I was able to see the commands I was able to run.
After seeing the commands the current shell was able to run I went to gtfobins.
The ed binary allows us to escape a restricted shell.
We then run the following command to export a new $PATH.
Based on the images run the following command: