mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
speed optimization
This commit is contained in:
parent
220366b6e8
commit
156d24203f
|
@ -1956,7 +1956,7 @@ def extractRegexResult(regex, content, flags=0):
|
||||||
retVal = None
|
retVal = None
|
||||||
|
|
||||||
if regex and content and '?P<result>' in regex:
|
if regex and content and '?P<result>' in regex:
|
||||||
match = re.search(regex, content, flags)
|
match = getCompiledRegex(regex, flags).search(content)
|
||||||
|
|
||||||
if match:
|
if match:
|
||||||
retVal = match.group("result")
|
retVal = match.group("result")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user