fixes #618
This commit is contained in:
parent
5d654c9da3
commit
f116e5481c
|
@ -919,8 +919,8 @@ while [ \$AuthenticatorState = \"running\" ]; do
|
|||
if [ $CaptivePortalAuthenticatorMode = "hash" ]; then
|
||||
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 -b $FluxionTargetMAC -w \"$FLUXIONWorkspacePath/candidate.txt\" \"$CaptivePortalHashPath\" | grep -qi \"Passphrase not in\"; then
|
||||
# Check if we've got the correct password by looking for anything other than \"Passphrase not in\" or \"KEY NOT FOUND\".
|
||||
if ! aircrack-ng -b $FluxionTargetMAC -w \"$FLUXIONWorkspacePath/candidate.txt\" \"$CaptivePortalHashPath\" | egrep -qi \"Passphrase not in|KEY NOT FOUND\"; then
|
||||
echo \"2\" > \"$FLUXIONWorkspacePath/candidate_result.txt\"
|
||||
|
||||
sleep 1
|
||||
|
|
Loading…
Reference in New Issue