3 Commits

Author SHA1 Message Date
Simone Margaritelli
1615fc8817 releasing v1.4.1 2019-12-07 15:45:15 +02:00
Simone Margaritelli
714cb00610 misc: small fix or general refactoring i did not bother commenting 2019-12-07 15:44:03 +02:00
Simone Margaritelli
a0a790635a fix: fuck me for trusting people's PR without checking 10000 times 2019-12-07 15:43:10 +02:00
3 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ import pwnagotchi.plugins as plugins
from pwnagotchi.identity import KeyPair from pwnagotchi.identity import KeyPair
from pwnagotchi.agent import Agent from pwnagotchi.agent import Agent
from pwnagotchi.ui.display import Display from pwnagotchi.ui.display import Display
from pwnagotch import restart from pwnagotchi import restart
def do_clear(display): def do_clear(display):

View File

@@ -6,7 +6,7 @@ import re
import pwnagotchi.ui.view as view import pwnagotchi.ui.view as view
import pwnagotchi import pwnagotchi
version = '1.4.0' version = '1.4.1'
_name = None _name = None

View File

@@ -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")