Skip to content

3r4y/DbgGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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