fix typos

This commit is contained in:
William Todt 2016-04-28 08:15:05 -04:00
parent edb6729e9e
commit cf23d8c245
1 changed files with 20 additions and 13 deletions

33
fluxion
View File

@ -658,8 +658,7 @@ function setinterface {
echo $detectedresolution
echo
if [ "$INTERFACESNUMBER" -gt "0" ]; then
echo "Select an interface"
@ -711,8 +710,7 @@ function setinterface {
fi
deltax
}
}
# Check files
function deltax {
@ -2297,21 +2295,19 @@ function deauthMENU {
echo
echo -e "Status handshake: $Handshake_statuscheck"
echo
echo -e " "$blue"1)"$transparent" Yes"
echo -e " "$blue"2)"$transparent" Strike again "
echo -e " "$blue"3)"$transparent" No (Select another attack)"
echo -e " "$blue"4)"$transparent" Select another network"
echo -e " "$blue"5)"$transparent" Exit"
echo -e " "$blue"1)"$transparent" Start"
echo -e " "$blue"2)"$transparent" No (Select another attack)"
echo -e " "$blue"3)"$transparent" Select another network"
echo -e " "$blue"4)"$transparent" Exit"
echo " "
echo -n ' #> '
read yn
case $yn in
1 ) checkhandshake;;
2 ) capture; $DEAUTH & ;;
3 ) conditional_clear; askclientsel; break;;
4 ) killall airodump-ng &>$flux_output_device; CSVDB=dump-01.csv; breakmode=1; selection; break ;;
5 ) exitmode; break;;
2 ) conditional_clear; askclientsel; break;;
3 ) killall airodump-ng &>$flux_output_device; CSVDB=dump-01.csv; breakmode=1; selection; break ;;
4 ) exitmode; break;;
* ) echo "
Unknown option. Choose again"; conditional_clear ;;
esac
@ -2339,8 +2335,10 @@ function checkhandshake {
wpaclean $HANDSHAKE_PATH/$Host_SSID-$Host_MAC.cap $DUMP_PATH/$Host_MAC-01.cap &>$flux_output_device
webinterface
break
i=2
else
Handshake_statuscheck="${red}Not_Found$transparent"
i=1
fi
elif [ "$handshakemode" = "hard" ]; then
pyrit -r $DUMP_PATH/$Host_MAC-01.cap -o $DUMP_PATH/test.cap stripLive &>$flux_output_device
@ -2350,16 +2348,25 @@ function checkhandshake {
pyrit -r $DUMP_PATH/test.cap -o $HANDSHAKE_PATH/$Host_SSID-$Host_MAC.cap strip &>$flux_output_device
webinterface
break
i=2
else
if aircrack-ng $DUMP_PATH/$Host_MAC-01.cap | grep -q "1 handshake"; then
Handshake_statuscheck="${yellow}Corrupted$transparent"
else
Handshake_statuscheck="${red}Not_found$transparent"
i=1
fi
fi
rm $DUMP_PATH/test.cap &>$flux_output_device
fi
while i=1
do
$DEAUTH
sleep 15
checkhandshake
done
}
############################################# < HANDSHAKE > ############################################