From 204f72baee885f7f011b75797b3e2b816a5af5ec Mon Sep 17 00:00:00 2001 From: serpilliere Date: Thu, 11 Aug 2011 13:18:06 +0200 Subject: fix api in sandbox pe --- example/sandbox_pe.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'example') diff --git a/example/sandbox_pe.py b/example/sandbox_pe.py index d76acd01..4c1e9b17 100644 --- a/example/sandbox_pe.py +++ b/example/sandbox_pe.py @@ -38,7 +38,8 @@ if filename and os.path.isfile(filename): execfile(filename) -runtime_dll, dll_dyn_funcs = preload_lib(e, patch_vm_imp = True, lib_base_ad = 0x7c811111) +runtime_dll = libimp(0x71111111) +dll_dyn_funcs = preload_lib(e, runtime_dll) # set winapi to ours win_api.runtime_dll = runtime_dll win_api.current_pe = e -- cgit 1.4.1