This commit is contained in:
tirefire 2021-08-18 12:10:58 +00:00 committed by GitHub
parent 508f493cd1
commit f4914f6dcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

16
_gtfobins/tic.md Normal file
View File

@ -0,0 +1,16 @@
---
description: The tic command translates a terminfo file from source format into compiled format. It will attempt to translate an arbitrary file and output the contents of the file on failure, so this may not be suitable to read arbitrary binary data.
functions:
file-read:
- code: |
LFILE=file_to_read
tic -C "$LFILE"
suid:
- code: |
LFILE=file_to_read
./tic -C "$LFILE"
sudo:
- code: |
LFILE=file_to_read
sudo tic -C "$LFILE"
---