From 9069b0c903a7d45fa4a4fbcf3dd13d115f43ce87 Mon Sep 17 00:00:00 2001 From: ritiksahni <58897439+ritiksahni@users.noreply.github.com> Date: Sat, 9 Jan 2021 19:33:35 +0530 Subject: [PATCH] Add exiftool --- _gtfobins/exiftool.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 _gtfobins/exiftool.md diff --git a/_gtfobins/exiftool.md b/_gtfobins/exiftool.md new file mode 100644 index 0000000..6dfa379 --- /dev/null +++ b/_gtfobins/exiftool.md @@ -0,0 +1,21 @@ +--- +description: | + If the permissions allow it, files are moved (instead of copied) to the destination. +functions: + file-read: + - code: | + LFILE=file_to_read + OUTPUT=output_file + exiftool -filename=$OUTPUT $LFILE + cat $OUTPUT + file-write: + - code: | + LFILE=file_to_write + INPUT=input_file + exiftool -filename=$LFILE $INPUT + sudo: + - code: | + LFILE=file_to_write + INPUT=input_file + sudo exiftool -filename=$LFILE $INPUT +---