mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
20 lines
423 B
Plaintext
20 lines
423 B
Plaintext
![]() |
#!/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
|
||
|
|
||
|
# start mon0
|
||
|
start_monitor_interface
|
||
|
|
||
|
if is_auto_mode_no_delete; then
|
||
|
/usr/local/bin/bettercap -no-colors -caplet pwnagotchi-auto -iface wlan0mon
|
||
|
else
|
||
|
/usr/local/bin/bettercap -no-colors -caplet pwnagotchi-manual -iface wlan0mon
|
||
|
fi
|