MCPcopy Create free account
hub / github.com/TheSecuredAnalyst/security-suite / lookup

Function lookup

modules/exploit_engine/cve_module_map.py:426–428  ·  view source on GitHub ↗

Return the MSFModuleRef for a CVE ID (case-insensitive).

(cve_id: str)

Source from the content-addressed store, hash-verified

424
425
426def lookup(cve_id: str) -> MSFModuleRef | None:
427 """Return the MSFModuleRef for a CVE ID (case-insensitive)."""
428 return CVE_MODULE_MAP.get(cve_id.upper())
429
430
431

Callers 2

check_cveMethod · 0.90
exploit_liveMethod · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected