enable bettercap ui on manual mode
This commit is contained in:
parent
5a3ddd9133
commit
0294eeff5f
@ -182,6 +182,9 @@
|
|||||||
chdir: /tmp/caplets
|
chdir: /tmp/caplets
|
||||||
target: install
|
target: install
|
||||||
|
|
||||||
|
- name: install bettercap http ui
|
||||||
|
command: "/usr/bin/bettercap -eval 'caplets.update; ui.update; q'"
|
||||||
|
|
||||||
- name: create cpuusage script
|
- name: create cpuusage script
|
||||||
copy:
|
copy:
|
||||||
dest: /usr/bin/cpuusage
|
dest: /usr/bin/cpuusage
|
||||||
@ -239,6 +242,26 @@
|
|||||||
/usr/local/bin/pwnagotchi
|
/usr/local/bin/pwnagotchi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
- name: create bettercap-launcher script
|
||||||
|
copy:
|
||||||
|
dest: /usr/bin/bettercap-launcher
|
||||||
|
mode: 0755
|
||||||
|
content: |
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
# blink 10 times to signal ready state
|
||||||
|
/usr/bin/bootblink 10 &
|
||||||
|
if ifconfig | grep usb0 | grep RUNNING; then
|
||||||
|
# if override file exists, go into auto mode
|
||||||
|
if [ -f /root/.pwnagotchi-auto ]; then
|
||||||
|
rm /root/.pwnagotchi-auto
|
||||||
|
/usr/bin/bettercap -no-colors -caplet pwnagotchi-auto
|
||||||
|
else
|
||||||
|
/usr/bin/bettercap -no-colors -caplet pwnagotchi-manual
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
/usr/bin/bettercap -no-colors -caplet pwnagotchi-auto
|
||||||
|
fi
|
||||||
|
|
||||||
- name: create monstart script
|
- name: create monstart script
|
||||||
copy:
|
copy:
|
||||||
dest: /usr/bin/monstart
|
dest: /usr/bin/monstart
|
||||||
|
Loading…
x
Reference in New Issue
Block a user