DbgGPT
1.0.0

DBGGPT是开源X64DBG插件。
我想为X64DBG编码一个插件。我希望它很简单。我将其与chatgpt结合在一起。它没有太大的目的,但是如果您将其与雪人插件结合使用,那就太好了。像Gepetto。
cmake -B build64 -A x64
cmake --build build64 --config Release
您需要在项目中注意一些事情。如果所选区域很大,则Chatgpt不会响应,为此,您需要增加MAX_TOKENS 。
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 }};