Skip to content

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

Fix phantom installer

six2dezcd50b711e5dc
diff --git a/install.sh b/install.sh
index 0a262de..eaf0f74 100755
--- a/install.sh
+++ b/install.sh
@@ -8,6 +8,7 @@ bred='\033[1;31m'
DEBUG_STD="&>/dev/null"
DEBUG_ERROR="2>/dev/null"
+SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
if grep -q "ARMv" /proc/cpuinfo
then
@@ -73,6 +74,7 @@ then
eval $SUDO wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 $DEBUG_STD
eval $SUDO tar xvf phantomjs-2.1.1-linux-x86_64.tar.bz2 $DEBUG_STD
eval $SUDO ln -s /opt/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs $DEBUG_STD
+ cd $SCRIPTPATH
fi
[ ! -d "~/.gf" ] && mkdir -p ~/.gf