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"