mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Trivial just in case update
This commit is contained in:
parent
ac313f009e
commit
1f42f52980
3 changed files with 3 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ from lib.core.enums import OS
|
|||
from thirdparty import six
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.10.7.246"
|
||||
VERSION = "1.10.7.247"
|
||||
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
|
||||
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
|
||||
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ class DNSServer(object):
|
|||
|
||||
with self._lock:
|
||||
for _ in self._requests:
|
||||
if prefix is None and suffix is None or re.search(b"%s\\..+\\.%s" % (prefix, suffix), _, re.I):
|
||||
if prefix is None and suffix is None or re.search(b"%s\\..+\\.%s" % (re.escape(prefix), re.escape(suffix)), _, re.I):
|
||||
self._requests.remove(_)
|
||||
retVal = _.decode()
|
||||
break
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ def dnsUse(payload, expression):
|
|||
# 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)
|
||||
_ = extractRegexResult(r"%s\.(?P<result>.+?)\.%s" % (re.escape(prefix), re.escape(suffix)), _, re.I)
|
||||
_ = decodeDbmsHexValue(_)
|
||||
output = (output or "") + _
|
||||
offset += len(_)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue