An open API service indexing awesome lists of open source software.

https://github.com/0xh3xa/ghidra_scripts

Ghidra headless scripts for automated disassembly and different utilities
https://github.com/0xh3xa/ghidra_scripts

automation ghidra ghidra-headless ghidra-scripts

Last synced: about 1 year ago
JSON representation

Ghidra headless scripts for automated disassembly and different utilities

Awesome Lists containing this project

README

          

# Ghidra - Scripts (Java)

Ghidra scripts in Java for disassembly.

### Headless Analyzer

The headless analyzer is used to automate the process of analysis, decompiled, disassembly, etc.

### Headless Analyzer Arguments

The arguments of the headless analyzer could be found in link

analyzeHeadless [/] | ghidra://[:]/[/]
[[-import [|]+] | [-process []]]
[-preScript []*]
[-postScript []*]
[-scriptPath "[;...]"]
[-propertiesPath "[;...]"]
[-scriptlog ]
[-log ]
[-overwrite]
[-recursive]
[-readOnly]
[-deleteProject]
[-noanalysis]
[-processor ]
[-cspec ]
[-analysisTimeoutPerFile ]
[-keystore ]
[-connect []]
[-p]
[-commit [""]]
[-okToDelete]
[-max-cpu ]
[-loader ]

### Examples

```
$ analyzeHeadless -import -scriptPath -postScript
```

You can find the analyzerheadless in the in Linux in `/opt/ghidra/support/analyzeHeadless`, usage

```
/opt/ghidra/support/analyzeHeadless ~/test-project disassemble -import /home/user/reverse/binaries -postScript ~/ghidra_scripts/PE_TO_ASSEMBLY.java
```