mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
Update red.md
This commit is contained in:
parent
76c906d168
commit
9e196ad7f8
@ -1,20 +1,16 @@
|
|||||||
---
|
---
|
||||||
description: Short for "restricted ed".
|
description: Read and write files limited to the current directory.
|
||||||
functions:
|
|
||||||
execute-interactive:
|
|
||||||
- code: |
|
|
||||||
red
|
|
||||||
!/bin/sh
|
|
||||||
file-write:
|
file-write:
|
||||||
- code: |
|
- code: |
|
||||||
red file_to_write
|
red file_to_write
|
||||||
|
a
|
||||||
|
data
|
||||||
|
.
|
||||||
w
|
w
|
||||||
sudo-enabled:
|
q
|
||||||
|
file-read:
|
||||||
- code: |
|
- code: |
|
||||||
sudo red
|
red file_to_read
|
||||||
!/bin/sh
|
,p
|
||||||
suid-limited:
|
q
|
||||||
- code: |
|
|
||||||
./red
|
|
||||||
!/bin/sh
|
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user