mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -105,8 +105,10 @@ class FixServices(plugins.Plugin):
|
|||||||
print("Wifi recon flipped")
|
print("Wifi recon flipped")
|
||||||
else:
|
else:
|
||||||
logging.warning("[Fix_Services] wifi.recon flip: FAILED: %s" % repr(result))
|
logging.warning("[Fix_Services] wifi.recon flip: FAILED: %s" % repr(result))
|
||||||
|
self._tryTurningItOffAndOnAgain(agent)
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
logging.error("[Fix_Services]SYSLOG wifi.recon flip fail: %s" % err)
|
logging.error("[Fix_Services]SYSLOG wifi.recon flip fail: %s" % err)
|
||||||
|
self._tryTurningItOffAndOnAgain(agent)
|
||||||
|
|
||||||
def on_epoch(self, agent, epoch, epoch_data):
|
def on_epoch(self, agent, epoch, epoch_data):
|
||||||
last_lines = ''.join(list(TextIOWrapper(subprocess.Popen(['journalctl', '-n10', '-k'],
|
last_lines = ''.join(list(TextIOWrapper(subprocess.Popen(['journalctl', '-n10', '-k'],
|
||||||
|
Reference in New Issue
Block a user