From eed609c376193e95733268a95caac537863ab8ef Mon Sep 17 00:00:00 2001 From: LinuxSploit <68427058+LinuxSploit@users.noreply.github.com> Date: Sat, 11 Sep 2021 13:05:44 +0500 Subject: [PATCH] Add whiptail Co-authored-by: Andrea Cardaci --- _gtfobins/whiptail.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 _gtfobins/whiptail.md diff --git a/_gtfobins/whiptail.md b/_gtfobins/whiptail.md new file mode 100644 index 0000000..eb3cdc9 --- /dev/null +++ b/_gtfobins/whiptail.md @@ -0,0 +1,16 @@ +--- +description: The file is shown in an interactive TUI dialog made for displaying text, arrows can be used to scroll long content. +functions: + file-read: + - code: | + LFILE=file_to_read + whiptail --textbox --scrolltext "$LFILE" 0 0 + suid: + - code: | + LFILE=file_to_read + ./whiptail --textbox --scrolltext "$LFILE" 0 0 + sudo: + - code: | + LFILE=file_to_read + sudo whiptail --textbox --scrolltext "$LFILE" 0 0 +---