MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / run_targeted_arp_scan

Function run_targeted_arp_scan

webapp_modern.py:1905–1923  ·  view source on GitHub ↗
(ip, interface=DEFAULT_ARP_SCAN_INTERFACE)

Source from the content-addressed store, hash-verified

1903# ==========================================================================
1904
1905_watchtower_lock = threading.Lock()
1906_watchtower = None # lazy watchtower.Watchtower instance
1907_wt_seen = {} # pushover dedup: key -> {'rank', 'ts'}
1908_wt_seen_loaded = False
1909_wt_summary = {'enabled': False, 'ts': None, 'total': 0}
1910
1911# Cross-signal correlation: fold the same normalized alert stream into
1912# attack-chain *incidents* (see incident_engine.py). Paged once per incident when
1913# it first becomes a named campaign or escalates.
1914_incident_engine = None
1915_inc_notified = {} # incident id -> {'pattern', 'severity'}
1916_incidents_summary = {'total': 0, 'named': 0}
1917
1918
1919def _inc_get():
1920 global _incident_engine
1921 if _incident_engine is None:
1922 import incident_engine as _ie
1923 try:
1924 window = float(shared_data.config.get('incident_window_s', 600))
1925 except (TypeError, ValueError):
1926 window = 600.0

Callers 1

scan_host_backgroundFunction · 0.85

Calls 6

_parse_arp_scan_outputFunction · 0.85
infoMethod · 0.80
warningMethod · 0.80
errorMethod · 0.80
runMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected