sql注入

作者: 芝麻西瓜3 | 来源:发表于2022-08-18 21:22 被阅读0次

eg1:

预期

username:doug

password:p@ssord

select count(*)

from users

where username='doug' and password ='p@ssord'

恶意

username:‘ or 1=1 - -

password:

select count(*)

from users

where username='  '  or 1=1 - - and password ='p@ssord'

相关文章

网友评论

      本文标题:sql注入

      本文链接:https://www.haomeiwen.com/subject/adqygrtx.html