1
0
Fork 0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-06-19 10:09:17 +02:00
GTFOBins.github.io/_gtfobins/shuf.md
2020-03-17 19:22:50 +01:00

700 B

functions
file-read file-write suid sudo
description code
The read file content is corrupted by randomizing the order of NUL terminated strings. LFILE=file_to_read shuf -z "$LFILE"
description code
The written file content is corrupted by adding a newline. LFILE=file_to_write shuf -e DATA -o "$LFILE"
description code
The written file content is corrupted by adding a newline. LFILE=file_to_write ./shuf -e DATA -o "$LFILE"
description code
The written file content is corrupted by adding a newline. LFILE=file_to_write sudo shuf -e DATA -o "$LFILE"