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" +---