1
0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-09-16 17:01:38 +02:00
GTFOBins.github.io/_gtfobins/whiptail.md

17 lines
466 B
Markdown
Raw Permalink Normal View History

---
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
---