MCPcopy Create free account
hub / github.com/aboutcode-org/vulnerablecode / exploit

Function exploit

vulnerabilities/tests/test_risk.py:52–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50
51@pytest.fixture
52def exploit():
53 vul = Vulnerability(vulnerability_id="VCID-Exploit")
54 vul.save()
55 return Exploit.objects.create(vulnerability=vul, description="exploit description")
56
57
58@pytest.fixture

Callers

nothing calls this directly

Calls 3

VulnerabilityClass · 0.90
saveMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected