Update Installer

This commit is contained in:
deltax 2017-02-22 13:32:00 +01:00
parent 242a820184
commit b2f7c1686c
3 changed files with 18 additions and 45 deletions

View File

@ -57,12 +57,12 @@ fi
function mostrarheader(){ function mostrarheader(){
conditional_clear
echo -e "$blue#########################################################" echo -e "$red[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]"
echo -e "$blue# #" echo -e "$red[ ]"
echo -e "$blue# $red FLUXION $version" "${yellow} ${red} < F""${yellow}luxion" "${red}I""${yellow}s" "${red}T""${yellow}he ""${red}F""${yellow}uture > " ${blue}" #" echo -e "$red[ $red FLUXION $version" "${yellow} ${red} < F""${yellow}luxion" "${red}I""${yellow}s" "${red}T""${yellow}he ""${red}F""${yellow}uture > " ${blue}" ]"
echo -e "$blue# #" echo -e "$blue[ ]"
echo -e "$blue#########################################################""$transparent" echo -e "$blue[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]""$transparent"
echo echo
echo echo

22
fluxion
View File

@ -36,8 +36,8 @@ HANDSHAKE_PATH="/root/handshakes"
PASSLOG_PATH="/root/pwlog" PASSLOG_PATH="/root/pwlog"
WORK_DIR=`pwd` WORK_DIR=`pwd`
DEAUTHTIME="9999999999999" DEAUTHTIME="9999999999999"
revision=124 revision=125
version=0.24 version=0.25
IP=192.168.1.1 IP=192.168.1.1
RANG_IP=$(echo $IP | cut -d "." -f 1,2,3) RANG_IP=$(echo $IP | cut -d "." -f 1,2,3)
@ -602,15 +602,6 @@ function checkdependences {
fi fi
sleep 0.025 sleep 0.025
echo -ne "bully..........."
if ! hash bully 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "curl............" echo -ne "curl............"
if ! hash curl 2>/dev/null; then if ! hash curl 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent"" echo -e "\e[1;31mNot installed"$transparent""
@ -711,15 +702,6 @@ function checkdependences {
fi fi
sleep 0.025 sleep 0.025
echo -ne "reaver.........."
if ! hash reaver 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent""
exit=1
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
echo -ne "unzip..........." echo -ne "unzip..........."
if ! hash unzip 2>/dev/null; then if ! hash unzip 2>/dev/null; then
echo -e "\e[1;31mNot installed"$transparent"" echo -e "\e[1;31mNot installed"$transparent""

View File

@ -10,7 +10,8 @@ fi
#Config #Config
version=2 version=2
revision=6 revision=7
#Colors #Colors
red='\e[1;31m' red='\e[1;31m'
blue='\e[1;34m' blue='\e[1;34m'
@ -57,12 +58,12 @@ fi
function mostrarheader(){ function mostrarheader(){
conditional_clear
echo -e "$blue#########################################################" echo -e "$red[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]"
echo -e "$blue# #" echo -e "$red[ ]"
echo -e "$blue# $red FLUXION $version" "${yellow} ${red} < F""${yellow}luxion" "${red}I""${yellow}s" "${red}T""${yellow}he ""${red}F""${yellow}uture > " ${blue}" #" echo -e "$red[ $red FLUXION $version" "${yellow} ${red} < F""${yellow}luxion" "${red}I""${yellow}s" "${red}T""${yellow}he ""${red}F""${yellow}uture > " ${blue}" ]"
echo -e "$blue# #" echo -e "$blue[ ]"
echo -e "$blue#########################################################""$transparent" echo -e "$blue[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]""$transparent"
echo echo
echo echo
@ -298,7 +299,7 @@ echo -ne "Php-cgi........"
sleep 0.025 sleep 0.025
############################## ##############################
echo -ne "Pyrit..........." echo -ne "Pyrit.........."
if ! hash pyrit 2>/dev/null; then if ! hash pyrit 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Pyrit" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install pyrit xterm $HOLD -title "Installing Pyrit" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install pyrit
@ -316,19 +317,9 @@ echo -ne "Python.........."
echo -e "\e[1;32mOK!"$transparent echo -e "\e[1;32mOK!"$transparent
fi fi
sleep 0.025 sleep 0.025
##############################
echo -ne "Reaver.........."
if ! hash reaver 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Reaver" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install reaver
else
echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
############################## ##############################
echo -ne "rfkill.........." echo -ne "rfkill.........."
if ! hash rfkill 2>/dev/null; then if ! hash rfkill 2>/dev/null; then
echo -e "\e[1;31mInstalling ..."$transparent"" echo -e "\e[1;31mInstalling ..."$transparent""
xterm $HOLD -title "Installing Rfkill" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install rfkill xterm $HOLD -title "Installing Rfkill" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install rfkill