`egrep` is obsolescent

This commit is contained in:
Jacob Collins 2022-12-30 09:53:49 +11:00 committed by GitHub
parent 09a17a6571
commit f7f7a09c2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 "