mirror of
				https://github.com/GTFOBins/GTFOBins.github.io
				synced 2025-11-04 02:38:43 +01:00 
			
		
		
		
	Fix gimp file write
This commit is contained in:
		@@ -38,7 +38,6 @@ functions:
 | 
			
		||||
        r.urlretrieve(e["URL"], e["LFILE"])'
 | 
			
		||||
  file-write:
 | 
			
		||||
    - code: |
 | 
			
		||||
        LFILE=file_to_write
 | 
			
		||||
        gimp -idf --batch-interpreter=python-fu-eval -b 'open("file_to_write", "wb").write("DATA")'
 | 
			
		||||
  file-read:
 | 
			
		||||
    - code: gimp -idf --batch-interpreter=python-fu-eval -b 'print(open("file_to_read").read())'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user