mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Binary file not shown.
Binary file not shown.
@ -68,6 +68,7 @@
|
|||||||
- aircrack-ng
|
- aircrack-ng
|
||||||
- autoconf
|
- autoconf
|
||||||
- bc
|
- bc
|
||||||
|
- bettercap
|
||||||
- bison
|
- bison
|
||||||
- bluez
|
- bluez
|
||||||
- build-essential
|
- build-essential
|
||||||
@ -316,39 +317,39 @@
|
|||||||
path: /usr/local/share/pwnagotchi/
|
path: /usr/local/share/pwnagotchi/
|
||||||
state: directory
|
state: directory
|
||||||
|
|
||||||
#- name: Install go-1.21
|
- name: Install go-1.21
|
||||||
# unarchive:
|
unarchive:
|
||||||
# src: https://go.dev/dl/go1.21.3.linux-arm64.tar.gz
|
src: https://go.dev/dl/go1.21.3.linux-arm64.tar.gz
|
||||||
# dest: /usr/local
|
dest: /usr/local
|
||||||
# remote_src: yes
|
remote_src: yes
|
||||||
# register: golang
|
register: golang
|
||||||
|
|
||||||
#- name: Update .bashrc for go-1.21
|
- name: Update .bashrc for go-1.21
|
||||||
# blockinfile:
|
blockinfile:
|
||||||
# dest: /home/pi/.bashrc
|
dest: /home/pi/.bashrc
|
||||||
# state: present
|
state: present
|
||||||
# block: |
|
block: |
|
||||||
# export GOPATH=$HOME/go
|
export GOPATH=$HOME/go
|
||||||
# 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 pwngrid 1.10.4
|
||||||
# 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
|
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
|
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 bettercap v2.32.1
|
#- name: download bettercap v2.32.1
|
||||||
# git:
|
# git:
|
||||||
|
Reference in New Issue
Block a user