mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
17
builder/data/usr/bin/pwnagotchi-launcher
Executable file
17
builder/data/usr/bin/pwnagotchi-launcher
Executable file
@ -0,0 +1,17 @@
|
||||
#!/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
|
Reference in New Issue
Block a user