ruby - Update a regex to find SQL syntax errors -
i have regular expressions find syntax errors off of webpages (i'm pentester living):
sql_regex = %r((?-mix:sql query error)|(?-mix:mysql query error)|(?-mix:expects parameter)|(?-mix:you have error in sql syntax))
i regex find error messages on website if have incorrectly closed sql syntax, 1 above works, seems me it's little slower could be, suggestions on how make better more reliable regex?
Comments
Post a Comment