Skip to content

Add an optional link between mquery results and mwdb - #459

Open
dev-cti wants to merge 1 commit into
CERT-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 into
CERT-Polska:masterfrom
dev-cti:feature/mwdb_link

Conversation

@dev-cti

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

Copy link
Copy Markdown

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

@msm-code

msm-code commented Apr 7, 2026

Copy link
Copy Markdown

Hi,
thanks for your PR. I'll review it shortly.

There is currently no way to switch between mquery results and mwdb

We used to have an internal plugin that worked around that. But that was not very polished and relied on a small hack that is now not necessary. I think that the idea behind this PR is good - thanks for sending again and I'll get back to you soon.

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.

3 participants