Create dialog.md

This commit is contained in:
bcoles 2020-03-18 05:46:32 +11:00 committed by GitHub
parent 2eadcc4082
commit 5f31fe4292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
_gtfobins/dialog.md Normal file
View File

@ -0,0 +1,16 @@
---
description: The file is shown in an interactive TUI dialog, thus it is not suitable for binary/too big data.
functions:
file-read:
- code: |
LFILE=file_to_read
dialog --textbox "$LFILE" 0 0
suid:
- code: |
LFILE=file_to_read
./dialog --textbox "$LFILE" 0 0
sudo:
- code: |
LFILE=file_to_read
sudo dialog --textbox "$LFILE" 0 0
---