mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-03-14 11:38:15 +01:00
Added support for red, the restricted version of ed. More information on red can be found here: https://www.computerhope.com/unix/ued.htm
21 lines
314 B
Markdown
21 lines
314 B
Markdown
---
|
|
description: Short for "restricted ed".
|
|
functions:
|
|
execute-interactive:
|
|
- code: |
|
|
red
|
|
!/bin/sh
|
|
file-write:
|
|
- code: |
|
|
red file_to_write
|
|
w
|
|
sudo-enabled:
|
|
- code: |
|
|
sudo red
|
|
!/bin/sh
|
|
suid-limited:
|
|
- code: |
|
|
./red
|
|
!/bin/sh
|
|
---
|