Binoculars-IDA pro AI插件
本帖最后由 Vis-Wing 于 2024-7-17 10:28 编辑朋友们,我写了一个IDA AI插件,欢迎各位朋友试用呀,有什么问题和需求可以提给我呀
地址:https://github.com/Vis-Wing/Binoculars
How to Get Started
[*]Register the package in the requirements.txt file.
[*]Move the Binoculars folder and Binoculars.py file to the IDA plugins folder.
[*]Fill in the API KEY and the default model to be used in the config.ini file, for example {"GPT360":"360gpt2-pro"}.
[*]Open IDA pro, use the ALT+Q shortcut key to open Binoculars or find Binoculars in the Edit/Plugins path of IDA pro.
[*]Next you can use Binoculars.Type your query or request in the input field and click Send or press Enter.You can chat with it or perform specific functions.
[*]Of course, you can also use the right mouse button to find the Binoculars switch model.
hat Binoculars Can Do
[*]You can chat with Binoculars to get information without having to frequently browse the browser.
[*]You can use Binoculars shortcuts to analyze function functionality or rename variables.
[*]You can use Binoculars built-in commands to perform some functions, and of course you can write more functions to Binoculars to make Binoculars more powerful.
mscsky 发表于 2024-7-18 10:01
能不能用本地api 比如ollama
我有考虑,不过ollama本地模型微调能真正有作用的得7B,返回结果会很慢。
我会尝试加一个这样的功能,敬请期待。 论坛下载的8.3绿色版本可以跑起来,刚试了
装上必须的4个python库
D:\Program Files\IDA_Pro_v8.3_Portable\python311>python -m pip install httpx
D:\Program Files\IDA_Pro_v8.3_Portable\python311>python -m pip install openai
D:\Program Files\IDA_Pro_v8.3_Portable\python311>python -m pip install PyQt5
D:\Program Files\IDA_Pro_v8.3_Portable\python311>python -m pip install configparser
----------------------------------------------
配置好config.ini文件
default_model = {'GPT360': '360gpt2-pro'}
base_url = https://api.360.cn/v1/chat/completions
api_key = 你自己在360申请的APIkey
gpt360_proxy =
base_url =
api_key =
openai_proxy =
base_url =
api_key =
claude_proxy =
-----------------------------------------------------
然后在\IDA_Pro_v8.3_Portable\plugins\Binoculars\models目录修改gpt360.py文件第22行成
response = httpx.post(self.base_url, headers=self.headers, data=json.dumps(payload), timeout=120.0)
保存
----------------------------------------------------
完工,可以用了。
非常好用,谢谢分享 感谢分享 嗷,若是能自动分析内在代码逻辑就好了 厉害了 牛 这个好,支持一下 厉害了我的楼主 楼主威武,收藏了! 路过学习一下。 Henglie 发表于 2024-7-17 12:16
嗷,若是能自动分析内在代码逻辑就好了
好的呀,我尝试写一下,敬请期待