MySQL——sql注入

https://blog.csdn.net/lin_tuer/article/details/54809330mysql

https://github.com/mysqljs/mysql#escaping-query-valuesgit

sql注入,由字符串拼接github

or、and、union等sql

SELECT * FROM `users` where username = 'cnloop'and 1=1--''

分号等api

SELECT * FROM `users` where username = 'cnloop';SELECT VERSION()--''

经过转义特换的方式解决oop

相关文章
相关标签/搜索