diff options
| author | Camille Mougey <commial@gmail.com> | 2016-07-11 10:53:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-11 10:53:12 +0200 |
| commit | 124b553dde4a336641b20c3630da9e9a73b86c75 (patch) | |
| tree | ac9aa06fa84b780f35766f1fdbcefa46baf6d325 | |
| parent | 9165fa1768814f251fe72884f9ffeb1cb2454b94 (diff) | |
| parent | a60e8c9b48dd5b457a287246c41bda116dec75d3 (diff) | |
| download | miasm-124b553dde4a336641b20c3630da9e9a73b86c75.tar.gz miasm-124b553dde4a336641b20c3630da9e9a73b86c75.zip | |
Merge pull request #393 from serpilliere/udpt_elfesteem_api
Example: updt elfesteem api
| -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: |