mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 06:19:27 +01:00
Add exiftool
This commit is contained in:
parent
89b421863f
commit
9069b0c903
21
_gtfobins/exiftool.md
Normal file
21
_gtfobins/exiftool.md
Normal 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
|
||||
---
|
Loading…
Reference in New Issue
Block a user