diff --git a/_gtfobins/sort.md b/_gtfobins/sort.md new file mode 100644 index 0000000..26fbc0d --- /dev/null +++ b/_gtfobins/sort.md @@ -0,0 +1,16 @@ +--- +description: The read file content is corrupted by being sorted. +functions: + sudo-enabled: + - code: | + LFILE=file_to_read + sudo sort "$LFILE" + suid-enabled: + - code: | + LFILE=file_to_read + ./sort "$LFILE" + file-read: + - code: | + LFILE=file_to_read + sort "$LFILE" +--- diff --git a/_gtfobins/ul.md b/_gtfobins/ul.md new file mode 100644 index 0000000..f139d6d --- /dev/null +++ b/_gtfobins/ul.md @@ -0,0 +1,16 @@ +--- +description: The read file content is corrupted by replacing the occurrences of underscores to terminal sequences. +functions: + sudo-enabled: + - code: | + LFILE=file_to_read + sudo ul "$LFILE" + suid-enabled: + - code: | + LFILE=file_to_read + ./ul "$LFILE" + file-read: + - code: | + LFILE=file_to_read + ul "$LFILE" +--- diff --git a/_gtfobins/uniq.md b/_gtfobins/uniq.md new file mode 100644 index 0000000..5bd5df1 --- /dev/null +++ b/_gtfobins/uniq.md @@ -0,0 +1,16 @@ +--- +description: The read file content is corrupted by squashing multiple adjacent lines. +functions: + sudo-enabled: + - code: | + LFILE=file_to_read + sudo uniq "$LFILE" + suid-enabled: + - code: | + LFILE=file_to_read + ./uniq "$LFILE" + file-read: + - code: | + LFILE=file_to_read + uniq "$LFILE" +---