mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add whiptail
Co-authored-by: Andrea Cardaci <cyrus.and@gmail.com>
This commit is contained in:
parent
f03907836c
commit
eed609c376
16
_gtfobins/whiptail.md
Normal file
16
_gtfobins/whiptail.md
Normal file
@ -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
|
||||||
|
---
|
Loading…
Reference in New Issue
Block a user