pwnagotchi/builder/data/usr/bin/bettercap-launcher

20 lines
403 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
source /usr/bin/pwnlib
2020-04-03 19:01:40 +02:00
# 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/bin/bettercap -no-colors -caplet pwnagotchi-auto -iface mon0
else
/usr/bin/bettercap -no-colors -caplet pwnagotchi-manual -iface mon0
fi