mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
speed optimization
This commit is contained in:
@@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user