mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-15 00:01:45 +01:00
Add fmt, fold, sed
This commit is contained in:
parent
4aa87be402
commit
710148098e
17
_gtfobins/fmt.md
Normal file
17
_gtfobins/fmt.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
description: |
|
||||||
|
The read file content is not binary-safe.
|
||||||
|
functions:
|
||||||
|
sudo-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
sudo fmt -pNON_EXISTING_PREFIX "$LFILE"
|
||||||
|
suid-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
./fmt -pNON_EXISTING_PREFIX "$LFILE"
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
fmt -pNON_EXISTING_PREFIX "$LFILE"
|
||||||
|
---
|
15
_gtfobins/fold.md
Normal file
15
_gtfobins/fold.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
functions:
|
||||||
|
sudo-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
sudo fold -w99999999 "$LFILE"
|
||||||
|
suid-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
./fold -w99999999 "$LFILE"
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
fold -w99999999 "$LFILE"
|
||||||
|
---
|
15
_gtfobins/sed.md
Normal file
15
_gtfobins/sed.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
functions:
|
||||||
|
sudo-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
sudo sed -e '' "$LFILE"
|
||||||
|
suid-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
./sed -e '' "$LFILE"
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
sed -e '' "$LFILE"
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user