From 8c22b1d6f1d951a47707e32518ef8f82c1c7c566 Mon Sep 17 00:00:00 2001 From: Simone Margaritelli Date: Tue, 22 Oct 2019 12:14:56 +0200 Subject: [PATCH] fix: if bettercap starts and no active interfaces are found, if mon0 is not explicitly passed it will fail with a 'No active interfces' error --- builder/pwnagotchi.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builder/pwnagotchi.yml b/builder/pwnagotchi.yml index 0b449ac..a9fb322 100644 --- a/builder/pwnagotchi.yml +++ b/builder/pwnagotchi.yml @@ -329,12 +329,12 @@ # if override file exists, go into auto mode if [ -f /root/.pwnagotchi-auto ]; then rm /root/.pwnagotchi-auto - /usr/bin/bettercap -no-colors -caplet pwnagotchi-auto + /usr/bin/bettercap -no-colors -caplet pwnagotchi-auto -iface mon0 else - /usr/bin/bettercap -no-colors -caplet pwnagotchi-manual + /usr/bin/bettercap -no-colors -caplet pwnagotchi-manual -iface mon0 fi else - /usr/bin/bettercap -no-colors -caplet pwnagotchi-auto + /usr/bin/bettercap -no-colors -caplet pwnagotchi-auto -iface mon0 fi - name: create monstart script