about summary refs log tree commit diff stats
path: root/example/jitter/unpack_upx.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2017-04-24 18:16:47 +0200
committerAjax <commial@gmail.com>2017-04-24 18:16:47 +0200
commit9c8869368ccc7ab6d9cf2edda4739d479056df17 (patch)
treef984ba7807e5b1699a46c64019fe618f41c98cde /example/jitter/unpack_upx.py
parent7ce0b4f473b2830ccc4d720455ba62c438e973c0 (diff)
downloadfocaccia-miasm-9c8869368ccc7ab6d9cf2edda4739d479056df17.tar.gz
focaccia-miasm-9c8869368ccc7ab6d9cf2edda4739d479056df17.zip
Remove PYTHONSTARTUP in end-user scripts
Diffstat (limited to 'example/jitter/unpack_upx.py')
-rw-r--r--example/jitter/unpack_upx.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/example/jitter/unpack_upx.py b/example/jitter/unpack_upx.py
index d95c5a18..8160e51b 100644
--- a/example/jitter/unpack_upx.py
+++ b/example/jitter/unpack_upx.py
@@ -4,12 +4,6 @@ from pdb import pm
 from elfesteem import pe
 from miasm2.analysis.sandbox import Sandbox_Win_x86_32
 
-
-filename = os.environ.get('PYTHONSTARTUP')
-if filename and os.path.isfile(filename):
-    execfile(filename)
-
-
 # User defined methods
 
 def kernel32_GetProcAddress(jitter):