mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
remove blind bug, as its not a blind bug anymore.
delayed hopping channels by .2 seconds to give firmware time to get ready for hopping.
This commit is contained in:
@ -51,6 +51,7 @@ def pwnagotchi_cli():
|
||||
agent.mode = 'auto'
|
||||
agent.start()
|
||||
config = agent.config()
|
||||
session = agent.session()
|
||||
|
||||
while True:
|
||||
try:
|
||||
@ -60,6 +61,7 @@ def pwnagotchi_cli():
|
||||
channels = agent.get_access_points_by_channel()
|
||||
# for each channel
|
||||
for ch, aps in channels:
|
||||
time.sleep(0.2) # This is to make sure it doesn't error (https://github.com/seemoo-lab/nexmon/issues/596)
|
||||
agent.set_channel(ch)
|
||||
|
||||
if not agent.is_stale() and agent.any_activity():
|
||||
|
Reference in New Issue
Block a user