update QueryGenerator的sql注入问题
This commit is contained in:
@@ -23,7 +23,7 @@ public class SqlInjectionUtil {
|
|||||||
* (上线修改值 20200501,同步修改前端的盐值)
|
* (上线修改值 20200501,同步修改前端的盐值)
|
||||||
*/
|
*/
|
||||||
private static final String TABLE_DICT_SIGN_SALT = "20200501";
|
private static final String TABLE_DICT_SIGN_SALT = "20200501";
|
||||||
private static final String XSS_STR = "'|and |exec |insert |select |delete |update |drop |count |chr |mid |master |truncate |char |declare |;|or |+";
|
private static final String XSS_STR = "'|and |exec |insert |select |delete |update |drop |count |chr |mid |master |truncate |char |declare |;|or |+|--";
|
||||||
|
|
||||||
private static final String SYMBOL_CONSTANT = "/\\*.*\\*/";
|
private static final String SYMBOL_CONSTANT = "/\\*.*\\*/";
|
||||||
private static final String SQL_INJECTION_CONSTANT = "请注意,存在SQL注入关键词---> {}";
|
private static final String SQL_INJECTION_CONSTANT = "请注意,存在SQL注入关键词---> {}";
|
||||||
|
|||||||
Reference in New Issue
Block a user