mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update bettercap.py
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -99,7 +99,8 @@ class Client(object):
|
||||
continue
|
||||
except OSError:
|
||||
logging.warning('[bettercap] connection to the bettercap endpoint failed...')
|
||||
pwnagotchi.reboot()
|
||||
sleep(10)
|
||||
continue
|
||||
|
||||
def run(self, command, verbose_errors=True):
|
||||
while True:
|
||||
@ -113,4 +114,4 @@ class Client(object):
|
||||
else:
|
||||
break
|
||||
|
||||
return decode(r, verbose_errors=verbose_errors)
|
||||
return decode(r, verbose_errors=verbose_errors)
|
||||
|
Reference in New Issue
Block a user