From db6f3c7cb2d621b47419de4aaf982e3b7e722e57 Mon Sep 17 00:00:00 2001 From: "liang.chao" <1360241448@qq.com> Date: Tue, 30 Sep 2025 17:07:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/core/config/WeakPasswordChecker.java | 32 ++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/bonus-admin/src/main/java/com/bonus/web/core/config/WeakPasswordChecker.java b/bonus-admin/src/main/java/com/bonus/web/core/config/WeakPasswordChecker.java index 6e40fe6..10c81f2 100644 --- a/bonus-admin/src/main/java/com/bonus/web/core/config/WeakPasswordChecker.java +++ b/bonus-admin/src/main/java/com/bonus/web/core/config/WeakPasswordChecker.java @@ -35,8 +35,38 @@ public class WeakPasswordChecker { "starwars", "football", "123qwe", + "root", "password1", - "admin123" + "admin123", + "111", + "888", + "123", + "234", + "345", + "456", + "567", + "678", + "789", + "1234", + "2345", + "3456", + "4567", + "5678", + "6789", + "abc", + "abcd", + "abcde", + "abcdef", + "abcdefg", + "qwe", + "qwer", + "qwert", + "asdf", + "asdfg", + "asdfgh", + "user", + "test", + "pass" ); // 使用 Map 存储:小写密码 -> 原始密码(用于快速查找 + 返回原始格式)