mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
now ASPX works too for --os-shell
This commit is contained in:
@@ -1626,3 +1626,13 @@ def getPublicTypeMembers(type_):
|
||||
retVal.append((name, value))
|
||||
|
||||
return retVal
|
||||
|
||||
def extractRegexResult(regex, content):
|
||||
retVal = None
|
||||
|
||||
if regex and content and '?P<result>' in regex:
|
||||
match = re.search(regex, content)
|
||||
if match:
|
||||
retVal = match.group("result")
|
||||
|
||||
return retVal
|
||||
|
||||
Reference in New Issue
Block a user