Cisco-Talos / DynDataResolver

221 stars 29 forks source link

Fix bug "Error executing command" in "Create x64dbg script with bp at marked address" feature because of redundant "L" in addresses for x64dbg script #4

Closed trietptm closed 3 years ago

trietptm commented 4 years ago

Fix bug "Error executing command" in "Create x64dbg script with bp at marked address" feature because of redundant "L" in addresses for x64dbg script.

Snap 2020-06-23 at 00 46 26

Snap 2020-06-23 at 00 46 41

Snap 2020-06-23 at 00 46 53

Another way to solve this problem is stripping the "L" character from the addresses in the file ddr_server.py by replacing 2 lines:

breakaddr     = json_content['other']['breakaddr']
org_imagebase = json_content['other']['imagebase']

with these 2 lines and vice versa for other addresses:

breakaddr     = json_content['other']['breakaddr'].strip('L')
org_imagebase = json_content['other']['imagebase'].strip('L')