mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-07-25 19:54:14 +02:00
Fix ed file read/write
This commit is contained in:
@@ -7,9 +7,16 @@ functions:
|
||||
file-write:
|
||||
- code: |
|
||||
ed file_to_write
|
||||
a
|
||||
data
|
||||
.
|
||||
w
|
||||
q
|
||||
file-read:
|
||||
- code: ed file_to_read
|
||||
- code: |
|
||||
ed file_to_read
|
||||
,p
|
||||
q
|
||||
sudo-enabled:
|
||||
- code: |
|
||||
sudo ed
|
||||
|
Reference in New Issue
Block a user