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:
|
||||
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:
|
||||
- code: |
|
||||
- description: The written file content is corrupted by adding a newline.
|
||||
code: |
|
||||
LFILE=file_to_write
|
||||
shuf -e DATA -o "$LFILE"
|
||||
suid:
|
||||
- code: |
|
||||
- description: The written file content is corrupted by adding a newline.
|
||||
code: |
|
||||
LFILE=file_to_write
|
||||
./shuf -e DATA -o "$LFILE"
|
||||
sudo:
|
||||
- code: |
|
||||
sudo:
|
||||
- description: The written file content is corrupted by adding a newline.
|
||||
code: |
|
||||
LFILE=file_to_write
|
||||
sudo shuf -e DATA -o "$LFILE"
|
||||
---
|
||||
|
Loading…
Reference in New Issue
Block a user