mandiant / mandiant/capa

fixtures: add function to resolve sample shortened name by MD5

Open
#1,743 13 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted usability
Dominant language
Python
Stars
6.2k
Forks
726
Avg merge
11d 11h
Merged PRs (30d)
7

Description

Ok so it looks like we need the opposite of `fixtures.get_sample_md5_by_name` e.g. `fixtures.get_sample_short_name_by_md5` or the like. Let's leave this code as-is for now and I'll open a separate issue to update the fixtures.

_Originally posted by @mike-hunhoff in https://github.com/mandiant/capa/pull/1727#discussion_r1300208729_

Contributor guide

Open the contributing guide

Research direction

Start by locating fixtures.get_sample_md5_by_name and inspect how sample names and MD5 values are represented. Add the corresponding lookup from an MD5 to a sample's shortened name, with naming consistent with the existing helper. Done means callers can resolve a sample shortened name from its MD5.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.