Coder Social home page Coder Social logo

ghidrallmintegraion's Introduction

About

This is a Ghidra plugin that provides some functions to an OpenAI assistant.

Credit

Credit to reverse-engineering-assistant for the inspiration to move from Ghidra scripts to a full-on Ghidra Module.

Warning

Be careful; you can blow through a few dollars worth of OpenAI API credits pretty quickly with this.

Current LLM Abilities

The current "tools" exposed to the LLM are here.

Example

Here's an example of renaming a function:

Function Rename

How To

User experience is pretty lacking right now. I suggest you install GhidraDev and then open the GhidraLlmIntegration project in Eclipse.

After that, copy GhidraLlmIntegration\src\main\java\ghidrallmintegration\GhidraLlmIntegrationConfigurationExample.java and create GhidraLlmIntegrationConfiguration.java. Generate an API key in the OpenAI control panel and store it in apiKey.

Then, "Run" the project from Eclipse and select the "Ghidra" run configuration. Once Ghidra starts, select the program you want to analyze and open the CodeBrowser. When that window loads, go to File -> Configure and click the Configure hyperlink under the "Examples" section. The GhidraLlmIntegrationPlugin entry will probably not be checked. Check its box and it ok, then close. the chat window should appear, then you can start conversing with the LLM.

Check Eclipse's console output for errors/logs. Feel free to report and/or contribute fixes for any issues.

ghidrallmintegraion's People

Contributors

unkmc avatar

Stargazers

アキラ avatar サイバーかいだ avatar aweNousaku avatar  avatar

Watchers

 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.