Bayazee wrote:
> hi,ThanX
> but i dont want to save the exe file in temp file and run it . i want
> to run it directly from python . maybe such this :
> exec("file("test.exe","rw").read())")
> i want write a cd lock with python tp protect an binary file . and so i
> dont want save it in other temp
In article <[EMAIL PROTECTED]>,
Bayazee <[EMAIL PROTECTED]> wrote:
>hi,ThanX
>but i dont want to save the exe file in temp file and run it . i want
>to run it directly from python . maybe such this :
>exec("file("test.exe","rw").read())")
>i want write a cd lock with python tp protect an binary fil
hi,ThanX
but i dont want to save the exe file in temp file and run it . i want
to run it directly from python . maybe such this :
exec("file("test.exe","rw").read())")
i want write a cd lock with python tp protect an binary file . and so i
dont want save it in other temp file fom max security
Hi!
This script :
import base64
data=open("D:\\toto.exe","rb").read()
data64='''import base64,os
data="""'''+base64.b64encode(data)+'''"""
f=open(r"C:\\temporaire.exe","wb").write(base64.b64decode(data))
os.system(r"C:\\temporaire.exe")
'''
f=open("64exe.py","w").