Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL注入并未成功检测 #2

Open
Cl0udG0d opened this issue Apr 10, 2020 · 0 comments
Open

SQL注入并未成功检测 #2

Cl0udG0d opened this issue Apr 10, 2020 · 0 comments

Comments

@Cl0udG0d
Copy link

你好,在Sqliscan文件夹下的sqlerrors.py文件中,check()函数传入了html参数,但是在匹配中仅仅是re.compile(error),没有与html相联系起来,我觉得这里应该是写漏了,建议修改为:
pattern=re.compile(error,re.I)
if pattern.findall(source):
return True, db

如果不修改的话,每一次扫描到有参数的地方,都会显示MySQL数据库存在注入,望修改:-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant