diff --git a/_gtfobins/shuf.md b/_gtfobins/shuf.md index 606eba7..7b14e74 100644 --- a/_gtfobins/shuf.md +++ b/_gtfobins/shuf.md @@ -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" ---