Update print_suspect_aps to iterate over known APs for suspicious SSID detection
This commit is contained in:
parent
cf3c235415
commit
fc1fdd4423
1 changed files with 2 additions and 1 deletions
|
@ -207,7 +207,8 @@ def print_suspect_aps():
|
|||
keywords = ("setup", "direct-", "hp", "epson", "canon", "brother", "smart", "wifi-", "printer")
|
||||
suspects = []
|
||||
|
||||
for bssid, ssid in ssid_map.items():
|
||||
for bssid in aps:
|
||||
ssid = ssid_map.get(bssid, "<unknown>")
|
||||
flags = []
|
||||
if any(kw in ssid.lower() for kw in keywords):
|
||||
flags.append("Suspicious SSID")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue