Skip to content

ghidralyzer is a script that automates the process of creating a project, importing and analyzing a binary in Ghidra from the command line.

Notifications You must be signed in to change notification settings

samaellovecraft/ghidralyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

ghidralyzer

ghidralyzer is a script that automates the process of creating a project, importing and analyzing a binary in Ghidra from the command line. If the provided target is a project file (.gpr), it will simply load the existing project.

Features

  • Cross-platform
  • No external dependencies
  • Supports creating a temporary project

Usage

Specify the GHIDRA_PATH:

GHIDRA_PATH = '/path/to/ghidra_11.0.3_PUBLIC' # CHANGE THIS

Create a project in the target path, import and analyze a binary:

python3 ghidralyzer.py /path/to/binary

Create a temporary project in the TEMP_DIR, import and analyze a binary:

python3 ghidralyzer.py /path/to/binary --temp

Load an existing project:

python3 ghidralyzer.py /path/to/project.gpr

Special Thanks

  • liba2k - inspiration and code reference

About

ghidralyzer is a script that automates the process of creating a project, importing and analyzing a binary in Ghidra from the command line.

Topics

Resources

Stars

Watchers

Forks

Languages