Version 2.5.3, fix auto-update.py

This commit is contained in:
Jeroen Oudshoorn
2023-11-18 17:41:09 +01:00
parent 6249fe7333
commit 8595e6c9cf
2 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
__version__ = '2.5.2' __version__ = '2.5.3'

View File

@ -183,14 +183,14 @@ class AutoUpdate(plugins.Plugin):
to_install = [] to_install = []
to_check = [ to_check = [
('jayofelony/bettercap', parse_version('bettercap -version'), True, 'bettercap'), ('jayofelony/bettercap', parse_version('bettercap -version'), True, 'bettercap'),
('jayofelony/pwngrid', parse_version('pwngrid -version'), True, 'pwngrid-peer'), ('jayofelony/opwngrid', parse_version('pwngrid -version'), True, 'pwngrid-peer'),
('jayofelony/pwnagotchi', pwnagotchi.__version__, False, 'pwnagotchi') ('jayofelony/pwnagotchi-torch', pwnagotchi.__version__, False, 'pwnagotchi')
] ]
for repo, local_version, is_native, svc_name in to_check: for repo, local_version, is_native, svc_name in to_check:
info = check(local_version, repo, is_native) info = check(local_version, repo, is_native)
if info['url'] is not None: if info['url'] is not None:
# Turn of bettercap wifi recon while updating # Turn off bettercap wifi recon while updating
from pwnagotchi.bettercap import Client from pwnagotchi.bettercap import Client
agent = Client('localhost', port=8081, username="pwnagotchi", password="pwnagotchi") agent = Client('localhost', port=8081, username="pwnagotchi", password="pwnagotchi")
agent.run("wifi.recon off") agent.run("wifi.recon off")