mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update build for Pi 5 users
Version 2.7.8
This commit is contained in:
@ -2,6 +2,7 @@ import subprocess
|
|||||||
import requests
|
import requests
|
||||||
import json
|
import json
|
||||||
import logging
|
import logging
|
||||||
|
from pwnagotchi.plugins.default.auto_update import parse_version
|
||||||
|
|
||||||
import pwnagotchi
|
import pwnagotchi
|
||||||
|
|
||||||
@ -92,8 +93,8 @@ def update_data(last_session):
|
|||||||
'build': "Pwnagotchi-Torch by Jayofelony",
|
'build': "Pwnagotchi-Torch by Jayofelony",
|
||||||
'plugins': enabled,
|
'plugins': enabled,
|
||||||
'language': language,
|
'language': language,
|
||||||
'bettercap': subprocess.getoutput("bettercap -version"),
|
'bettercap': parse_version("bettercap -version"),
|
||||||
'opwngrid': subprocess.getoutput("pwngrid -version")
|
'opwngrid': parse_version("pwngrid -version")
|
||||||
}
|
}
|
||||||
|
|
||||||
logging.debug("updating grid data: %s" % data)
|
logging.debug("updating grid data: %s" % data)
|
||||||
|
Reference in New Issue
Block a user