Lst2X64Dbg - Extract Labels From IDA .Lst Or Ghidra .Csv File And Export X64Dbg Database

This script extracts all the labels found in the LST file that is given as the script's single argument. An x64dbg database is created in the current directory based on the extracted labels.
The LST file can be generated in IDA from the File menu: Produce file -> Create LST file...

Example
$ python3 lst2x64dbg.py sample.lst

ghidra2x64dbg
This script extracts all the labels found in the CSV file that is given as the script's single argument. An x64dbg database is created in the current directory based on the extracted labels. The imagebase value must be supplied.
The CSV file can be generated in Ghidra from the Window menu by selecting Symbol Table
In the symbol table window that opens, sort the data by the Location column. Then select all symbols that are not external locations. With the desired symbols selected, right click and select: Export -> Export to CSV...


Name this file <module_name>.csv

Example
$ python3 ghidra2x64dbg.py -i 400000 sample.csv
The imagebase value can be found at the very top of the disassembly panel in the CodeBrowser window. It's part of the DOS header.


ToDo
  • Convert to package with console script



Source: feedproxy.google.com
Lst2X64Dbg - Extract Labels From IDA .Lst Or Ghidra .Csv File And Export X64Dbg Database Lst2X64Dbg - Extract Labels From IDA .Lst Or Ghidra .Csv File And Export X64Dbg Database Reviewed by Anonymous on 3:10 PM Rating: 5