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