From 6ff31db4aa81b6b9c667b32edd08dc78039dd37f Mon Sep 17 00:00:00 2001 From: strasharo Date: Sun, 6 Mar 2016 18:49:28 +0200 Subject: [PATCH] Fix pyrit handshake detection https://github.com/deltaxflux/flux/issues/6 Use stripLive instead of cp for the pcap copy. --- kali/fluxion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kali/fluxion b/kali/fluxion index 11a8a1d..cdb4bbe 100755 --- a/kali/fluxion +++ b/kali/fluxion @@ -1122,7 +1122,7 @@ function checkhandshake { Handshake_statuscheck="${red}Not_Found$transparent" fi elif [ "$handshakemode" = "hard" ]; then - cp $DUMP_PATH/$Host_MAC-01.cap $DUMP_PATH/test.cap &>$flux_output_device + pyrit -r $DUMP_PATH/$Host_MAC-01.cap -o $DUMP_PATH/test.cap stripLive &>$flux_output_device if pyrit -r $DUMP_PATH/test.cap analyze 2>&1 | grep -q "good,"; then killall airodump-ng &>$flux_output_device