Skip to content

Add an optional link between mquery results and mwdb#459

Open
dev-cti wants to merge 1 commit intoCERT-Polska:masterfrom
dev-cti:feature/mwdb_link
Open

Add an optional link between mquery results and mwdb#459
dev-cti wants to merge 1 commit intoCERT-Polska:masterfrom
dev-cti:feature/mwdb_link

Conversation

@dev-cti
Copy link

@dev-cti dev-cti commented Mar 6, 2026

Your checklist for this pull request

  • [X ] I've read the contributing guideline.
  • [ X] I've tested my changes by building and running mquery, and testing changed functionality (if applicable)
  • I've added automated tests for my change (if applicable, optional)
  • I've updated documentation to reflect my change (if applicable)

What is the current behaviour?
There is currently no way to switch between mquery results and mwdb
The user has to copy the sample hash and select it in mwdb

What is the new behaviour?
A new option is added to the global Mquery plugin to be able to specify the mwdb instance url.
If this option is set, links are displayed in the mquery results panels. They can be used to switch to mwdb easily.
If this options is not set, the current behaviour is unchanged

Test plan

  • Test 1
  1. Configure the key mwdb_url of Mquery plugin in the config panel (http://localhost:config) with the MWDB base url
  2. Check that yara results are now displayed as links
  3. Check that a new tab with the sample MWDB page is opened on click
  • Test 2
  1. Remove the key mwdb_url of Mquery plugin in the config panel (http://localhost:config) with the MWDB base url
  2. Check that yara results are not displayed as links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants