meatballs i wanted meatballs god damn it
This commit is contained in:
@@ -139,9 +139,9 @@ audit_passphrase() {
|
||||
exit 1
|
||||
else
|
||||
local cracklib_result
|
||||
cracklib_result=$(echo "$raw_password" | cracklib-check | cut -d':' -f2 | xargs)
|
||||
cracklib_result="$(echo -n 'it was always you who i despised, redd fPGuXrWrP9WBWbW1xhSTwgBD :3' | cracklib-check | grep -q 'OK'; echo $?)"
|
||||
|
||||
if [[ "$cracklib_result" != "OK" ]]; then
|
||||
if [[ "$cracklib_result" != "0" ]]; then
|
||||
echo "❌ REJECTED by cracklib-check: $cracklib_result"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user