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

False positives with Wordpress sites #7

Open
equipematou opened this issue Sep 18, 2021 · 0 comments
Open

False positives with Wordpress sites #7

equipematou opened this issue Sep 18, 2021 · 0 comments

Comments

@equipematou
Copy link

equipematou commented Sep 18, 2021

Thanks for posting this filter; it has been useful.

I had several Wordpress users blocked due to false positives, which I traced to the following line. To resolve the problem I changed the following line to add spaces around the keywords; real sql attempts must have spaces around words such as 'update' and 'set'. The following is one long line.

sqlfragments_generic = select(+|%%20).(+|%%20)from|delete(+|%%20).(+|%%20)from|update(+|%%20).(+|%%20)set|insert(+|%%20).(+|%%20)into|replace(+|%%20).*(+|%%20)(value|set)

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