mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
fix: fuck me for trusting people's PR without checking 10000 times
This commit is contained in:
@ -67,7 +67,7 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
|
|||||||
|
|
||||||
for tag in self._config['bettercap']['silence']:
|
for tag in self._config['bettercap']['silence']:
|
||||||
try:
|
try:
|
||||||
self.run('events.ignore %s', tag, verbose_errors=False)
|
self.run('events.ignore %s' % tag, verbose_errors=False)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
@ -156,7 +156,7 @@ class Agent(Client, Automata, AsyncAdvertiser, AsyncTrainer):
|
|||||||
else:
|
else:
|
||||||
logging.debug("RECON %ds ON CHANNELS %s", recon_time, ','.join(map(str, channels)))
|
logging.debug("RECON %ds ON CHANNELS %s", recon_time, ','.join(map(str, channels)))
|
||||||
try:
|
try:
|
||||||
self.run('wifi.recon.channel %s', ','.join(map(str, channels)))
|
self.run('wifi.recon.channel %s' % ','.join(map(str, channels)))
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logging.exception("error")
|
logging.exception("error")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user