diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-07-11 09:26:49 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2016-07-11 09:26:49 +0200 |
| commit | a60e8c9b48dd5b457a287246c41bda116dec75d3 (patch) | |
| tree | ac9aa06fa84b780f35766f1fdbcefa46baf6d325 /example | |
| parent | 9165fa1768814f251fe72884f9ffeb1cb2454b94 (diff) | |
| download | miasm-a60e8c9b48dd5b457a287246c41bda116dec75d3.tar.gz miasm-a60e8c9b48dd5b457a287246c41bda116dec75d3.zip | |
Example: updt elfesteem api
Diffstat (limited to 'example')
| -rw-r--r-- | example/asm/shellcode.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |