Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-11-07 08:38:50 +01:00
parent 33ada559c3
commit 0742237677
3 changed files with 31 additions and 24 deletions

View File

@ -43,10 +43,11 @@
packages: packages:
bettercap: bettercap:
# We will install bettercap from source # We will install bettercap from source
source: "https://github.com/jayofelony/bettercap.git"
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: opwngrid:
source: "https://github.com/jayofelony/pwngrid.git" source: "https://github.com/jayofelony/opwngrid.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:
@ -253,25 +254,25 @@
- name: download pwngrid 1.10.4 - name: download pwngrid 1.10.4
git: git:
repo: https://github.com/jayofelony/pwngrid.git repo: "{{ packages.opwngrid.source }}"
dest: /usr/local/src/pwngrid dest: /usr/local/src/opwngrid
register: 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/opwngrid
when: pwngrid.changed 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/opwngrid
- name: download bettercap - name: download bettercap
git: git:
repo: https://github.com/jayofelony/bettercap.git repo: "{{ packages.bettercap.source }}"
dest: /usr/local/src/bettercap dest: /usr/local/src/bettercap
- name: install bettercap 2.32.1 - name: install bettercap 2.32.1
@ -297,7 +298,7 @@
- name: clone bettercap caplets - name: clone bettercap caplets
git: git:
repo: https://github.com/jayofelony/caplets.git repo: "{{ packages.caplets.source }}"
dest: /tmp/caplets dest: /tmp/caplets
register: capletsgit register: capletsgit

View File

@ -76,12 +76,15 @@
- triggerhappy.service - triggerhappy.service
- wpa_supplicant.service - wpa_supplicant.service
packages: packages:
caplets:
source: "https://github.com/jayofelony/caplets.git"
bettercap: bettercap:
source: "https://github.com/jayofelony/bettercap.git"
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: opwngrid:
source: "https://github.com/jayofelony/pwngrid.git" 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/jayofelony/pwngrid/releases/download/v1.10.4/opwngrid-1.10.4-armhf.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"
@ -393,7 +396,8 @@
- name: download opwngrid 1.10.4 - name: download opwngrid 1.10.4
unarchive: unarchive:
remote_src: "https://github.com/jayofelony/pwngrid/releases/download/v1.10.4/opwngrid-1.10.4-armhf.zip" remote_src: yes
src: "{{ packages.opwngrid.url }}"
dest: /usr/local/bin/ dest: /usr/local/bin/
mode: 0755 mode: 0755
@ -409,7 +413,7 @@
- name: clone bettercap caplets - name: clone bettercap caplets
git: git:
repo: https://github.com/jayofelony/caplets.git repo: "{{ packages.caplets.source }}"
dest: /tmp/caplets dest: /tmp/caplets
register: capletsgit register: capletsgit

View File

@ -39,12 +39,14 @@
- triggerhappy.service - triggerhappy.service
- wpa_supplicant.service - wpa_supplicant.service
packages: packages:
caplets:
source: "https://github.com/jayofelony/caplets.git"
bettercap: bettercap:
# We will install bettercap from source source: "https://github.com/jayofelony/bettercap.git"
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: opwngrid:
source: "https://github.com/jayofelony/pwngrid.git" source: "https://github.com/jayofelony/opwngrid.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:
@ -333,25 +335,25 @@
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
when: golang.changed when: golang.changed
- name: download pwngrid 1.10.4 - name: download opwngrid 1.10.4
git: git:
repo: https://github.com/jayofelony/pwngrid.git repo: "{{ packages.opwngrid.source }}"
dest: /usr/local/src/pwngrid dest: /usr/local/src/opwngrid
- name: install pwngrid 1.10.4 - name: install opwngrid 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/opwngrid
- name: remove pwngrid folder - name: remove opwngrid folder
file: file:
state: absent state: absent
path: /usr/local/src/pwngrid path: /usr/local/src/opwngrid
- name: download bettercap - name: download bettercap
git: git:
repo: https://github.com/jayofelony/bettercap.git repo: "{{ packages.bettercap.source }}"
dest: /usr/local/src/bettercap dest: /usr/local/src/bettercap
- name: install bettercap 2.32.1 - name: install bettercap 2.32.1
@ -377,7 +379,7 @@
- name: clone bettercap caplets - name: clone bettercap caplets
git: git:
repo: https://github.com/jayofelony/caplets.git repo: "{{ packages.caplets.source }}"
dest: /tmp/caplets dest: /tmp/caplets
register: capletsgit register: capletsgit