mirror of
https://github.com/richardsonjf/shellphish.git
synced 2025-12-12 14:09:17 -08:00
Update shellphish.sh
This commit is contained in:
@@ -11,8 +11,6 @@ trap 'printf "\n";stop;exit 1' 2
|
||||
dependencies() {
|
||||
|
||||
command -v php > /dev/null 2>&1 || { echo >&2 "I require php but it's not installed. Install it. Aborting."; exit 1; }
|
||||
|
||||
command -v wget > /dev/null 2>&1 || { echo >&2 "I require wget but it's not installed. Install it. Aborting."; exit 1; }
|
||||
command -v curl > /dev/null 2>&1 || { echo >&2 "I require curl but it's not installed. Install it. Aborting."; exit 1; }
|
||||
|
||||
}
|
||||
@@ -366,11 +364,14 @@ fi
|
||||
if [[ -e ngrok ]]; then
|
||||
echo ""
|
||||
else
|
||||
command -v wget > /dev/null 2>&1 || { echo >&2 "I require wget but it's not installed. Install it. Aborting."; exit 1; }
|
||||
command -v unzip > /dev/null 2>&1 || { echo >&2 "I require unzip but it's not installed. Install it. Aborting."; exit 1; }
|
||||
|
||||
printf "\e[1;92m[\e[0m*\e[1;92m] Downloading Ngrok...\n"
|
||||
arch=$(uname -a | grep -o 'arm' | head -n1)
|
||||
arch2=$(uname -a | grep -o 'Android' | head -n1)
|
||||
if [[ $arch == *'arm'* ]] || [[ $arch2 == *'Android'* ]] ; then
|
||||
|
||||
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip > /dev/null 2>&1
|
||||
|
||||
if [[ -e ngrok-stable-linux-arm.zip ]]; then
|
||||
|
||||
Reference in New Issue
Block a user