From 1c8c10efbc4be5cf02fc2e3c2a4a7da6767a69c7 Mon Sep 17 00:00:00 2001 From: d4t4s3c Date: Thu, 20 Jan 2022 22:42:22 +0100 Subject: [PATCH] Add ptx Co-authored-by: Andrea Cardaci --- _gtfobins/ptx.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 _gtfobins/ptx.md diff --git a/_gtfobins/ptx.md b/_gtfobins/ptx.md new file mode 100644 index 0000000..5ac665a --- /dev/null +++ b/_gtfobins/ptx.md @@ -0,0 +1,16 @@ +--- +description: While the program is capable of reading the file, it outputs a "permuted index" of its content, thus altering it. Adjusting the options could yield more readable outputs. +functions: + file-read: + - code: | + LFILE=file_to_read + ptx -w 5000 "$LFILE" + suid: + - code: | + LFILE=file_to_read + ./ptx -w 5000 "$LFILE" + sudo: + - code: | + LFILE=file_to_read + sudo ptx -w 5000 "$LFILE" +---