From 04f057ceeff47d45b57fd782cb5653760477a831 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Thu, 26 Dec 2019 16:45:47 +0200 Subject: [PATCH 01/45] Create 21_pwnagotchi --- scripts.d/21_pwnagotchi | 1 + 1 file changed, 1 insertion(+) create mode 100644 scripts.d/21_pwnagotchi diff --git a/scripts.d/21_pwnagotchi b/scripts.d/21_pwnagotchi new file mode 100644 index 00000000..34def59d --- /dev/null +++ b/scripts.d/21_pwnagotchi @@ -0,0 +1 @@ +ph From 5e7cdb832cf88f9d0dc349d00455bdf8c4f9a10a Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Thu, 26 Dec 2019 16:46:32 +0200 Subject: [PATCH 02/45] Rename 21_pwnagotchi to 21_pwnagotchi.sh --- scripts.d/{21_pwnagotchi => 21_pwnagotchi.sh} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename scripts.d/{21_pwnagotchi => 21_pwnagotchi.sh} (100%) diff --git a/scripts.d/21_pwnagotchi b/scripts.d/21_pwnagotchi.sh similarity index 100% rename from scripts.d/21_pwnagotchi rename to scripts.d/21_pwnagotchi.sh From a9067924278ab4ec0d7686ea6d9805711600393a Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Thu, 26 Dec 2019 16:47:59 +0200 Subject: [PATCH 03/45] Update 21_pwnagotchi.sh --- scripts.d/21_pwnagotchi.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts.d/21_pwnagotchi.sh b/scripts.d/21_pwnagotchi.sh index 34def59d..ce867621 100644 --- a/scripts.d/21_pwnagotchi.sh +++ b/scripts.d/21_pwnagotchi.sh @@ -1 +1,3 @@ -ph +#!/bin/bash + +source lib.sh From 4fbd58e59182f059206dfe1d6d2bb1af951ae5a4 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Thu, 26 Dec 2019 17:43:49 +0200 Subject: [PATCH 04/45] Update 21_pwnagotchi.sh --- scripts.d/21_pwnagotchi.sh | 68 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/scripts.d/21_pwnagotchi.sh b/scripts.d/21_pwnagotchi.sh index ce867621..aee550e7 100644 --- a/scripts.d/21_pwnagotchi.sh +++ b/scripts.d/21_pwnagotchi.sh @@ -1,3 +1,71 @@ #!/bin/bash source lib.sh + +# Install bettercap +wget "https://github.com/bettercap/bettercap/releases/download/v2.26.1/bettercap_linux_armhf_v2.26.1.zip" +unzip bettercap_linux_armhf_v2.26.1.zip +mv bettercap /usr/bin/ +bettercap -eval "caplets.update; ui.update; quit" + +cat < /etc/systemd/system/bettercap.service +[Unit] +Description=bettercap api.rest service. +Documentation=https://bettercap.org +Wants=network.target +After=pwngrid.service + +[Service] +Type=simple +PermissionsStartOnly=true +ExecStart=/usr/bin/bettercap-launcher +Restart=always +RestartSec=30 + +[Install] +WantedBy=multi-user.target +EOFA + +cat < /usr/bin/bettercap-launcher +#!/usr/bin/env bash +/usr/bin/monstart +if [[ $(ifconfig | grep usb0 | grep RUNNING) ]] || [[ $(cat /sys/class/net/eth0/carrier) ]]; then + # if override file exists, go into auto mode + if [ -f /root/.pwnagotchi-auto ]; then + /usr/bin/bettercap -no-colors -caplet pwnagotchi-auto -iface mon0 + else + /usr/bin/bettercap -no-colors -caplet pwnagotchi-manual -iface mon0 + fi +else + /usr/bin/bettercap -no-colors -caplet pwnagotchi-auto -iface mon0 +fi +EOFB + +# Install pwngrid +wget "https://github.com/evilsocket/pwngrid/releases/download/v1.10.3/pwngrid_linux_armhf_v1.10.3.zip" +unzip pwngrid_linux_armhf_v1.10.3.zip +mv pwngrid /usr/bin/ +pwngrid -generate -keys /etc/pwnagotchi + +cat < /etc/systemd/system/pwngrid-peer.service +[Unit] +Description=pwngrid peer service. +Documentation=https://pwnagotchi.ai +Wants=network.target + +[Service] +Type=simple +PermissionsStartOnly=true +ExecStart=/usr/bin/pwngrid -keys /etc/pwnagotchi -address 127.0.0.1:8666 -client-token /root/.api-enrollment.json -wait -log /var/log/pwngrid-peer.log -iface mon0 +Restart=always +RestartSec=30 + +[Install] +WantedBy=multi-user.target +EOFC + +# Install pwnagotchi +wget "https://github.com/evilsocket/pwnagotchi/archive/v1.4.3.zip" +unzip v1.4.3.zip +cd pwnagotchi-1.4.3 +pip3 install . From b4308ba438113e60dae3dfc0b28cbed82c7b03b6 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Thu, 26 Dec 2019 17:57:31 +0200 Subject: [PATCH 05/45] Update 21_pwnagotchi.sh --- scripts.d/21_pwnagotchi.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts.d/21_pwnagotchi.sh b/scripts.d/21_pwnagotchi.sh index aee550e7..d9f502f3 100644 --- a/scripts.d/21_pwnagotchi.sh +++ b/scripts.d/21_pwnagotchi.sh @@ -2,6 +2,12 @@ source lib.sh +# Make the pi into a USB ethernet gadget. +ROOT=mnt/img_root +CONFIG=$ROOT/boot/config.txt +CMDLINE=$ROOT/boot/cmdline.txt +USB0IFACE=$ROOT/etc/network/interfaces.d/usb0 + # Install bettercap wget "https://github.com/bettercap/bettercap/releases/download/v2.26.1/bettercap_linux_armhf_v2.26.1.zip" unzip bettercap_linux_armhf_v2.26.1.zip From 575cb06c2631264eb7c0a0486a527f58b76efba0 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Thu, 26 Dec 2019 18:01:40 +0200 Subject: [PATCH 06/45] Update 21_pwnagotchi.sh --- scripts.d/21_pwnagotchi.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts.d/21_pwnagotchi.sh b/scripts.d/21_pwnagotchi.sh index d9f502f3..ddaab378 100644 --- a/scripts.d/21_pwnagotchi.sh +++ b/scripts.d/21_pwnagotchi.sh @@ -4,14 +4,16 @@ source lib.sh # Make the pi into a USB ethernet gadget. ROOT=mnt/img_root +BETTERCAPSERVICE=$ROOT/etc/systemd/system/bettercap.service +BETTERCAPLAUNCHER=$ROOT/usr/bin/bettercap-launcher +PWNGRIDSERVICE=$ROOT/etc/systemd/system/pwngrid-peer.service CONFIG=$ROOT/boot/config.txt CMDLINE=$ROOT/boot/cmdline.txt -USB0IFACE=$ROOT/etc/network/interfaces.d/usb0 # Install bettercap wget "https://github.com/bettercap/bettercap/releases/download/v2.26.1/bettercap_linux_armhf_v2.26.1.zip" unzip bettercap_linux_armhf_v2.26.1.zip -mv bettercap /usr/bin/ +mv bettercap $ROOT/usr/bin/ bettercap -eval "caplets.update; ui.update; quit" cat < /etc/systemd/system/bettercap.service @@ -50,8 +52,8 @@ EOFB # Install pwngrid wget "https://github.com/evilsocket/pwngrid/releases/download/v1.10.3/pwngrid_linux_armhf_v1.10.3.zip" unzip pwngrid_linux_armhf_v1.10.3.zip -mv pwngrid /usr/bin/ -pwngrid -generate -keys /etc/pwnagotchi +mv pwngrid $ROOT/usr/bin/ +pwngrid -generate -keys $ROOT/etc/pwnagotchi cat < /etc/systemd/system/pwngrid-peer.service [Unit] From 32e4fb2bbed5e26f4a43496c61a1559cb01a700a Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Thu, 26 Dec 2019 18:02:33 +0200 Subject: [PATCH 07/45] Update 21_pwnagotchi.sh --- scripts.d/21_pwnagotchi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts.d/21_pwnagotchi.sh b/scripts.d/21_pwnagotchi.sh index ddaab378..14c7d5d3 100644 --- a/scripts.d/21_pwnagotchi.sh +++ b/scripts.d/21_pwnagotchi.sh @@ -2,7 +2,7 @@ source lib.sh -# Make the pi into a USB ethernet gadget. +# System variables ROOT=mnt/img_root BETTERCAPSERVICE=$ROOT/etc/systemd/system/bettercap.service BETTERCAPLAUNCHER=$ROOT/usr/bin/bettercap-launcher From 4d6d9c16941e42b71305ee8759c390c02998b122 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Thu, 26 Dec 2019 18:26:13 +0200 Subject: [PATCH 08/45] Update 21_pwnagotchi.sh --- scripts.d/21_pwnagotchi.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts.d/21_pwnagotchi.sh b/scripts.d/21_pwnagotchi.sh index 14c7d5d3..c4be2a67 100644 --- a/scripts.d/21_pwnagotchi.sh +++ b/scripts.d/21_pwnagotchi.sh @@ -16,6 +16,7 @@ unzip bettercap_linux_armhf_v2.26.1.zip mv bettercap $ROOT/usr/bin/ bettercap -eval "caplets.update; ui.update; quit" +# Create bettercap service cat < /etc/systemd/system/bettercap.service [Unit] Description=bettercap api.rest service. @@ -34,6 +35,7 @@ RestartSec=30 WantedBy=multi-user.target EOFA +# Create bettercap launcher cat < /usr/bin/bettercap-launcher #!/usr/bin/env bash /usr/bin/monstart From 9fac7734a47c144d5f6a071acbe51bcccc2127d1 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Thu, 26 Dec 2019 18:41:04 +0200 Subject: [PATCH 09/45] Update 21_pwnagotchi.sh --- scripts.d/21_pwnagotchi.sh | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/scripts.d/21_pwnagotchi.sh b/scripts.d/21_pwnagotchi.sh index c4be2a67..c53511e0 100644 --- a/scripts.d/21_pwnagotchi.sh +++ b/scripts.d/21_pwnagotchi.sh @@ -7,6 +7,7 @@ ROOT=mnt/img_root BETTERCAPSERVICE=$ROOT/etc/systemd/system/bettercap.service BETTERCAPLAUNCHER=$ROOT/usr/bin/bettercap-launcher PWNGRIDSERVICE=$ROOT/etc/systemd/system/pwngrid-peer.service +PWNAGOTCHICONFIG=$ROOT/boot/config.yml CONFIG=$ROOT/boot/config.txt CMDLINE=$ROOT/boot/cmdline.txt @@ -17,7 +18,7 @@ mv bettercap $ROOT/usr/bin/ bettercap -eval "caplets.update; ui.update; quit" # Create bettercap service -cat < /etc/systemd/system/bettercap.service +cat < $BETTERCAPSERVICE [Unit] Description=bettercap api.rest service. Documentation=https://bettercap.org @@ -36,7 +37,7 @@ WantedBy=multi-user.target EOFA # Create bettercap launcher -cat < /usr/bin/bettercap-launcher +cat < $BETTERCAPLAUNCHER #!/usr/bin/env bash /usr/bin/monstart if [[ $(ifconfig | grep usb0 | grep RUNNING) ]] || [[ $(cat /sys/class/net/eth0/carrier) ]]; then @@ -57,6 +58,7 @@ unzip pwngrid_linux_armhf_v1.10.3.zip mv pwngrid $ROOT/usr/bin/ pwngrid -generate -keys $ROOT/etc/pwnagotchi +# Create pwngrid launcher cat < /etc/systemd/system/pwngrid-peer.service [Unit] Description=pwngrid peer service. @@ -79,3 +81,22 @@ wget "https://github.com/evilsocket/pwnagotchi/archive/v1.4.3.zip" unzip v1.4.3.zip cd pwnagotchi-1.4.3 pip3 install . + +# Create configuration file for pwnagotchi +cat < $PWNAGOTCHICONFIG +main: + name: hostname + whitelist: + - HomeNetwork + plugins: + grid: + enabled: true + report: true + exclude: + - HomeNetwork + +ui: + display: + type: display + color: color +EOFD From 3de7065dd9e9b2c9adf4a8c491b1213181708784 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Thu, 26 Dec 2019 21:48:49 +0200 Subject: [PATCH 10/45] Update autorunonce --- autorunonce | 148 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) diff --git a/autorunonce b/autorunonce index c570d05b..ac54a949 100644 --- a/autorunonce +++ b/autorunonce @@ -65,6 +65,22 @@ enablecoralenviroboard="false" startcoralenvirodemo="false" +# pwnagotchi configuration +# start pwnagotchi: If true, starts the pwnagotchi services to attack wi-fi networks +# pwndisplay: type of dipslay for pwnagotchi to use [none, waveshare_2, waveshare_1, waveshare27inch, waveshare154inch, +# inky, papirus, oledhat, dfrobot] (default = waveshare_2) +# pwncolor: color of your display [black, blue, red, yellow] (default = black) +# pwnreport: determines what will report to pwnagotchi servers (not related to treehouses) +# [none, partial, full] (default = none) +# wifiname: Add any network you don't want pwnagotchi to attack +# Attention: When pwnagotchi is enabled, the wifi will not be available to connect to a router and therefore only "ethernet" +# network configuration will be enabled +wifiname='' +startpwnagotchi="false" +pwndisplay="waveshare_2" +pwncolor="black" +pwnreport="none" + # No need to edit below this line #----------------------------------------------------------------------------------------------------# @@ -124,6 +140,138 @@ if [ $starttor = "true" ]; then sleep 10 fi +# Configures pwnagotchi +# Creates services if pwnagotchi is enabled +if [ $startpwnagotchi = "true" ]; then + # Create bettercap service + cat < /etc/systemd/system/bettercap.service + [Unit] + Description=bettercap api.rest service. + Documentation=https://bettercap.org + Wants=network.target + After=pwngrid.service + + [Service] + Type=simple + PermissionsStartOnly=true + ExecStart=/usr/bin/bettercap-launcher + Restart=always + RestartSec=30 + + [Install] + WantedBy=multi-user.target + EOFA + + # Create bettercap launcher + cat < /usr/bin/bettercap-launcher + #!/usr/bin/env bash + /usr/bin/monstart + if [[ $(ifconfig | grep usb0 | grep RUNNING) ]] || [[ $(cat /sys/class/net/eth0/carrier) ]]; then + # if override file exists, go into auto mode + if [ -f /root/.pwnagotchi-auto ]; then + /usr/bin/bettercap -no-colors -caplet pwnagotchi-auto -iface mon0 + else + /usr/bin/bettercap -no-colors -caplet pwnagotchi-manual -iface mon0 + fi + else + /usr/bin/bettercap -no-colors -caplet pwnagotchi-auto -iface mon0 + fi + EOFB + + # Create pwngrid launcher + cat < /etc/systemd/system/pwngrid-peer.service + [Unit] + Description=pwngrid peer service. + Documentation=https://pwnagotchi.ai + Wants=network.target + + [Service] + Type=simple + PermissionsStartOnly=true + ExecStart=/usr/bin/pwngrid -keys /etc/pwnagotchi -address 127.0.0.1:8666 -client-token /root/.api-enrollment.json -wait -log /var/log/pwngrid-peer.log -iface mon0 + Restart=always + RestartSec=30 + + [Install] + WantedBy=multi-user.target + EOFC +fi +# Whitelists and excludes your home wifi network +sed 's/HomeNetwork/$wifiname/g' /boot/config.yml + +# Configures the config.txt +grep -qxF 'dtoverlay=dwc2' /boot/config.txt || echo 'dtoverlay=dwc2' >> /boot/config.txt +grep -qxF 'dtoverlay=spi1-3cs' /boot/config.txt || echo 'dtoverlay=spi1-3cs' >> /boot/config.txt +grep -qxF 'dtparam=spi=on' /boot/config.txt || echo 'dtparam=spi=on' >> /boot/config.txt +grep -qxF 'dtparam=i2c_arm=on' /boot/config.txt || echo 'dtparam=i2c_arm=on' >> /boot/config.txt +grep -qxF 'dtparam=i2c1=on' /boot/config.txt || echo 'dtparam=i2c1=on' >> /boot/config.txt +grep -qxF 'gpu_mem=16' /boot/config.txt || echo 'gpu_mem=16' >> /boot/config.txt + +# Selects the display type you have attached to your RPi +case $pwndisplay in + "none") + sed 's/displayenabled/false/g' /boot/config.yml;; + "waveshare_2") + sed 's/displayenabled/true/g' /boot/config.yml;; + sed 's/displaytype/waveshare_2/g' /boot/config.yml;; + "waveshare_1") + sed 's/displayenabled/true/g' /boot/config.yml;; + sed 's/displaytype/waveshare_1/g' /boot/config.yml;; + "waveshare27inch") + sed 's/displayenabled/true/g' /boot/config.yml;; + sed 's/displaytype/waveshare27inch/g' /boot/config.yml;; + "waveshare154inch") + sed 's/displayenabled/true/g' /boot/config.yml;; + sed 's/displaytype/waveshare154inch/g' /boot/config.yml;; + "inky") + sed 's/displayenabled/true/g' /boot/config.yml;; + sed 's/displaytype/inky/g' /boot/config.yml;; + "papirus") + sed 's/displayenabled/true/g' /boot/config.yml;; + sed 's/displaytype/papirus/g' /boot/config.yml;; + "oledhat") + sed 's/displayenabled/true/g' /boot/config.yml;; + sed 's/displaytype/oledhat/g' /boot/config.yml;; + "dfrobot") + sed 's/displayenabled/true/g' /boot/config.yml;; + sed 's/displaytype/dfrobot/g' /boot/config.yml;; + *) + echo "Unsupported configuration. Switching to no display"; + sed 's/displayenabled/false/g' /boot/config.yml;; +esac + +# Selects the color of your e-ink display +case $pwncolor in + "black") + sed 's/colortype/black/g' /boot/config.yml;; + "blue") + sed 's/colortype/blue/g' /boot/config.yml;; + "red") + sed 's/colortype/red/g' /boot/config.yml;; + "yellow") + sed 's/colortype/yellow/g' /boot/config.yml;; + *) + echo "Unsupported configuration. Switching to default color"; + sed 's/colortype/black/g' /boot/config.yml;; +esac + +# Selects the level of reporting to pwnagotchi servers +case $pwnreport in + "none") + sed 's/gridenabled/false/g' /boot/config.yml;; + sed 's/gridreport/false/g' /boot/config.yml;; + "partial") + sed 's/gridenabled/true/g' /boot/config.yml;; + sed 's/gridreport/false/g' /boot/config.yml;; + "full") + sed 's/gridenabled/true/g' /boot/config.yml;; + sed 's/gridreport/true/g' /boot/config.yml;; + *) + echo "Unsupported configuration. Switching to default reporting"; + sed 's/gridenabled/false/g' /boot/config.yml;; + sed 's/gridreport/false/g' /boot/config.yml;; +esac + # updates planet if there is an internet connection if [ $updateplanet = "true" ] && [ "$(treehouses internet)" ]; then docker pull treehouses/planet:latest From 3383fc92599870de1b2d8dd8193739639eba5d90 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Thu, 26 Dec 2019 21:48:53 +0200 Subject: [PATCH 11/45] Update 21_pwnagotchi.sh --- scripts.d/21_pwnagotchi.sh | 71 ++++---------------------------------- 1 file changed, 7 insertions(+), 64 deletions(-) diff --git a/scripts.d/21_pwnagotchi.sh b/scripts.d/21_pwnagotchi.sh index c53511e0..7cc71e83 100644 --- a/scripts.d/21_pwnagotchi.sh +++ b/scripts.d/21_pwnagotchi.sh @@ -4,12 +4,7 @@ source lib.sh # System variables ROOT=mnt/img_root -BETTERCAPSERVICE=$ROOT/etc/systemd/system/bettercap.service -BETTERCAPLAUNCHER=$ROOT/usr/bin/bettercap-launcher -PWNGRIDSERVICE=$ROOT/etc/systemd/system/pwngrid-peer.service PWNAGOTCHICONFIG=$ROOT/boot/config.yml -CONFIG=$ROOT/boot/config.txt -CMDLINE=$ROOT/boot/cmdline.txt # Install bettercap wget "https://github.com/bettercap/bettercap/releases/download/v2.26.1/bettercap_linux_armhf_v2.26.1.zip" @@ -17,65 +12,12 @@ unzip bettercap_linux_armhf_v2.26.1.zip mv bettercap $ROOT/usr/bin/ bettercap -eval "caplets.update; ui.update; quit" -# Create bettercap service -cat < $BETTERCAPSERVICE -[Unit] -Description=bettercap api.rest service. -Documentation=https://bettercap.org -Wants=network.target -After=pwngrid.service - -[Service] -Type=simple -PermissionsStartOnly=true -ExecStart=/usr/bin/bettercap-launcher -Restart=always -RestartSec=30 - -[Install] -WantedBy=multi-user.target -EOFA - -# Create bettercap launcher -cat < $BETTERCAPLAUNCHER -#!/usr/bin/env bash -/usr/bin/monstart -if [[ $(ifconfig | grep usb0 | grep RUNNING) ]] || [[ $(cat /sys/class/net/eth0/carrier) ]]; then - # if override file exists, go into auto mode - if [ -f /root/.pwnagotchi-auto ]; then - /usr/bin/bettercap -no-colors -caplet pwnagotchi-auto -iface mon0 - else - /usr/bin/bettercap -no-colors -caplet pwnagotchi-manual -iface mon0 - fi -else - /usr/bin/bettercap -no-colors -caplet pwnagotchi-auto -iface mon0 -fi -EOFB - # Install pwngrid wget "https://github.com/evilsocket/pwngrid/releases/download/v1.10.3/pwngrid_linux_armhf_v1.10.3.zip" unzip pwngrid_linux_armhf_v1.10.3.zip mv pwngrid $ROOT/usr/bin/ pwngrid -generate -keys $ROOT/etc/pwnagotchi -# Create pwngrid launcher -cat < /etc/systemd/system/pwngrid-peer.service -[Unit] -Description=pwngrid peer service. -Documentation=https://pwnagotchi.ai -Wants=network.target - -[Service] -Type=simple -PermissionsStartOnly=true -ExecStart=/usr/bin/pwngrid -keys /etc/pwnagotchi -address 127.0.0.1:8666 -client-token /root/.api-enrollment.json -wait -log /var/log/pwngrid-peer.log -iface mon0 -Restart=always -RestartSec=30 - -[Install] -WantedBy=multi-user.target -EOFC - # Install pwnagotchi wget "https://github.com/evilsocket/pwnagotchi/archive/v1.4.3.zip" unzip v1.4.3.zip @@ -83,20 +25,21 @@ cd pwnagotchi-1.4.3 pip3 install . # Create configuration file for pwnagotchi -cat < $PWNAGOTCHICONFIG +cat < $PWNAGOTCHICONFIG main: - name: hostname + name: "hostname" whitelist: - HomeNetwork plugins: grid: - enabled: true - report: true + enabled: gridenabled + report: gridreport exclude: - HomeNetwork ui: display: - type: display - color: color + enabled: displayenabled + type: "displaytype" + color: "colortype" EOFD From 4d56cbcf46d391a7497eeeda49a5585e6273b0f7 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 01:11:23 +0200 Subject: [PATCH 12/45] Update 21_pwnagotchi.sh --- scripts.d/21_pwnagotchi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts.d/21_pwnagotchi.sh b/scripts.d/21_pwnagotchi.sh index 7cc71e83..42087d83 100644 --- a/scripts.d/21_pwnagotchi.sh +++ b/scripts.d/21_pwnagotchi.sh @@ -42,4 +42,4 @@ ui: enabled: displayenabled type: "displaytype" color: "colortype" -EOFD +EOF From 2569f1e0b4664300ddb272a3727c01395402374a Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 15:02:17 +0200 Subject: [PATCH 13/45] Update 21_pwnagotchi.sh --- scripts.d/21_pwnagotchi.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts.d/21_pwnagotchi.sh b/scripts.d/21_pwnagotchi.sh index 42087d83..c7ba96f4 100644 --- a/scripts.d/21_pwnagotchi.sh +++ b/scripts.d/21_pwnagotchi.sh @@ -1,7 +1,5 @@ #!/bin/bash -source lib.sh - # System variables ROOT=mnt/img_root PWNAGOTCHICONFIG=$ROOT/boot/config.yml From 4400b37d7ad278eee4a490e890f3d8dec466cf89 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 19:32:18 +0200 Subject: [PATCH 14/45] Rename 21_pwnagotchi.sh to 20_pwnagotchi.sh --- scripts.d/{21_pwnagotchi.sh => 20_pwnagotchi.sh} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename scripts.d/{21_pwnagotchi.sh => 20_pwnagotchi.sh} (100%) diff --git a/scripts.d/21_pwnagotchi.sh b/scripts.d/20_pwnagotchi.sh similarity index 100% rename from scripts.d/21_pwnagotchi.sh rename to scripts.d/20_pwnagotchi.sh From 33db88cfe8a726fa4be86ec55f2cd5e4e38f9af1 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 19:42:52 +0200 Subject: [PATCH 15/45] Rename 20_pwnagotchi.sh to 03_pwnagotchi.sh --- scripts.d/{20_pwnagotchi.sh => 03_pwnagotchi.sh} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename scripts.d/{20_pwnagotchi.sh => 03_pwnagotchi.sh} (100%) diff --git a/scripts.d/20_pwnagotchi.sh b/scripts.d/03_pwnagotchi.sh similarity index 100% rename from scripts.d/20_pwnagotchi.sh rename to scripts.d/03_pwnagotchi.sh From 17dd0c3423ca6a666e0c60ee46461111a951996e Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 19:52:30 +0200 Subject: [PATCH 16/45] Update and rename 03_pwnagotchi.sh to 03_pwn.sh --- scripts.d/{03_pwnagotchi.sh => 03_pwn.sh} | 2 ++ 1 file changed, 2 insertions(+) rename scripts.d/{03_pwnagotchi.sh => 03_pwn.sh} (98%) diff --git a/scripts.d/03_pwnagotchi.sh b/scripts.d/03_pwn.sh similarity index 98% rename from scripts.d/03_pwnagotchi.sh rename to scripts.d/03_pwn.sh index c7ba96f4..42087d83 100644 --- a/scripts.d/03_pwnagotchi.sh +++ b/scripts.d/03_pwn.sh @@ -1,5 +1,7 @@ #!/bin/bash +source lib.sh + # System variables ROOT=mnt/img_root PWNAGOTCHICONFIG=$ROOT/boot/config.yml From 7555f06353c5a33828455f0f6e9c51afe4bd6567 Mon Sep 17 00:00:00 2001 From: vers4ce Date: Fri, 27 Dec 2019 20:13:28 +0200 Subject: [PATCH 17/45] make exec --- scripts.d/03_pwn.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 scripts.d/03_pwn.sh diff --git a/scripts.d/03_pwn.sh b/scripts.d/03_pwn.sh old mode 100644 new mode 100755 From ff13ae6d4019e91d06d44e31db26a7c1bd9aaa32 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 20:25:55 +0200 Subject: [PATCH 18/45] Rename 03_pwn.sh to 19_pwn.sh --- scripts.d/{03_pwn.sh => 19_pwn.sh} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename scripts.d/{03_pwn.sh => 19_pwn.sh} (100%) diff --git a/scripts.d/03_pwn.sh b/scripts.d/19_pwn.sh similarity index 100% rename from scripts.d/03_pwn.sh rename to scripts.d/19_pwn.sh From 52010fd81d4bb0f187522bf9830a52dd66bcb863 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 20:59:58 +0200 Subject: [PATCH 19/45] Update 16_pkg_install.sh --- scripts.d/16_pkg_install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts.d/16_pkg_install.sh b/scripts.d/16_pkg_install.sh index bc3029a4..503965f3 100755 --- a/scripts.d/16_pkg_install.sh +++ b/scripts.d/16_pkg_install.sh @@ -28,6 +28,9 @@ INSTALL_PACKAGES=( python3-coral-enviro # Coral environmental board bc # for memory command dnsutils + build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev # pwnagotchi dependencies + libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev + liblzma-dev zlib1g-dev libffi-dev ) if [[ ${INSTALL_PACKAGES:-} ]] ; then From 300cd63d59db9619c797d2769483d474283fc2d4 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 21:02:58 +0200 Subject: [PATCH 20/45] Update 19_pwn.sh --- scripts.d/19_pwn.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts.d/19_pwn.sh b/scripts.d/19_pwn.sh index 42087d83..fa3d98db 100755 --- a/scripts.d/19_pwn.sh +++ b/scripts.d/19_pwn.sh @@ -18,6 +18,14 @@ unzip pwngrid_linux_armhf_v1.10.3.zip mv pwngrid $ROOT/usr/bin/ pwngrid -generate -keys $ROOT/etc/pwnagotchi +# Install python 3.7.4 +wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz +sudo tar zxf Python-3.7.0.tgz +cd Python-3.7.0 +sudo ./configure +sudo make -j 4 +sudo make altinstall + # Install pwnagotchi wget "https://github.com/evilsocket/pwnagotchi/archive/v1.4.3.zip" unzip v1.4.3.zip From d41d294ad16514dab16780a03b490bbda074d49f Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 21:30:39 +0200 Subject: [PATCH 21/45] Update 19_pwn.sh --- scripts.d/19_pwn.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts.d/19_pwn.sh b/scripts.d/19_pwn.sh index fa3d98db..7227d629 100755 --- a/scripts.d/19_pwn.sh +++ b/scripts.d/19_pwn.sh @@ -20,11 +20,11 @@ pwngrid -generate -keys $ROOT/etc/pwnagotchi # Install python 3.7.4 wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz -sudo tar zxf Python-3.7.0.tgz +tar zxf Python-3.7.0.tgz cd Python-3.7.0 -sudo ./configure -sudo make -j 4 -sudo make altinstall +./configure +make -j 4 +make altinstall # Install pwnagotchi wget "https://github.com/evilsocket/pwnagotchi/archive/v1.4.3.zip" From 963faea5928990e6b0db633234eefbf791f81cf5 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 21:35:26 +0200 Subject: [PATCH 22/45] Update .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 145f3dde..a86c2e55 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,6 +20,7 @@ addons: - aria2 - tree - python-requests + - python3.7 script: mkdir images && sudo PATH=./node_modules/.bin:$PATH ./builder --noninteractive From c922564bee914f8b778d75b273ea9d83e2fec25c Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 21:36:19 +0200 Subject: [PATCH 23/45] Update 19_pwn.sh --- scripts.d/19_pwn.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts.d/19_pwn.sh b/scripts.d/19_pwn.sh index 7227d629..5da6ad45 100755 --- a/scripts.d/19_pwn.sh +++ b/scripts.d/19_pwn.sh @@ -19,12 +19,12 @@ mv pwngrid $ROOT/usr/bin/ pwngrid -generate -keys $ROOT/etc/pwnagotchi # Install python 3.7.4 -wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz -tar zxf Python-3.7.0.tgz -cd Python-3.7.0 -./configure -make -j 4 -make altinstall +#wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz +#tar zxf Python-3.7.0.tgz +#cd Python-3.7.0 +#./configure +#make -j 4 +#make altinstall # Install pwnagotchi wget "https://github.com/evilsocket/pwnagotchi/archive/v1.4.3.zip" From 40c35794d2d4a3f275b79a0952dafe83994a5393 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 21:38:46 +0200 Subject: [PATCH 24/45] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a86c2e55..fd837feb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,7 +20,7 @@ addons: - aria2 - tree - python-requests - - python3.7 + - python3 script: mkdir images && sudo PATH=./node_modules/.bin:$PATH ./builder --noninteractive From dbf85cf7f59a45ce9211519ef0f72cc7729704e5 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 22:03:39 +0200 Subject: [PATCH 25/45] Create install_python3.7.sh --- install_python3.7.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 install_python3.7.sh diff --git a/install_python3.7.sh b/install_python3.7.sh new file mode 100644 index 00000000..b494ddea --- /dev/null +++ b/install_python3.7.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +source lib.sh +# Install python 3.7.4 +wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz +tar zxf Python-3.7.0.tgz +cd Python-3.7.0 +./configure +make -j 4 +make altinstall From 19b1000a487c57a0946bfc7abd6b3cd390e33dc7 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 22:05:17 +0200 Subject: [PATCH 26/45] Update .travis.yml --- .travis.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fd837feb..2f733cb1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,13 @@ before_install: - sudo add-apt-repository "deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ disco universe" - sudo apt-get update - sudo apt-get install qemu-user-static:i386 - + - provider: script + script: ./install_python3.7.sh + skip_cleanup: true + on: + all_branches: true + tags: true + addons: apt: packages: From 07e6c3e0eb337d049b6e0f09839051bc8e5566ae Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 22:07:39 +0200 Subject: [PATCH 27/45] Update install_python3.7.sh --- install_python3.7.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install_python3.7.sh b/install_python3.7.sh index b494ddea..9350827f 100644 --- a/install_python3.7.sh +++ b/install_python3.7.sh @@ -1,6 +1,9 @@ #!/bin/bash source lib.sh + +apt-get install -y build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev + # Install python 3.7.4 wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz tar zxf Python-3.7.0.tgz From bc60af59063d245e4b2e2be2a678451f867c96bd Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 22:12:56 +0200 Subject: [PATCH 28/45] Update builder --- builder | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/builder b/builder index 0a90db69..21d4bdb5 100755 --- a/builder +++ b/builder @@ -187,6 +187,18 @@ function _count_authorized_keys_lines { echo "There are ${authorized_keys_lines} line(s) in /root/.ssh/authorized_keys" } +function _install_python37 { + echo "Installing Python 3.7.4" + apt-get install -y build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev + # Install python 3.7.4 + wget https://www.python.org/ftp/python/3.7.4/Python-3.7.4.tgz + tar zxf Python-3.7.4.tgz + cd Python-3.7.4 + ./configure + make -j 4 + make altinstall +} + function _modify_image { echo "Modifying Image" From 5ecf849c48a1672feed01f52fa13325478559ebc Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 22:13:12 +0200 Subject: [PATCH 29/45] Delete install_python3.7.sh --- install_python3.7.sh | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 install_python3.7.sh diff --git a/install_python3.7.sh b/install_python3.7.sh deleted file mode 100644 index 9350827f..00000000 --- a/install_python3.7.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -source lib.sh - -apt-get install -y build-essential tk-dev libncurses5-dev libncursesw5-dev libreadline6-dev libdb5.3-dev libgdbm-dev libsqlite3-dev libssl-dev libbz2-dev libexpat1-dev liblzma-dev zlib1g-dev libffi-dev - -# Install python 3.7.4 -wget https://www.python.org/ftp/python/3.7.0/Python-3.7.0.tgz -tar zxf Python-3.7.0.tgz -cd Python-3.7.0 -./configure -make -j 4 -make altinstall From ae6b867be9b17277f047b53e0f24c04ace9b2634 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 22:13:34 +0200 Subject: [PATCH 30/45] Update .travis.yml --- .travis.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2f733cb1..a1c99d40 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,12 +12,6 @@ before_install: - sudo add-apt-repository "deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ disco universe" - sudo apt-get update - sudo apt-get install qemu-user-static:i386 - - provider: script - script: ./install_python3.7.sh - skip_cleanup: true - on: - all_branches: true - tags: true addons: apt: From 8219970952af64076b8ba00418b08b1540a39307 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 22:26:52 +0200 Subject: [PATCH 31/45] Update builder --- builder | 1 + 1 file changed, 1 insertion(+) diff --git a/builder b/builder index 21d4bdb5..55bccd1d 100755 --- a/builder +++ b/builder @@ -284,6 +284,7 @@ fi _decompress_image _resize_image _open_image +_install_python37 if [[ "$1" == "--chroot" ]] ; then _modify_image From bf6f2dbd615314b12ca597e00a2ed4d6e7ac0554 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 22:43:22 +0200 Subject: [PATCH 32/45] Update builder --- builder | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/builder b/builder index 55bccd1d..0104e665 100755 --- a/builder +++ b/builder @@ -270,6 +270,8 @@ function _print_tag { _print_tag +_install_python37 + RASPBIAN_TORRENT=images/$(basename $RASPBIAN_TORRENT_URL) echo "$RASPBIAN_TORRENT" IMAGE_ZIP=${RASPBIAN_TORRENT%.torrent} @@ -284,7 +286,6 @@ fi _decompress_image _resize_image _open_image -_install_python37 if [[ "$1" == "--chroot" ]] ; then _modify_image From 7b78adcf2eac96a5b5381b88e4c78e71db7c5a7f Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 22:52:23 +0200 Subject: [PATCH 33/45] Update builder --- builder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder b/builder index 0104e665..1a50f643 100755 --- a/builder +++ b/builder @@ -270,7 +270,7 @@ function _print_tag { _print_tag -_install_python37 +#_install_python37 RASPBIAN_TORRENT=images/$(basename $RASPBIAN_TORRENT_URL) echo "$RASPBIAN_TORRENT" From 4c1a67cea5dbfbfd87aaa3d18c3bb82a65a6cd13 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 22:56:17 +0200 Subject: [PATCH 34/45] Update 19_pwn.sh --- scripts.d/19_pwn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts.d/19_pwn.sh b/scripts.d/19_pwn.sh index 5da6ad45..050a4b5f 100755 --- a/scripts.d/19_pwn.sh +++ b/scripts.d/19_pwn.sh @@ -30,7 +30,7 @@ pwngrid -generate -keys $ROOT/etc/pwnagotchi wget "https://github.com/evilsocket/pwnagotchi/archive/v1.4.3.zip" unzip v1.4.3.zip cd pwnagotchi-1.4.3 -pip3 install . +pyhton3-pip install . # Create configuration file for pwnagotchi cat < $PWNAGOTCHICONFIG From 23301cfe74b15ed2814e510460dd3b295e0ae8b3 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 23:04:54 +0200 Subject: [PATCH 35/45] Update 19_pwn.sh --- scripts.d/19_pwn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts.d/19_pwn.sh b/scripts.d/19_pwn.sh index 050a4b5f..d8c163ff 100755 --- a/scripts.d/19_pwn.sh +++ b/scripts.d/19_pwn.sh @@ -30,7 +30,7 @@ pwngrid -generate -keys $ROOT/etc/pwnagotchi wget "https://github.com/evilsocket/pwnagotchi/archive/v1.4.3.zip" unzip v1.4.3.zip cd pwnagotchi-1.4.3 -pyhton3-pip install . +pip-3.5 install . # Create configuration file for pwnagotchi cat < $PWNAGOTCHICONFIG From fa2ff2da881d4ccfb27f63ad4c2e6358a7051f6f Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 23:05:27 +0200 Subject: [PATCH 36/45] Update .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index a1c99d40..ad7f7ca6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,7 @@ addons: - tree - python-requests - python3 + - python3-pip script: mkdir images && sudo PATH=./node_modules/.bin:$PATH ./builder --noninteractive From e630efe6c7b3d790662e8c980e6c3de23e9fd452 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 23:24:51 +0200 Subject: [PATCH 37/45] Update .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index ad7f7ca6..64b723d0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,6 +35,7 @@ before_deploy: - . .travis/environment.sh - echo "$experiment" - echo "$image_path" + - dpkg -L python3-pip deploy: - provider: script From ed25c8b212b271cdb431216737eb3beee0b88b76 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 23:30:30 +0200 Subject: [PATCH 38/45] Update .travis.yml --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 64b723d0..ad7f7ca6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -35,7 +35,6 @@ before_deploy: - . .travis/environment.sh - echo "$experiment" - echo "$image_path" - - dpkg -L python3-pip deploy: - provider: script From e75c7da52ed95af1d28627658ab68472c55b14a8 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 23:31:26 +0200 Subject: [PATCH 39/45] Update builder --- builder | 1 + 1 file changed, 1 insertion(+) diff --git a/builder b/builder index 1a50f643..cdd7a2b2 100755 --- a/builder +++ b/builder @@ -269,6 +269,7 @@ function _print_tag { } _print_tag +dpkg -L python3-pip #_install_python37 From 65341e100b2f5fcc73f4a30093b1261cd14b393d Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 23:36:05 +0200 Subject: [PATCH 40/45] Update builder --- builder | 1 - 1 file changed, 1 deletion(-) diff --git a/builder b/builder index cdd7a2b2..1a50f643 100755 --- a/builder +++ b/builder @@ -269,7 +269,6 @@ function _print_tag { } _print_tag -dpkg -L python3-pip #_install_python37 From 1de7c42c31a6a48ab3d430093f260bf302afdfb2 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 23:36:32 +0200 Subject: [PATCH 41/45] Update 19_pwn.sh --- scripts.d/19_pwn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts.d/19_pwn.sh b/scripts.d/19_pwn.sh index d8c163ff..53b1a69e 100755 --- a/scripts.d/19_pwn.sh +++ b/scripts.d/19_pwn.sh @@ -30,7 +30,7 @@ pwngrid -generate -keys $ROOT/etc/pwnagotchi wget "https://github.com/evilsocket/pwnagotchi/archive/v1.4.3.zip" unzip v1.4.3.zip cd pwnagotchi-1.4.3 -pip-3.5 install . +pip install . # Create configuration file for pwnagotchi cat < $PWNAGOTCHICONFIG From 44b13012a7d65f83eac53c6e6a20cf957728c616 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 23:44:00 +0200 Subject: [PATCH 42/45] Update 19_pwn.sh --- scripts.d/19_pwn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts.d/19_pwn.sh b/scripts.d/19_pwn.sh index 53b1a69e..9f848f86 100755 --- a/scripts.d/19_pwn.sh +++ b/scripts.d/19_pwn.sh @@ -30,7 +30,7 @@ pwngrid -generate -keys $ROOT/etc/pwnagotchi wget "https://github.com/evilsocket/pwnagotchi/archive/v1.4.3.zip" unzip v1.4.3.zip cd pwnagotchi-1.4.3 -pip install . +pip-3.1 install . # Create configuration file for pwnagotchi cat < $PWNAGOTCHICONFIG From 94250983cbbc3d7dea41590cbbcb75cbf8637aa0 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 23:44:16 +0200 Subject: [PATCH 43/45] Update 19_pwn.sh --- scripts.d/19_pwn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts.d/19_pwn.sh b/scripts.d/19_pwn.sh index 9f848f86..af23e364 100755 --- a/scripts.d/19_pwn.sh +++ b/scripts.d/19_pwn.sh @@ -30,7 +30,7 @@ pwngrid -generate -keys $ROOT/etc/pwnagotchi wget "https://github.com/evilsocket/pwnagotchi/archive/v1.4.3.zip" unzip v1.4.3.zip cd pwnagotchi-1.4.3 -pip-3.1 install . +pip-3.2 install . # Create configuration file for pwnagotchi cat < $PWNAGOTCHICONFIG From 5b4f4fef59127d04d835d140820d48f66f34ab41 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 23:44:28 +0200 Subject: [PATCH 44/45] Update 19_pwn.sh --- scripts.d/19_pwn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts.d/19_pwn.sh b/scripts.d/19_pwn.sh index af23e364..975ef3ae 100755 --- a/scripts.d/19_pwn.sh +++ b/scripts.d/19_pwn.sh @@ -30,7 +30,7 @@ pwngrid -generate -keys $ROOT/etc/pwnagotchi wget "https://github.com/evilsocket/pwnagotchi/archive/v1.4.3.zip" unzip v1.4.3.zip cd pwnagotchi-1.4.3 -pip-3.2 install . +pip-3.4 install . # Create configuration file for pwnagotchi cat < $PWNAGOTCHICONFIG From 657c1b7a7fc6c1e951a4d00f29af4e7992ce0c91 Mon Sep 17 00:00:00 2001 From: Vassilis Kafetzopoulos Date: Fri, 27 Dec 2019 23:44:43 +0200 Subject: [PATCH 45/45] Update 19_pwn.sh --- scripts.d/19_pwn.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts.d/19_pwn.sh b/scripts.d/19_pwn.sh index 975ef3ae..8417c463 100755 --- a/scripts.d/19_pwn.sh +++ b/scripts.d/19_pwn.sh @@ -30,7 +30,7 @@ pwngrid -generate -keys $ROOT/etc/pwnagotchi wget "https://github.com/evilsocket/pwnagotchi/archive/v1.4.3.zip" unzip v1.4.3.zip cd pwnagotchi-1.4.3 -pip-3.4 install . +pip-3.7 install . # Create configuration file for pwnagotchi cat < $PWNAGOTCHICONFIG