mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 14:59:44 +01:00
Fix ed file read/write
This commit is contained in:
parent
0ba5df0cb9
commit
b4b67ff10b
@ -7,9 +7,16 @@ functions:
|
|||||||
file-write:
|
file-write:
|
||||||
- code: |
|
- code: |
|
||||||
ed file_to_write
|
ed file_to_write
|
||||||
|
a
|
||||||
|
data
|
||||||
|
.
|
||||||
w
|
w
|
||||||
|
q
|
||||||
file-read:
|
file-read:
|
||||||
- code: ed file_to_read
|
- code: |
|
||||||
|
ed file_to_read
|
||||||
|
,p
|
||||||
|
q
|
||||||
sudo-enabled:
|
sudo-enabled:
|
||||||
- code: |
|
- code: |
|
||||||
sudo ed
|
sudo ed
|
||||||
|
Loading…
Reference in New Issue
Block a user