You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: controls/mysql_db.rb
+1-1
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@
54
54
control'mysql-db-05'do
55
55
impact1.0
56
56
title'default passwords must be changed'
57
-
describecommand("mysql -u#{user} -p#{pass} -sN -e 'select count(*) from mysql.user where length(password)=0 or password=\"\";'")do
57
+
describecommand("mysql -u#{user} -p#{pass} -sN -e 'select count(*) from mysql.user where (length(password)=0 or password=\"\") and (length(authentication_string)=0 or authentication_string=\"\");'")do
0 commit comments