From 02f05044dc202d5bc178ed8855391d042ca64968 Mon Sep 17 00:00:00 2001 From: Kevin Date: Thu, 29 Jan 2026 19:11:46 +0100 Subject: [PATCH 1/2] feat: add vt logo to plugin manager --- ida-plugin.json | 1 + 1 file changed, 1 insertion(+) diff --git a/ida-plugin.json b/ida-plugin.json index c4fcecb..fd345a2 100644 --- a/ida-plugin.json +++ b/ida-plugin.json @@ -7,6 +7,7 @@ "idaVersions": ">=8", "description": "Integrates VirusTotal's powerful analysis capabilities directly into your reverse engineering workflow.", "license": "Apache 2.0", + "logoPath": "plugin/virustotal/vt_ida/ui/resources/vt_logo.png", "categories": [ "ui-ux-and-visualization", "integration-with-third-parties-interoperability" From fdf3af0fb5f9e37349ce8a254f73894249a3439a Mon Sep 17 00:00:00 2001 From: Kevin Date: Thu, 29 Jan 2026 21:15:28 +0100 Subject: [PATCH 2/2] feat: support ida_settings --- ida-plugin.json | 21 ++++++++++++++++++++- plugin/virustotal/config.py | 12 ++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/ida-plugin.json b/ida-plugin.json index fd345a2..bbc0030 100644 --- a/ida-plugin.json +++ b/ida-plugin.json @@ -25,6 +25,25 @@ "authors": [{ "name": "Gerardo Fernandez", "email": "gerardofn@virustotal.com" - }] + }], + "settings": [ + { + "name": "VirusTotal Api Key", + "key": "api_key", + "title": "VirusTotal API Key for Code Insight", + "type": "string", + "required": false, + "documentation": "Your VirusTotal API key is required to access Code Insight features. You can obtain an API key by creating a free account on VirusTotal's website." + }, + { + "name": "Enable Debug Mode", + "key": "debug", + "title": "Enable Debug Mode", + "type": "boolean", + "default": false, + "required": false, + "documentation": "Enable debug mode to log detailed information for troubleshooting purposes." + } + ] } } diff --git a/plugin/virustotal/config.py b/plugin/virustotal/config.py index 0931e56..4562a69 100644 --- a/plugin/virustotal/config.py +++ b/plugin/virustotal/config.py @@ -4,3 +4,15 @@ API_KEY = '' # Mandatory for CodeInsight DEBUG = False +try: + import ida_settings + + vt_api_key = ida_settings.get_current_plugin_setting("api_key") + if vt_api_key: + API_KEY = vt_api_key + + vt_debug = ida_settings.get_current_plugin_setting("debug") + if vt_debug is not None: + DEBUG = bool(vt_debug) +except: + pass \ No newline at end of file