MCPcopy Create free account
hub / github.com/blacklanternsecurity/bbot / DummyModule

Class DummyModule

bbot/test/test_step_1/test_manager_scope_accuracy.py:66–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 server_33.expect_request(uri="/").respond_with_data(response_data="<a href='http://127.0.0.55:8888'/>")
65
66 class DummyModule(BaseModule):
67 _name = "dummy_module"
68 watched_events = ["*"]
69 scope_distance_modifier = 10
70 accept_dupes = True
71
72 async def setup(self):
73 self.events = []
74 return True
75
76 async def handle_event(self, event):
77 self.events.append(event)
78
79 class DummyModuleNoDupes(DummyModule):
80 accept_dupes = False

Callers 2

do_scanFunction · 0.70

Calls

no outgoing calls

Tested by 2

do_scanFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…