mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Update shuf.md
This commit is contained in:
parent
696b9aa173
commit
67a562d2aa
@ -1,16 +1,23 @@
|
|||||||
---
|
---
|
||||||
description: The read file content is corrupted by adding a newline.
|
|
||||||
functions:
|
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:
|
file-write:
|
||||||
- code: |
|
- description: The written file content is corrupted by adding a newline.
|
||||||
|
code: |
|
||||||
LFILE=file_to_write
|
LFILE=file_to_write
|
||||||
shuf -e DATA -o "$LFILE"
|
shuf -e DATA -o "$LFILE"
|
||||||
suid:
|
suid:
|
||||||
- code: |
|
- description: The written file content is corrupted by adding a newline.
|
||||||
|
code: |
|
||||||
LFILE=file_to_write
|
LFILE=file_to_write
|
||||||
./shuf -e DATA -o "$LFILE"
|
./shuf -e DATA -o "$LFILE"
|
||||||
sudo:
|
sudo:
|
||||||
- code: |
|
- description: The written file content is corrupted by adding a newline.
|
||||||
|
code: |
|
||||||
LFILE=file_to_write
|
LFILE=file_to_write
|
||||||
sudo shuf -e DATA -o "$LFILE"
|
sudo shuf -e DATA -o "$LFILE"
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user