Add requires_capture_bus attribute to BaseModule and passive modules
- BaseModule now has requires_capture_bus = False default - All 17 passive modules set requires_capture_bus = True - bigbrother.py imports CaptureBus from core.capture_bus - Ready for Engine to instantiate and inject CaptureBus
This commit is contained in:
@@ -110,6 +110,7 @@ class DBInterceptor(BaseModule):
|
||||
|
||||
bpf = "port 1433 or port 3306 or port 5432 or port 6379 or port 27017"
|
||||
self._sub_queue = self._capture_bus.subscribe(
|
||||
requires_capture_bus = True
|
||||
name=self.name, bpf_filter=bpf, queue_depth=5000
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user