diff --git a/builder/data/usr/bin/pwnlib b/builder/data/usr/bin/pwnlib index f8da0d8..75d313e 100755 --- a/builder/data/usr/bin/pwnlib +++ b/builder/data/usr/bin/pwnlib @@ -14,7 +14,7 @@ blink_led() { # check if brcm is stuck check_brcm() { - if [[ "$(journalctl -n10 -k | grep -c 'brcmf_cfg80211_nexmon_set_channel.*Set Channel failed')" -ge 3 ]]; then + if [[ "$(journalctl -n10 -k | grep -c 'brcmf_cfg80211_nexmon_set_channel.*Set Channel failed')" -ge 5 ]]; then return 1 fi return 0 diff --git a/pwnagotchi/plugins/default/watchdog.py b/pwnagotchi/plugins/default/watchdog.py index 06aef5f..d6de60c 100644 --- a/pwnagotchi/plugins/default/watchdog.py +++ b/pwnagotchi/plugins/default/watchdog.py @@ -26,7 +26,7 @@ class Watchdog(plugins.Plugin): # get last 10 lines last_lines = ''.join(list(TextIOWrapper(subprocess.Popen(['journalctl','-n10','-k'], stdout=subprocess.PIPE).stdout))[-10:]) - if len(self.pattern.findall(last_lines)) >= 3: + if len(self.pattern.findall(last_lines)) >= 5: display = agent.view() display.set('status', 'Blind-Bug detected. Restarting.') display.update(force=True)