Update fluxion

This commit is contained in:
William Todt 2016-03-13 00:00:30 +04:00
parent 0534da8d7b
commit ecbb50ed11
1 changed files with 65 additions and 18 deletions

View File

@ -1270,7 +1270,7 @@ case $a in
1)
clear
echo
read -p " - What is the name of your Wlan WIFI_MONITOR (Ex:wlan0) - ": ADAPTER_NAME;
read -p " - What is the name of your Wlan WIFI_MONITOR (Ex:wlan0) - ": ADAPTER;
clear
@ -1318,23 +1318,70 @@ esac
menu () {
clear
conditional_clear
mostrarheader
echo "Select your Attack Method"
echo " "
echo -e " "$blue"0)"$transparent" Select New Target Network"
echo -e " "$blue"1)"$transparent" EAPOL Start Flood"
echo -e " "$blue"2)"$transparent" Authentication Flood"
echo -e " "$blue"3)"$transparent" Reaver"
echo -e " "$blue"4)"$transparent" Check if the Access Point WPS is UNLOCKED"
echo -e " "$blue"5"$transparent" Reaver with AutoFlood(ASOC)"
echo -e " "$blue"6)"$transparent" Reaver with AutoFlood(EAPOL)"
echo -e " "$blue"7)"$transparent" Bully"
echo -e " "$blue"8)"$transparent" Bully with AutoFlood(ASOC)"
echo -e " "$blue"9)"$transparent"Bully with AutoFlood(EAPOL)"
echo " "
echo -n " #> "
conditional_clear
mostrarheader
LINEAS_WIFIS_CSV=`wc -l $DUMP_PATH/$CSVDB | awk '{print $1}'`
if [ $LINEAS_WIFIS_CSV -le 3 ]; then
deltax && break
fi
linap=`cat $DUMP_PATH/$CSVDB | egrep -a -n '(Station|Cliente)' | awk -F : '{print $1}'`
linap=`expr $linap - 1`
head -n $linap $DUMP_PATH/$CSVDB &> $DUMP_PATH/dump-02.csv
tail -n +$linap $DUMP_PATH/$CSVDB &> $DUMP_PATH/clientes.csv
echo " WIFI LIST "
echo ""
echo " # MAC CHAN SECU PWR ESSID"
echo ""
i=0
while IFS=, read MAC FTS LTS CHANNEL SPEED PRIVACY CYPHER AUTH POWER BEACON IV LANIP IDLENGTH ESSID KEY;do
longueur=${#MAC}
PRIVACY=$(echo $PRIVACY| tr -d "^ ")
PRIVACY=${PRIVACY:0:4}
if [ $longueur -ge 17 ]; then
i=$(($i+1))
POWER=`expr $POWER + 100`
CLIENTE=`cat $DUMP_PATH/clientes.csv | grep $MAC`
if [ "$CLIENTE" != "" ]; then
CLIENTE="*"
fi
echo -e " ""$green "$i")"$white"$CLIENTE\t""$yellow"$MAC"\t""$green "$CHANNEL"\t""$red" $PRIVACY"\t ""$yellow"$POWER%"\t""$green "$ESSID""$transparent""
aidlenght=$IDLENGTH
assid[$i]=$ESSID
achannel[$i]=$CHANNEL
amac[$i]=$MAC
aprivacy[$i]=$PRIVACY
aspeed[$i]=$SPEED
fi
done < $DUMP_PATH/dump-02.csv
echo
echo -e ""$green "("$white"*"$green ")Active clients"$transparent""
echo ""
echo " Select Target "
echo -n " #> "
read choice
idlenght=${aidlenght[$choice]}
ssid=${assid[$choice]}
channel=$(echo ${achannel[$choice]}|tr -d [:space:])
mac=${amac[$choice]}
privacy=${aprivacy[$choice]}
speed=${aspeed[$choice]}
Host_IDL=$idlength
Host_SPEED=$speed
Host_ENC=$privacy
Host_MAC=$mac
Host_CHAN=$channel
acouper=${#ssid}
fin=$(($acouper-idlength))
Host_SSID=${ssid:1:fin}
echo "*AutoFlood Attacks will store the Password in Root/(Reaver or Bully)Output.txt Once found*"