From c939e0f04abcc922886a2cd4073cfbbc7d3d4f10 Mon Sep 17 00:00:00 2001 From: Matias Barcenas Date: Thu, 15 Mar 2018 14:18:06 -0500 Subject: [PATCH] Added MAC parameter to aircrack-ng capture target. --- attacks/Captive Portal/attack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attacks/Captive Portal/attack.sh b/attacks/Captive Portal/attack.sh index d61d65d..2d49fd8 100755 --- a/attacks/Captive Portal/attack.sh +++ b/attacks/Captive Portal/attack.sh @@ -849,7 +849,7 @@ while [ \$AuthenticatorState = \"running\" ]; do echo " if [ -f \"$FLUXIONWorkspacePath/candidate_result.txt\" ]; then # Check if we've got the correct password by looking for anything other than \"Passphrase not in\". - if ! aircrack-ng -w \"$FLUXIONWorkspacePath/candidate.txt\" \"$CaptivePortalHashPath\" | grep -qi \"Passphrase not in\"; then + if ! aircrack-ng -b $FluxionTargetMAC -w \"$FLUXIONWorkspacePath/candidate.txt\" \"$CaptivePortalHashPath\" | grep -qi \"Passphrase not in\"; then echo \"2\" > \"$FLUXIONWorkspacePath/candidate_result.txt\" sleep 1