1
0
Fork 0
mirror of https://github.com/GTFOBins/GTFOBins.github.io.git synced 2024-05-24 00:06:03 +02:00

Add exiftool

This commit is contained in:
ritiksahni 2021-01-09 19:33:35 +05:30 committed by GitHub
parent 89b421863f
commit 9069b0c903
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

21
_gtfobins/exiftool.md Normal file
View File

@ -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
---