Fix Menu / Add Login Page Menu / Fix Stuff

This commit is contained in:
William Todt 2016-03-30 08:38:24 +03:00
parent 5e0a3b5fca
commit f14f5fd728
1 changed files with 72 additions and 11 deletions

75
fluxion
View File

@ -2414,11 +2414,39 @@ function webinterface {
echo
echo -n "#? "
read line
read yn
case $yn in
1 ) matartodo; Menu; break;;
2 ) matartodo; exitmode; break;;
esac
done
}
function Menu {
while true; do
mostrarheader
echo "Select Login Page"
echo " "
echo -e "$blue""1)"$transparent" Connection Reset [RECOMMENDED]"
echo -e "$blue""2)"$transparent" Login Pages"
echo -e "$blue""3)"$transparent" \e[1;31mExit"$transparent""
echo " "
echo -n ' #> '
read yn
case $yn in
1 ) matartodo; ConnectionRESET; selection; break;;
2 ) matartodo; LoginPages ;selection; break;;
3 ) matartodo; exitmode; break;;
* ) echo "Unknown option. Choose again"; conditional_clear ;;
esac
done
}
function ConnectionRESET {
if [ "$line" = "2" ]; then
exitmode
elif [ "$line" = "1" ]; then
conditional_clear
mostrarheader
@ -2434,7 +2462,6 @@ function webinterface {
echo -e "$blue""5)"$transparent" Portuguese [POR]"
echo -e "$blue""6)"$transparent" German [GER]"
echo -e "$blue""7)"$transparent" \e[1;31mBack"$transparent""
echo
echo -n "#? "
read fluxass
@ -2451,6 +2478,9 @@ function webinterface {
DIALOG_WEB_LENGHT_MAX=$DIALOG_WEB_LENGHT_MAX_ENG
NEUTRA
break
elif [ "$fluxass" = "2" ]; then
DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_ESP
DIALOG_WEB_INFO=$DIALOG_WEB_INFO_ESP
@ -2510,13 +2540,44 @@ function webinterface {
elif [ "$fluxass" = "7" ]; then
continue
fi
fi
done
preattack
attack
}
function LoginPages {
while true; do
mostrarheader
echo "Select Login Page"
echo " "
echo -e "$blue""1)"$transparent" Login Page Netgear"
echo -e "$blue""2)"$transparent" Login Page Verizon"
echo -e "$blue""3)"$transparent" Login Page Xfinity"
echo -e "$blue""4)"$transparent" General Login Page"
echo -e "$blue""5)"$transparent" \e[1;31mExit"$transparent""
echo " "
echo -n ' #> '
read yn
case $yn in
1 ) matartodo; LoginNetgear; selection; break;;
2 ) matartodo; LoginVerizon ;selection; break;;
3 ) matartodo; LoginXfinity; selection; break;;
4 ) matartodo; LoginGeneral; selection; break;;
5 ) matartodo; exitmode; break;;
* ) echo "Unknown option. Choose again"; conditional_clear ;;
esac
done
}
# Create different settings required for the script
function preattack {