Update build for Pi 5 users

Version 2.7.8
This commit is contained in:
Jeroen Oudshoorn
2024-01-25 15:16:33 +01:00
parent 1594e7c129
commit 1a55afd74a
3 changed files with 45 additions and 24 deletions

View File

@ -50,6 +50,7 @@ def pwnagotchi_cli():
agent.mode = 'auto'
agent.start()
config = agent.config()
while True:
try:
@ -66,6 +67,9 @@ def pwnagotchi_cli():
# for each ap on this channel
for ap in aps:
if ap['mac'][:13].lower in config['main']['whitelist'] or ap['hostname'] in config['main']['whitelist']:
logging.info(f"Found your MAC address {ap['mac']} - {config['main']['whitelist']}")
continue
# send an association frame in order to get for a PMKID
agent.associate(ap)
# deauth all client stations in order to get a full handshake