Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python save base64 temp file

import tempfile
import subprocess

with tempfile.TemporaryFile(suffix='.exe', delete=False) as tmp:
    tmp.write(EMBEDDED_EXECUTABLE.decode('base64'))
    tmp.close()
    subprocess.Popen(tmp.name)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #save #temp #file
ADD COMMENT
Topic
Name
4+5 =