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

Function handle_log_request

webapp_modern.py:14427–14433  ·  view source on GitHub ↗

Handle request for recent logs

()

Source from the content-addressed store, hash-verified

14425 # 1. Evil twin detection — same SSID as ours, different BSSID
14426 if own_ssid and ssid == own_ssid and bssid != own_bssid and own_bssid:
14427 key = f'evil_twin_{bssid}'
14428 if key not in seen:
14429 seen.add(key)
14430 findings.append({
14431 'type': 'Evil Twin',
14432 'severity': 'critical',
14433 'ssid': ssid,
14434 'bssid': bssid,
14435 'signal': signal,
14436 'description': f'AP impersonating your network "{ssid}" with different BSSID {bssid}'

Callers

nothing calls this directly

Calls 2

get_recent_logsFunction · 0.85
errorMethod · 0.80

Tested by

no test coverage detected