mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
now ASPX works too for --os-shell
This commit is contained in:
parent
ca58bdbc66
commit
9579a97039
2 changed files with 16 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue