Files
pwnagotchi/builder/data/64bit/usr/bin/pwnagotchi-launcher
jayofelony e04badc254 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-17 20:04:18 +01:00

18 lines
350 B
Bash
Executable File

#!/usr/bin/env bash
source /usr/bin/pwnlib
# we need to decrypt something
if is_crypted_mode; then
while ! is_decrypted; do
echo "Waiting for decryption..."
sleep 1
done
fi
if is_auto_mode; then
/usr/local/src/pwnagotchi/env/bin/pwnagotchi
systemctl restart bettercap
else
/usr/local/src/pwnagotchi/env/bin/pwnagotchi --manual
fi