1
0
Fork 0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-05-22 23:36:03 +02:00

Remove -E option of sudo for more

Note added by @cyrus-and: this only works because `sudo` preserves `TERM` nevertheless (unless explicitly blacklisted).
This commit is contained in:
Aj Dumanhug 2020-06-10 16:48:48 -04:00 committed by GitHub
parent 1600e05fef
commit fbd887e91a
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,6 @@ functions:
- code: ./more file_to_read
sudo:
- code: |
TERM= sudo -E more /etc/profile
TERM= sudo more /etc/profile
!/bin/sh
---