mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Version 2.5.3, fix auto-update.py
This commit is contained in:
@ -1 +1 @@
|
|||||||
__version__ = '2.5.2'
|
__version__ = '2.5.3'
|
||||||
|
@ -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")
|
||||||
|
Reference in New Issue
Block a user