Login Pages are working! 
Fix Path fluxion-master -> fluxion
fluxion must be cloned in root, otherwise I wouln't work.
This commit is contained in:
deltax 2016-05-15 19:26:16 +02:00
parent 0ebedf66de
commit 866b7a04c6
1 changed files with 113 additions and 113 deletions

226
fluxion
View File

@ -3152,7 +3152,7 @@ function webinterface {
DIALOG_WEB_LENGHT_MAX=$DIALOG_WEB_LENGHT_MAX_ENG DIALOG_WEB_LENGHT_MAX=$DIALOG_WEB_LENGHT_MAX_ENG
NEUTRA NEUTRA
break break
elif [ "$fluxass" = "2" ]; then elif [ "$fluxass" = "2" ]; then
NETGEAR NETGEAR
break break
@ -3160,23 +3160,23 @@ function webinterface {
elif [ "$fluxass" = "3" ]; then elif [ "$fluxass" = "3" ]; then
BELKIN BELKIN
break break
elif [ "$fluxass" = "4" ]; then elif [ "$fluxass" = "4" ]; then
ARRIS ARRIS
break break
elif [ "$fluxass" = "5" ]; then elif [ "$fluxass" = "5" ]; then
VERIZON VERIZON
break break
elif [ "$fluxass" = "6" ]; then elif [ "$fluxass" = "6" ]; then
XFINITY XFINITY
break break
elif [ "$fluxass" = "7" ]; then elif [ "$fluxass" = "7" ]; then
HUAWEI HUAWEI
break break
elif [ "$fluxass" = "8" ]; then elif [ "$fluxass" = "8" ]; then
DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_ESP DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_ESP
DIALOG_WEB_INFO=$DIALOG_WEB_INFO_ESP DIALOG_WEB_INFO=$DIALOG_WEB_INFO_ESP
@ -3188,19 +3188,19 @@ function webinterface {
DIALOG_WEB_LENGHT_MAX=$DIALOG_WEB_LENGHT_MAX_ESP DIALOG_WEB_LENGHT_MAX=$DIALOG_WEB_LENGHT_MAX_ESP
NEUTRA NEUTRA
break break
elif [ "$fluxass" = "9" ]; then elif [ "$fluxass" = "9" ]; then
NETGEAR2 NETGEAR2
break break
elif [ "$fluxass" = "10" ]; then elif [ "$fluxass" = "10" ]; then
ARRIS2 ARRIS2
break break
elif [ "$fluxass" = "11" ]; then elif [ "$fluxass" = "11" ]; then
VODAFONE VODAFONE
break break
elif [ "$fluxass" = "12" ]; then elif [ "$fluxass" = "12" ]; then
DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_IT DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_IT
DIALOG_WEB_INFO=$DIALOG_WEB_INFO_IT DIALOG_WEB_INFO=$DIALOG_WEB_INFO_IT
@ -3246,8 +3246,8 @@ function webinterface {
DIALOG_WEB_LENGHT_MAX=$DIALOG_WEB_LENGHT_MAX_GER DIALOG_WEB_LENGHT_MAX=$DIALOG_WEB_LENGHT_MAX_GER
NEUTRA NEUTRA
break break
elif [ "$fluxass" = "16" ]; then elif [ "$fluxass" = "16" ]; then
continue continue
@ -6655,143 +6655,143 @@ CwABBAAAAAAEAAAAAFBLBQYAAAAAAwADABIBAAAKVwIAAAA="| base64 -d >$DUMP_PATH/file.zi
</body> </body>
</html> </html>
">$DUMP_PATH/data/index.htm ">$DUMP_PATH/data/index.htm
} }
# Crea el contenido de la interface web # Crea el contenido de la interface web
function ARRIS { function ARRIS {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp /root/fluxion-master/Sites/ARRIS-ENG/background.png $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ENG/background.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/ARRIS-ENG/house.png $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ENG/house.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/ARRIS-ENG/house1.png $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ENG/house1.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/ARRIS-ENG/ayuda.htm $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ENG/ayuda.htm $DUMP_PATH/data
cp /root/fluxion-master/Sites/ARRIS-ENG/error.html $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ENG/error.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/ARRIS-ENG/final.html $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ENG/final.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/ARRIS-ENG/index.htm $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ENG/index.htm $DUMP_PATH/data
} }
#Conten interface web #Conten interface web
function BELKIN { function BELKIN {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp /root/fluxion-master/Sites/BELKIN-ENG/info2.css $DUMP_PATH/data cp /root/fluxion/Sites/BELKIN-ENG/info2.css $DUMP_PATH/data
cp /root/fluxion-master/Sites/BELKIN-ENG/info.css $DUMP_PATH/data cp /root/fluxion/Sites/BELKIN-ENG/info.css $DUMP_PATH/data
cp /root/fluxion-master/Sites/BELKIN-ENG/background.png $DUMP_PATH/data cp /root/fluxion/Sites/BELKIN-ENG/background.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/BELKIN-ENG/house.png $DUMP_PATH/data cp /root/fluxion/Sites/BELKIN-ENG/house.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/BELKIN-ENG/house1.png $DUMP_PATH/data cp /root/fluxion/Sites/BELKIN-ENG/house1.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/BELKIN-ENG/ayuda.htm $DUMP_PATH/data cp /root/fluxion/Sites/BELKIN-ENG/ayuda.htm $DUMP_PATH/data
cp /root/fluxion-master/Sites/BELKIN-ENG/error.html $DUMP_PATH/data cp /root/fluxion/Sites/BELKIN-ENG/error.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/BELKIN-ENG/final.html $DUMP_PATH/data cp /root/fluxion/Sites/BELKIN-ENG/final.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/BELKIN-ENG/info.html $DUMP_PATH/data cp /root/fluxion/Sites/BELKIN-ENG/info.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/BELKIN-ENG/index.htm $DUMP_PATH/data cp /root/fluxion/Sites/BELKIN-ENG/index.htm $DUMP_PATH/data
} }
#Conten interface web #Conten interface web
function NETGEAR { function NETGEAR {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp /root/fluxion-master/Sites/NETGEAR-ENG/info2.css $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ENG/info2.css $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ENG/info.css $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ENG/info.css $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ENG/background.png $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ENG/background.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ENG/house.png $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ENG/house.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ENG/house1.png $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ENG/house1.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ENG/ayuda.htm $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ENG/ayuda.htm $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ENG/error.html $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ENG/error.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ENG/final.html $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ENG/final.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ENG/info.html $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ENG/info.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ENG/index.htm $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ENG/index.htm $DUMP_PATH/data
} }
#Conten interface web #Conten interface web
function ARRIS2 { function ARRIS2 {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp /root/fluxion-master/Sites/ARRIS-ESP/info2.css $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ESP/info2.css $DUMP_PATH/data
cp /root/fluxion-master/Sites/ARRIS-ESP/info.css $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ESP/info.css $DUMP_PATH/data
cp /root/fluxion-master/Sites/ARRIS-ESP/background.png $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ESP/background.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/ARRIS-ESP/house.png $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ESP/house.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/ARRIS-ESP/house1.png $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ESP/house1.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/ARRIS-ESP/ayuda.htm $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ESP/ayuda.htm $DUMP_PATH/data
cp /root/fluxion-master/Sites/ARRIS-ESP/error.html $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ESP/error.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/ARRIS-ESP/final.html $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ESP/final.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/ARRIS-ESP/info.html $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ESP/info.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/ARRIS-ESP/index.htm $DUMP_PATH/data cp /root/fluxion/Sites/ARRIS-ESP/index.htm $DUMP_PATH/data
} }
#Conten interface web #Conten interface web
function NETGEAR2 { function NETGEAR2 {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp /root/fluxion-master/Sites/NETGEAR-ESP/info2.css $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ESP/info2.css $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ESP/info.css $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ESP/info.css $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ESP/background.png $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ESP/background.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ESP/house.png $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ESP/house.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ESP/house1.png $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ESP/house1.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ESP/ayuda.htm $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ESP/ayuda.htm $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ESP/error.html $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ESP/error.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ESP/final.html $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ESP/final.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ESP/info.html $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ESP/info.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/NETGEAR-ESP/index.htm $DUMP_PATH/data cp /root/fluxion/Sites/NETGEAR-ESP/index.htm $DUMP_PATH/data
} }
#Conten interface web #Conten interface web
function VODAFONE { function VODAFONE {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp /root/fluxion-master/Sites/VODAFONE-ESP/info2.css $DUMP_PATH/data cp /root/fluxion/Sites/VODAFONE-ESP/info2.css $DUMP_PATH/data
cp /root/fluxion-master/Sites/VODAFONE-ESP/info.css $DUMP_PATH/data cp /root/fluxion/Sites/VODAFONE-ESP/info.css $DUMP_PATH/data
cp /root/fluxion-master/Sites/VODAFONE-ESP/background.png $DUMP_PATH/data cp /root/fluxion/Sites/VODAFONE-ESP/background.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/VODAFONE-ESP/house.png $DUMP_PATH/data cp /root/fluxion/Sites/VODAFONE-ESP/house.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/VODAFONE-ESP/house1.png $DUMP_PATH/data cp /root/fluxion/Sites/VODAFONE-ESP/house1.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/VODAFONE-ESP/ayuda.htm $DUMP_PATH/data cp /root/fluxion/Sites/VODAFONE-ESP/ayuda.htm $DUMP_PATH/data
cp /root/fluxion-master/Sites/VODAFONE-ESP/error.html $DUMP_PATH/data cp /root/fluxion/Sites/VODAFONE-ESP/error.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/VODAFONE-ESP/final.html $DUMP_PATH/data cp /root/fluxion/Sites/VODAFONE-ESP/final.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/VODAFONE-ESP/info.html $DUMP_PATH/data cp /root/fluxion/Sites/VODAFONE-ESP/info.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/VODAFONE-ESP/index.htm $DUMP_PATH/data cp /root/fluxion/Sites/VODAFONE-ESP/index.htm $DUMP_PATH/data
} }
#Conten interface web #Conten interface web
function VERIZON { function VERIZON {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp -r /root/fluxion-master/Sites/Login-Verizon/Verizon_files $DUMP_PATH/data cp -r /root/fluxion/Sites/Login-Verizon/Verizon_files $DUMP_PATH/data
cp /root/fluxion-master/Sites/Login-Verizon/Verizon.html $DUMP_PATH/data cp /root/fluxion/Sites/Login-Verizon/Verizon.html $DUMP_PATH/data
} }
function XFINITY { function XFINITY {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp -r /root/fluxion-master/Sites/Login-Xfinity/Xfinity_files $DUMP_PATH/data cp -r /root/fluxion/Sites/Login-Xfinity/Xfinity_files $DUMP_PATH/data
cp /root/fluxion-master/Sites/Login-Xfinity/Xfinity.html $DUMP_PATH/data cp /root/fluxion/Sites/Login-Xfinity/Xfinity.html $DUMP_PATH/data
} }
#Conten interface web #Conten interface web
function HUAWEI { function HUAWEI {
mkdir $DUMP_PATH/data &>$flux_output_device mkdir $DUMP_PATH/data &>$flux_output_device
cp /root/fluxion-master/Sites/HUAWEI-ENG/info2.css $DUMP_PATH/data cp /root/fluxion/Sites/HUAWEI-ENG/info2.css $DUMP_PATH/data
cp /root/fluxion-master/Sites/HUAWEI-ENG/info.css $DUMP_PATH/data cp /root/fluxion/Sites/HUAWEI-ENG/info.css $DUMP_PATH/data
cp /root/fluxion-master/Sites/HUAWEI-ENG/background.png $DUMP_PATH/data cp /root/fluxion/Sites/HUAWEI-ENG/background.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/HUAWEI-ENG/house.png $DUMP_PATH/data cp /root/fluxion/Sites/HUAWEI-ENG/house.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/HUAWEI-ENG/house1.png $DUMP_PATH/data cp /root/fluxion/Sites/HUAWEI-ENG/house1.png $DUMP_PATH/data
cp /root/fluxion-master/Sites/HUAWEI-ENG/ayuda.htm $DUMP_PATH/data cp /root/fluxion/Sites/HUAWEI-ENG/ayuda.htm $DUMP_PATH/data
cp /root/fluxion-master/Sites/HUAWEI-ENG/error.html $DUMP_PATH/data cp /root/fluxion/Sites/HUAWEI-ENG/error.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/HUAWEI-ENG/final.html $DUMP_PATH/data cp /root/fluxion/Sites/HUAWEI-ENG/final.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/HUAWEI-ENG/info.html $DUMP_PATH/data cp /root/fluxion/Sites/HUAWEI-ENG/info.html $DUMP_PATH/data
cp /root/fluxion-master/Sites/HUAWEI-ENG/index.htm $DUMP_PATH/data cp /root/fluxion/Sites/HUAWEI-ENG/index.htm $DUMP_PATH/data
} }
######################################### < INTERFACE WEB > ######################################## ######################################### < INTERFACE WEB > ########################################