`egrep` is obsolescent
This commit is contained in:
parent
09a17a6571
commit
f7f7a09c2c
|
@ -854,7 +854,7 @@ while [ \$AuthenticatorState = \"running\" ]; do
|
|||
# Aircrack-ng
|
||||
# Check if we've got the correct password by looking for
|
||||
# anything other than \"Passphrase not in\" or \"KEY NOT FOUND\".
|
||||
local -r verifiedCondition="aircrack-ng -b $FluxionTargetMAC -w \"$FLUXIONWorkspacePath/candidate.txt\" \"$CaptivePortalHashPath\" | egrep -qi \"Passphrase not in|KEY NOT FOUND\""
|
||||
local -r verifiedCondition="aircrack-ng -b $FluxionTargetMAC -w \"$FLUXIONWorkspacePath/candidate.txt\" \"$CaptivePortalHashPath\" | grep -Eqi \"Passphrase not in|KEY NOT FOUND\""
|
||||
;;
|
||||
esac
|
||||
echo "
|
||||
|
|
Loading…
Reference in New Issue