Edited README.md

Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-07-23 10:03:40 +02:00
parent 9e709923af
commit 20c9c13c94
3 changed files with 22 additions and 9 deletions

View File

@ -1,7 +1,21 @@
# Pwnagotchi Torch installation # Pwnagotchi Torch installation
I assume you have a new image of Raspberry Pi OS lite 64-bit flashed to a micro sd-card. I assume you have a new image of Raspberry Pi OS lite 64-bit flashed to a micro sd-card.
# APT hold packages
# Install GoLang
```
wget https://go.dev/dl/go1.20.6.linux-arm64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.20.6.linux-arm64.tar.gz
sudo nano /etc/profile
export PATH=$PATH:/usr/local/go/bin # Add this line to the bottom
sudo nano ~/.profile
export PATH=$PATH:/usr/local/go/bin # Add this line to the bottom
sudo visudo
:/usr/local/go/bin # Add this to secure_path= line
```
# apt hold packages
``` ```
sudo apt-mark hold raspberrypi-kernel sudo apt-mark hold raspberrypi-kernel
sudo apt install raspberrypi-kernel-headers sudo apt install raspberrypi-kernel-headers
@ -91,7 +105,7 @@ sudo nano /usr/local/share/bettercap/caplets/pwnagotchi-manual.cap # change ifac
# Install PwnGrid # Install PwnGrid
``` ```
cd ~ cd ~
git clone https://github.com/evilsocket/pwngrid.git git clone https://github.com/jayofelony/pwngrid.git
cd bettercap cd bettercap
make make
sudo make install sudo make install
@ -151,7 +165,7 @@ sudo apt-mark hold libpcap-dev libpcap0.8 libpcap0.8-dev
sudo systemctl enable bettercap sudo systemctl enable bettercap
sudo systemctl enable pwngrid-peer sudo systemctl enable pwngrid-peer
sudo systemctl enable pwnagotchi sudo systemctl enable pwnagotchi
sudo systemctl enable bluetooth
sudo sync sudo sync
sudo reboot sudo reboot
``` ```

View File

@ -2,10 +2,9 @@
"builders": [ "builders": [
{ {
"name": "pwnagotchi", "name": "pwnagotchi",
"type": "arm-image", "type": "arm64-image",
"iso_url": "https://downloads.raspberrypi.org/raspios_oldstable_lite_armhf/images/raspios_oldstable_lite_armhf-2022-04-07/2022-04-04-raspios-buster-armhf-lite.img.xz", "iso_url": "https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2023-05-03/2023-05-03-raspios-bullseye-arm64-lite.img.xz",
"iso_checksum": "42fd907a0da36b8a8ce9db9cd1cb77746b6a10c4b77f8d0ae0b8065a3b358a37", "iso_checksum": "bf982e56b0374712d93e185780d121e3f5c3d5e33052a95f72f9aed468d58fa7c"
"last_partition_extra_size": 3221225472
} }
], ],
"provisioners": [ "provisioners": [

View File

@ -36,10 +36,10 @@
- dnsmasq.service - dnsmasq.service
packages: packages:
bettercap: bettercap:
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.1/bettercap_linux_aarch64_v2.31.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:
url: "https://github.com/evilsocket/pwngrid/releases/download/v1.10.3/pwngrid_linux_armhf_v1.10.3.zip" url: "https://github.com/evilsocket/pwngrid/releases/download/v1.10.3/pwngrid_linux_aarch64_v1.10.3.zip"
apt: apt:
hold: hold:
- firmware-atheros - firmware-atheros