diff --git a/pwnagotchi/agent.py b/pwnagotchi/agent.py index 490389d3..675c0a83 100644 --- a/pwnagotchi/agent.py +++ b/pwnagotchi/agent.py @@ -184,7 +184,7 @@ def get_access_points(self): for ap in s['wifi']['aps']: if ap['encryption'] == '' or ap['encryption'] == 'OPEN': continue - elif ap['hostname'] in whitelist or ap['mac'].lower() in whitelist: + elif ap['hostname'] in whitelist or ap['mac'][:13].lower() in whitelist: continue elif ap['hostname'] not in whitelist \ and ap['mac'].lower() not in whitelist \