mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-27 07:18:48 +01:00
24 lines
700 B
Markdown
24 lines
700 B
Markdown
---
|
|
functions:
|
|
file-read:
|
|
- description: The read file content is corrupted by randomizing the order of NUL terminated strings.
|
|
code: |
|
|
LFILE=file_to_read
|
|
shuf -z "$LFILE"
|
|
file-write:
|
|
- description: The written file content is corrupted by adding a newline.
|
|
code: |
|
|
LFILE=file_to_write
|
|
shuf -e DATA -o "$LFILE"
|
|
suid:
|
|
- description: The written file content is corrupted by adding a newline.
|
|
code: |
|
|
LFILE=file_to_write
|
|
./shuf -e DATA -o "$LFILE"
|
|
sudo:
|
|
- description: The written file content is corrupted by adding a newline.
|
|
code: |
|
|
LFILE=file_to_write
|
|
sudo shuf -e DATA -o "$LFILE"
|
|
---
|