Files
pwnagotchi/builder/data/usr/bin/pwnagotchi-launcher
jayofelony 4918b9a921 Update build
Signed-off-by: jayofelony <oudshoorn.jeroen@gmail.com>
2024-11-22 11:52:09 +01:00

18 lines
310 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
/opt/.pwn/bin/pwnagotchi
systemctl restart bettercap
else
/opt/.pwn/bin/pwnagotchi --manual
fi