Handle request for recent logs
()
| 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}' |
nothing calls this directly
no test coverage detected