From a60e8c9b48dd5b457a287246c41bda116dec75d3 Mon Sep 17 00:00:00 2001 From: Fabrice Desclaux Date: Mon, 11 Jul 2016 09:26:49 +0200 Subject: Example: updt elfesteem api --- example/asm/shellcode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/asm/shellcode.py') diff --git a/example/asm/shellcode.py b/example/asm/shellcode.py index 11cf9a4d..f31c88c2 100644 --- a/example/asm/shellcode.py +++ b/example/asm/shellcode.py @@ -71,7 +71,7 @@ symbol_pool.set_offset(symbol_pool.getby_name("main"), addr_main) if args.PE: symbol_pool.set_offset(symbol_pool.getby_name_create("MessageBoxA"), - pe.DirImport.get_funcvirt('MessageBoxA')) + pe.DirImport.get_funcvirt('USER32.dll', 'MessageBoxA')) # Print and graph firsts blocs before patching it for bloc in blocs: -- cgit 1.4.1