mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Fix gimp file write
This commit is contained in:
parent
9180d550e7
commit
69b8eb1056
@ -38,7 +38,6 @@ functions:
|
|||||||
r.urlretrieve(e["URL"], e["LFILE"])'
|
r.urlretrieve(e["URL"], e["LFILE"])'
|
||||||
file-write:
|
file-write:
|
||||||
- code: |
|
- code: |
|
||||||
LFILE=file_to_write
|
|
||||||
gimp -idf --batch-interpreter=python-fu-eval -b 'open("file_to_write", "wb").write("DATA")'
|
gimp -idf --batch-interpreter=python-fu-eval -b 'open("file_to_write", "wb").write("DATA")'
|
||||||
file-read:
|
file-read:
|
||||||
- code: gimp -idf --batch-interpreter=python-fu-eval -b 'print(open("file_to_read").read())'
|
- code: gimp -idf --batch-interpreter=python-fu-eval -b 'print(open("file_to_read").read())'
|
||||||
|
Loading…
Reference in New Issue
Block a user