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
- Host: GitHub
- URL: https://github.com/0xh3xa/ghidra_scripts
- Owner: 0xh3xa
- Created: 2024-06-08T17:33:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-08T23:58:28.000Z (almost 2 years ago)
- Last Synced: 2024-07-09T03:59:56.947Z (almost 2 years ago)
- Topics: automation, ghidra, ghidra-headless, ghidra-scripts
- Language: Java
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```