Version 2.3.2

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-09-07 14:19:04 +02:00
parent 7b1a91fc20
commit 2f03ccb7b7

View File

@ -3,19 +3,18 @@ import re
import subprocess
import time
import random
from pwnagotchi import restart
from io import TextIOWrapper
from pwnagotchi import plugins
import pwnagotchi.ui.faces as faces
from pwnagotchi.bettercap import Client
from pwnagotchi.ui.components import Text, LabeledValue
from pwnagotchi.ui.components import Text
from pwnagotchi.ui.view import BLACK
import pwnagotchi.ui.fonts as fonts
class Fix_Services(plugins.Plugin):
class FixServices(plugins.Plugin):
__author__ = 'xBits'
__version__ = '0.1.1'
__license__ = 'GPL3'
@ -325,7 +324,7 @@ class Fix_Services(plugins.Plugin):
"[Fix_Services set wifi.interfaceface wlan0mon] failed? %s" % repr(result))
except Exception as err:
logging.info(
"[Fix_Services set wifi.interface wlan0mon] except: %s" % (repr(result), repr(err)))
"[Fix_Services set wifi.interface wlan0mon] except: %s" % repr(err))
except Exception as cerr: #
if not display: print("failed loading wlan0mon attempt #%d: %s" % (tries, repr(cerr)))
except Exception as err: # from modprobe
@ -413,7 +412,7 @@ class Fix_Services(plugins.Plugin):
# run from command line to brute force a reload
if __name__ == "__main__":
print("Performing brcmfmac reload and restart wlan0mon in 5 seconds...")
fb = Fix_Services()
fb = FixServices()
data = {'Message': "kernel: brcmfmac: brcmf_cfg80211_nexmon_set_channel: Set Channel failed: chspec=1234"}
event = {'data': data}