From 7aa5510f296b57e356598c33baec0a42caf7c287 Mon Sep 17 00:00:00 2001 From: bcoles Date: Sun, 15 Mar 2020 15:23:32 +1100 Subject: [PATCH] Create iconv.md --- _gtfobins/iconv.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 _gtfobins/iconv.md diff --git a/_gtfobins/iconv.md b/_gtfobins/iconv.md new file mode 100644 index 0000000..105f19d --- /dev/null +++ b/_gtfobins/iconv.md @@ -0,0 +1,21 @@ +--- +functions: + file-write: + - description: Write ASCII data to file. + code: | + LFILE=file_to_write + echo "DATA" | inconv -o "$LFILE" + file-read: + - description: Read data from file as UTF-8. + code: | + LFILE=file_to_read + inconv -f UTF8 "$LFILE" + suid: + - code: | + LFILE=file_to_read + ./inconv -f UTF8 "$LFILE" + sudo: + - code: | + LFILE=file_to_read + sudo inconv -f UTF8 "$LFILE" +---