mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-10 02:23:58 +00:00
Minor update
This commit is contained in:
parent
9d653d2d50
commit
e82b1b56f7
4 changed files with 41 additions and 11 deletions
|
|
@ -84,7 +84,10 @@ def dnsUse(payload, expression):
|
|||
_ = conf.dnsServer.pop(prefix, suffix)
|
||||
|
||||
if _:
|
||||
_ = extractRegexResult(r"%s\.(?P<result>.+)\.%s" % (prefix, suffix), _, re.I)
|
||||
# Note: non-greedy so a '--dns-domain' label that happens to match the random
|
||||
# suffix can't make the match run past the real boundary (the boundary alphabet
|
||||
# excludes hex characters, so it can never under-match into the hex payload)
|
||||
_ = extractRegexResult(r"%s\.(?P<result>.+?)\.%s" % (prefix, suffix), _, re.I)
|
||||
_ = decodeDbmsHexValue(_)
|
||||
output = (output or "") + _
|
||||
offset += len(_)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue