Giter Site home page Giter Site logo

leoid / gpthidra Goto Github PK

View Code? Open in Web Editor NEW

This project forked from evyatar9/gpthidra

0.0 0.0 0.0 4.18 MB

GptHidra is a Ghidra plugin that uses the OpenAI Chat GPT to explain functions. With GptHidra, you can easily understand the purpose and behavior of functions in your codebase.

Python 100.00%

gpthidra's Introduction

GptHidra

GptHidra is a Ghidra plugin that uses the OpenAI Chat GPT to explain functions. With GptHidra, you can easily understand the purpose and behavior of functions in your codebase.

example.gif

Requirements

Installation

  1. Download the GptHidra script GptHidra.py.
  2. Open the Ghidra Script Manager (found in the Tools menu).
  3. Click the New button to create a new script.
  4. Select Python as the language and give the script the name GptHidra.py.
  5. Paste the contents of the GptHidra.py script into the editor window.
  6. Replace API_KEY = '' with your OpenAI Chat GPT API key.
  7. Click the Save button to save the script.

Usage

To use GptHidra, select a function in the Ghidra decompiler and do one of the following:

  1. Press Ctrl + Alt + G (you can edit the script to change this shortcut).

  2. Go to Tools -> GptHidra (you can edit the script to change this menu item).

An explanation of the selected function will be printed to the Ghidra console.

Contact

Telegram: @evyatar9

Discord: evyatar9#5800

Contributing

If you would like to contribute to the GptHidra extension, feel free to submit a pull request or report any issues you encounter on the GptHidra repository.

References

https://ghidra.re/ghidra_docs/api/ghidra/app/decompiler/DecompInterface.html

https://beta.openai.com/docs/

Stargazers over time

Stargazers over time

gpthidra's People

Contributors

evyatar9 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.