mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -77,10 +77,10 @@
|
|||||||
- wpa_supplicant.service
|
- wpa_supplicant.service
|
||||||
packages:
|
packages:
|
||||||
bettercap:
|
bettercap:
|
||||||
url: "https://github.com/jayofelony/bettercap.git"
|
url: "https://github.com/bettercap/bettercap/releases/download/v2.31.0/bettercap_linux_armhf_v2.31.0.zip"
|
||||||
ui: "https://github.com/bettercap/ui/releases/download/v1.3.0/ui.zip"
|
ui: "https://github.com/bettercap/ui/releases/download/v1.3.0/ui.zip"
|
||||||
pwngrid:
|
pwngrid:
|
||||||
url: "https://github.com/jayofelony/pwngrid.git"
|
url: "https://github.com/rai68/opwngrid/releases/download/publish/pwngrid_linux_armhf_v1.10.3-1.zip"
|
||||||
torch:
|
torch:
|
||||||
wheel: "torch-2.1.0a0+gitunknown-cp39-cp39-linux_armv6l.whl"
|
wheel: "torch-2.1.0a0+gitunknown-cp39-cp39-linux_armv6l.whl"
|
||||||
url: "https://github.com/Sniffleupagus/Torch4Pizero/releases/download/v1.0.0/torch-2.1.0a0+gitunknown-cp39-cp39-linux_armv6l.whl"
|
url: "https://github.com/Sniffleupagus/Torch4Pizero/releases/download/v1.0.0/torch-2.1.0a0+gitunknown-cp39-cp39-linux_armv6l.whl"
|
||||||
@ -375,66 +375,22 @@
|
|||||||
#
|
#
|
||||||
##########################################
|
##########################################
|
||||||
|
|
||||||
- name: Download and install golang
|
- name: download and install pwngrid
|
||||||
unarchive:
|
unarchive:
|
||||||
src: https://go.dev/dl/go1.21.1.linux-armv6l.tar.gz
|
src: "{{ packages.pwngrid.url }}"
|
||||||
dest: /usr/local
|
dest: /usr/bin
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
- name: Update .bashrc for go-1.21
|
- name: download and install bettercap
|
||||||
blockinfile:
|
unarchive:
|
||||||
dest: /home/pi/.bashrc
|
src: "{{ packages.bettercap.url }}"
|
||||||
state: present
|
dest: /usr/bin
|
||||||
block: |
|
remote_src: yes
|
||||||
export GOPATH=$HOME/go
|
exclude:
|
||||||
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
|
- README.md
|
||||||
|
- LICENSE.md
|
||||||
- name: download pwngrid 1.10.4
|
mode: 0755
|
||||||
git:
|
|
||||||
repo: https://github.com/jayofelony/pwngrid.git
|
|
||||||
dest: /usr/local/src/pwngrid
|
|
||||||
register: pwngrid
|
|
||||||
|
|
||||||
- name: make pwngrid 1.10.4
|
|
||||||
shell: "export CGO_ENABLED=0 && GOPROXY=direct && export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && make "
|
|
||||||
retries: 7
|
|
||||||
delay: 60
|
|
||||||
args:
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: /usr/local/src/pwngrid
|
|
||||||
|
|
||||||
- name: make install pwngrid 1.10.4
|
|
||||||
shell: "export CGO_ENABLED=0 && GOPROXY=direct && export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && make install"
|
|
||||||
retries: 7
|
|
||||||
delay: 60
|
|
||||||
args:
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: /usr/local/src/pwngrid
|
|
||||||
|
|
||||||
- name: remove pwngrid folder
|
|
||||||
file:
|
|
||||||
state: absent
|
|
||||||
path: /usr/local/src/pwngrid
|
|
||||||
|
|
||||||
- name: download bettercap v2.32.1
|
|
||||||
git:
|
|
||||||
repo: https://github.com/jayofelony/bettercap.git
|
|
||||||
dest: /usr/local/src/bettercap
|
|
||||||
register: bettercap
|
|
||||||
|
|
||||||
- name: Install bettercap v2.32.1
|
|
||||||
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && make && make install"
|
|
||||||
retries: 7
|
|
||||||
delay: 60
|
|
||||||
args:
|
|
||||||
executable: /bin/bash
|
|
||||||
chdir: /usr/local/src/bettercap
|
|
||||||
when: bettercap.changed
|
|
||||||
|
|
||||||
- name: remove bettercap folder
|
|
||||||
file:
|
|
||||||
state: absent
|
|
||||||
path: /usr/local/src/bettercap
|
|
||||||
|
|
||||||
- name: clone bettercap caplets
|
- name: clone bettercap caplets
|
||||||
git:
|
git:
|
||||||
|
Reference in New Issue
Block a user