From 657e38fb342837d65e102355cf203201d66574aa Mon Sep 17 00:00:00 2001 From: c0de Date: Wed, 17 Aug 2022 16:00:54 -0500 Subject: [PATCH] Remove WipeOS-Specific bins --- home/bin/backdoor | 15 --------------- home/bin/fast-debug | 1 - home/bin/vpnip | 4 ---- 3 files changed, 20 deletions(-) delete mode 100755 home/bin/backdoor delete mode 120000 home/bin/fast-debug delete mode 100755 home/bin/vpnip diff --git a/home/bin/backdoor b/home/bin/backdoor deleted file mode 100755 index c5b6dd4..0000000 --- a/home/bin/backdoor +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/bash -# Provides access over our VPN to a shell-in-a-box instance that -# is running on some WipeOS appliances. This backdoor exists for -# instances that the appliance is on the VPN, but for whatever reason -# we can't ssh in. This was brought about due to our Padnos customer. - -CLIENTIP="$1" -if [[ $# -le 0 ]]; then - echo "please pass me the appliance's VPN address" - exit 1 -fi - -xdg-open http://localhost/shell/ -sudo ssh -L "localhost:80:${CLIENTIP}:80" production-portal - diff --git a/home/bin/fast-debug b/home/bin/fast-debug deleted file mode 120000 index 7a5747c..0000000 --- a/home/bin/fast-debug +++ /dev/null @@ -1 +0,0 @@ -/home/dtodd/dev/WipeOS/Infrastructure/remote_debugging/fast-debug \ No newline at end of file diff --git a/home/bin/vpnip b/home/bin/vpnip deleted file mode 100755 index f3a88b4..0000000 --- a/home/bin/vpnip +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -ssh -t login.wipeos.com "grep $1 /var/log/openvpn/openvpn-status.log" 2>/dev/null | cut -d$'\n' -f2 | cut -d',' -f1 -