mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -46,6 +46,7 @@
|
|||||||
url: "https://github.com/jayofelony/bettercap/releases/download/2.32.1/bettercap-2.32.1.zip"
|
url: "https://github.com/jayofelony/bettercap/releases/download/2.32.1/bettercap-2.32.1.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:
|
||||||
|
source: "https://github.com/jayofelony/pwngrid.git"
|
||||||
url: "https://github.com/rai68/opwngrid/releases/download/publish/pwngrid_linux_aarch64_v1.10.3-1.zip"
|
url: "https://github.com/rai68/opwngrid/releases/download/publish/pwngrid_linux_aarch64_v1.10.3-1.zip"
|
||||||
apt:
|
apt:
|
||||||
downgrade:
|
downgrade:
|
||||||
@ -268,15 +269,31 @@
|
|||||||
state: absent
|
state: absent
|
||||||
path: /usr/local/src/pwngrid
|
path: /usr/local/src/pwngrid
|
||||||
|
|
||||||
- name: download and install bettercap
|
- name: download bettercap
|
||||||
unarchive:
|
git:
|
||||||
src: "{{ packages.bettercap.url }}"
|
repo: https://github.com/jayofelony/bettercap.git
|
||||||
dest: /usr/local/bin
|
dest: /usr/local/src/bettercap
|
||||||
remote_src: yes
|
|
||||||
exclude:
|
- name: install bettercap 2.32.1
|
||||||
- README.md
|
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && go mod tidy && make && make install"
|
||||||
- LICENSE.md
|
args:
|
||||||
mode: 0755
|
executable: /bin/bash
|
||||||
|
chdir: /usr/local/src/bettercap
|
||||||
|
|
||||||
|
- name: remove bettercap folder
|
||||||
|
file:
|
||||||
|
state: absent
|
||||||
|
path: /usr/local/src/bettercap
|
||||||
|
|
||||||
|
#- name: download and install bettercap
|
||||||
|
# unarchive:
|
||||||
|
# src: "{{ packages.bettercap.url }}"
|
||||||
|
# dest: /usr/local/bin
|
||||||
|
# remote_src: yes
|
||||||
|
# exclude:
|
||||||
|
# - README.md
|
||||||
|
# - LICENSE.md
|
||||||
|
# mode: 0755
|
||||||
|
|
||||||
- name: clone bettercap caplets
|
- name: clone bettercap caplets
|
||||||
git:
|
git:
|
||||||
|
@ -80,6 +80,7 @@
|
|||||||
url: "https://github.com/bettercap/bettercap/releases/download/v2.31.0/bettercap_linux_armhf_v2.31.0.zip"
|
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:
|
||||||
|
source: "https://github.com/jayofelony/pwngrid.git"
|
||||||
url: "https://github.com/rai68/opwngrid/releases/download/publish/pwngrid_linux_armhf_v1.10.3-1.zip"
|
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"
|
||||||
@ -375,22 +376,55 @@
|
|||||||
#
|
#
|
||||||
##########################################
|
##########################################
|
||||||
|
|
||||||
- name: download and install pwngrid
|
- name: Install go-1.21
|
||||||
unarchive:
|
unarchive:
|
||||||
src: "{{ packages.pwngrid.url }}"
|
src: https://go.dev/dl/go1.21.3.linux-armv6l.tar.gz
|
||||||
dest: /usr/bin
|
dest: /usr/local
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
mode: 0755
|
register: golang
|
||||||
|
|
||||||
- name: download and install bettercap
|
- name: Update .bashrc for go-1.21
|
||||||
unarchive:
|
blockinfile:
|
||||||
src: "{{ packages.bettercap.url }}"
|
dest: /home/pi/.bashrc
|
||||||
dest: /usr/bin
|
state: present
|
||||||
remote_src: yes
|
block: |
|
||||||
exclude:
|
export GOPATH=$HOME/go
|
||||||
- README.md
|
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
|
||||||
- LICENSE.md
|
when: golang.changed
|
||||||
mode: 0755
|
|
||||||
|
- name: download pwngrid 1.10.4
|
||||||
|
git:
|
||||||
|
repo: https://github.com/jayofelony/pwngrid.git
|
||||||
|
dest: /usr/local/src/pwngrid
|
||||||
|
register: pwngrid
|
||||||
|
|
||||||
|
- name: install pwngrid 1.10.4
|
||||||
|
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && go mod tidy && make && make install"
|
||||||
|
args:
|
||||||
|
executable: /bin/bash
|
||||||
|
chdir: /usr/local/src/pwngrid
|
||||||
|
when: pwngrid.changed
|
||||||
|
|
||||||
|
- name: remove pwngrid folder
|
||||||
|
file:
|
||||||
|
state: absent
|
||||||
|
path: /usr/local/src/pwngrid
|
||||||
|
|
||||||
|
- name: download bettercap
|
||||||
|
git:
|
||||||
|
repo: https://github.com/jayofelony/bettercap.git
|
||||||
|
dest: /usr/local/src/bettercap
|
||||||
|
|
||||||
|
- name: install bettercap 2.32.1
|
||||||
|
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && go mod tidy && make && make install"
|
||||||
|
args:
|
||||||
|
executable: /bin/bash
|
||||||
|
chdir: /usr/local/src/bettercap
|
||||||
|
|
||||||
|
- name: remove bettercap folder
|
||||||
|
file:
|
||||||
|
state: absent
|
||||||
|
path: /usr/local/src/bettercap
|
||||||
|
|
||||||
- name: clone bettercap caplets
|
- name: clone bettercap caplets
|
||||||
git:
|
git:
|
||||||
|
@ -44,6 +44,7 @@
|
|||||||
url: "https://github.com/jayofelony/bettercap/releases/download/2.32.1/bettercap-2.32.1.zip"
|
url: "https://github.com/jayofelony/bettercap/releases/download/2.32.1/bettercap-2.32.1.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:
|
||||||
|
source: "https://github.com/jayofelony/pwngrid.git"
|
||||||
url: "https://github.com/rai68/opwngrid/releases/download/publish/pwngrid_linux_aarch64_v1.10.3-1.zip"
|
url: "https://github.com/rai68/opwngrid/releases/download/publish/pwngrid_linux_aarch64_v1.10.3-1.zip"
|
||||||
apt:
|
apt:
|
||||||
downgrade:
|
downgrade:
|
||||||
@ -336,47 +337,43 @@
|
|||||||
git:
|
git:
|
||||||
repo: https://github.com/jayofelony/pwngrid.git
|
repo: https://github.com/jayofelony/pwngrid.git
|
||||||
dest: /usr/local/src/pwngrid
|
dest: /usr/local/src/pwngrid
|
||||||
register: pwngrid
|
|
||||||
|
|
||||||
- name: install pwngrid 1.10.4
|
- name: install pwngrid 1.10.4
|
||||||
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && go mod tidy && make && make install"
|
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && go mod tidy && make && make install"
|
||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
chdir: /usr/local/src/pwngrid
|
chdir: /usr/local/src/pwngrid
|
||||||
when: pwngrid.changed
|
|
||||||
|
|
||||||
- name: remove pwngrid folder
|
- name: remove pwngrid folder
|
||||||
file:
|
file:
|
||||||
state: absent
|
state: absent
|
||||||
path: /usr/local/src/pwngrid
|
path: /usr/local/src/pwngrid
|
||||||
|
|
||||||
- name: download and install bettercap
|
- name: download bettercap
|
||||||
unarchive:
|
git:
|
||||||
src: "{{ packages.bettercap.url }}"
|
repo: https://github.com/jayofelony/bettercap.git
|
||||||
dest: /usr/local/bin
|
dest: /usr/local/src/bettercap
|
||||||
remote_src: yes
|
|
||||||
exclude:
|
|
||||||
- README.md
|
|
||||||
- LICENSE.md
|
|
||||||
mode: 0755
|
|
||||||
|
|
||||||
#- name: download bettercap v2.32.1
|
- name: install bettercap 2.32.1
|
||||||
# git:
|
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && go mod tidy && make && make install"
|
||||||
# repo: https://github.com/jayofelony/bettercap.git
|
args:
|
||||||
# dest: /usr/local/src/bettercap
|
executable: /bin/bash
|
||||||
# register: bettercap
|
chdir: /usr/local/src/bettercap
|
||||||
|
|
||||||
#- name: Install bettercap v2.32.1
|
- name: remove bettercap folder
|
||||||
# shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && go mod tidy && make && make install"
|
file:
|
||||||
# args:
|
state: absent
|
||||||
# executable: /bin/bash
|
path: /usr/local/src/bettercap
|
||||||
# chdir: /usr/local/src/bettercap
|
|
||||||
# when: bettercap.changed
|
|
||||||
|
|
||||||
#- name: remove bettercap folder
|
#- name: download and install bettercap
|
||||||
# file:
|
# unarchive:
|
||||||
# state: absent
|
# src: "{{ packages.bettercap.url }}"
|
||||||
# path: /usr/local/src/bettercap
|
# dest: /usr/local/bin
|
||||||
|
# remote_src: yes
|
||||||
|
# exclude:
|
||||||
|
# - README.md
|
||||||
|
# - LICENSE.md
|
||||||
|
# mode: 0755
|
||||||
|
|
||||||
- name: clone bettercap caplets
|
- name: clone bettercap caplets
|
||||||
git:
|
git:
|
||||||
|
Reference in New Issue
Block a user