Fix #267
This commit is contained in:
parent
2c079c635e
commit
9b3f5bae96
8
fluxion
8
fluxion
|
@ -27,7 +27,7 @@ ipNmap=`ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*)
|
|||
# Deauth duration during handshake capture
|
||||
# oo
|
||||
DEAUTHTIME="9999999999999"
|
||||
revision=87
|
||||
revision=88
|
||||
version=0.23
|
||||
IP=192.168.1.1
|
||||
RANG_IP=$(echo $IP | cut -d "." -f 1,2,3)
|
||||
|
@ -3810,11 +3810,11 @@ function capture {
|
|||
|
||||
# Check the handshake before continuing
|
||||
function checkhandshake {
|
||||
|
||||
Host_SSID2=`echo $Host_SSID | sed 's/ //g'`
|
||||
if [ "$handshakemode" = "normal" ]; then
|
||||
if aircrack-ng $DUMP_PATH/$Host_MAC-01.cap | grep -q "1 handshake"; then
|
||||
killall airodump-ng mdk3 aireplay-ng &>$flux_output_device
|
||||
wpaclean $HANDSHAKE_PATH/$Host_SSID-$Host_MAC.cap $DUMP_PATH/$Host_MAC-01.cap &>$flux_output_device
|
||||
wpaclean $HANDSHAKE_PATH/$Host_SSID2-$Host_MAC.cap $DUMP_PATH/$Host_MAC-01.cap &>$flux_output_device
|
||||
webinterface
|
||||
i=2
|
||||
break
|
||||
|
@ -3828,7 +3828,7 @@ function checkhandshake {
|
|||
|
||||
if pyrit -r $DUMP_PATH/test.cap analyze 2>&1 | grep -q "good,"; then
|
||||
killall airodump-ng mdk3 aireplay-ng &>$flux_output_device
|
||||
pyrit -r $DUMP_PATH/test.cap -o $HANDSHAKE_PATH/$Host_SSID-$Host_MAC.cap strip &>$flux_output_device
|
||||
pyrit -r $DUMP_PATH/test.cap -o $HANDSHAKE_PATH/$Host_SSID2-$Host_MAC.cap strip &>$flux_output_device
|
||||
webinterface
|
||||
i=2
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue