mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Less problematic regexes for MsSQL errors
This commit is contained in:
parent
d9315830f9
commit
7ad49f4185
3 changed files with 5 additions and 3 deletions
|
|
@ -42,6 +42,8 @@ class HTMLHandler(ContentHandler):
|
|||
|
||||
elif name == "error":
|
||||
regexp = attrs.get("regexp")
|
||||
if "SQL" in regexp:
|
||||
print regexp
|
||||
if regexp not in kb.cache.regex:
|
||||
keywords = re.findall("\w+", re.sub(r"\\.", " ", regexp))
|
||||
keywords = sorted(keywords, key=len)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue