globalvariable
-
Posts
4 -
Joined
-
Last visited
Posts posted by globalvariable
-
-
Yes, I am starting it as root.
I am using sudo sh wp4.sh.
My friend doesn't have the problem either.
This is pretty weird.
-
So far I have tried it in Linux Backbox 3.0, Ubuntu 12.04 LTS, and Linux Mint 14.
All have returned the same error.
-
After using wget to retrieve the wp4.sh file for the wifi pineapple (Mark IV) after pressing enter for the pineapple netmask I get an error which is the following:
wp4.sh: 14: wp4.sh: [[: not found
The first few lines of the code for the script are:
#!/bin/bash
#define variables
echo "$(tput setaf 1) _ ___ _______ ____ _ __ "
echo " | | / (_) ____(_) / __ \\(_)___ ___ ____ _____ ____ / /__ "
echo " | | /| / / / /_ / / / /_/ / / __ \/ _ \/ __ '/ __ \/ __ \/ / _ \\"
echo " | |/ |/ / / __/ / / / ____/ / / / / __/ /_/ / /_/ / /_/ / / __/"
echo " |__/|__/_/_/ /_/ /_/ /_/_/ /_/\___/\__,_/ .___/ .___/_/\___/ "
echo " $(tput sgr0) OWN the Network $(tput setaf 1)/_/ /_/$(tput sgr0) v2.1"
echo ""
echo -n "Pineapple Netmask [255.255.255.0]: "
read pineapplenetmask
if [[ $pineapplenetmask == '' ]]; then
pineapplenetmask=255.255.255.0 #Default netmask for /24 network
fi
wp4.sh Error
in WiFi Pineapple Mark IV
Posted
Regardless of the way I run it, it still comes up with the same error.