GTFOBins.github.io/_gtfobins/shuf.md
2018-10-05 18:55:38 +01:00

17 lines
356 B
Markdown

---
description: The read file content is corrupted by adding a newline.
functions:
file-write:
- code: |
LFILE=file_to_write
shuf -e DATA -o "$LFILE"
suid:
- code: |
LFILE=file_to_write
./shuf -e DATA -o "$LFILE"
sudo:
- code: |
LFILE=file_to_write
sudo shuf -e DATA -o "$LFILE"
---