GithubHelp home page GithubHelp logo

3r4y / dbggpt Goto Github PK

View Code? Open in Web Editor NEW
19.0 2.0 5.0 248 KB

๐Ÿ€ DbgGPT - my first basic x64dbg/openai plugin

License: MIT License

CMake 2.98% C++ 96.77% C 0.25%
chatgpt cpp debugger disassembler gpt-35-turbo openai openai-cpp windows x64 x64dbg

dbggpt's Introduction

DbgGPT

DbgGPT

DbgGPT is an open source x64dbg plugin.

I wanted to code a plugin for x64dbg. I wanted it to be simple. I combined it with chatgpt.. it doesn't have much purpose but if you combine it with snowman plugin it will be great. like Gepetto.

! I'm using it for snowman plugin right now but I will share later.. still not perfect !

maybe i will add it later ๐Ÿ˜ฌ

  • There may be some new things that I can add depending on the status of the project. For example, it can explain the pseudocode produced by integrating with the snowman plugin.
  • It can generate attack codes related to selected areas.

๐Ÿ›  Features

  • explain selected assembly area

Setup

cmake -B build64 -A x64
cmake --build build64 --config Release

There are some things you need to pay attention to in the project. If the selected area is large, ChatGPT will not respond, for this you need to increase the MAX_TOKENS value.

const auto OPENAI_KEY = "OPENAI_API_KEY";//https://platform.openai.com/account/api-keys
const json openaiRequest = {
        {"model", "gpt-3.5-turbo"},
        {"messages", json::array({{{"role", "user"},
                                   {"content", openaiRequestContent}}})},
        {"max_tokens", 300},// If the selected area is large, ChatGPT will not respond, for this you need to increase the MAX_TOKENS value.
        {"temperature", 0}};

Screenshots

example

๐Ÿ’ก Credits

dbggpt's People

Contributors

3r4y avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.