mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
further update of DNS data retrieval mechanism through SQLi
This commit is contained in:
@@ -1613,7 +1613,7 @@ def getSPLSnippet(dbms, name, **variables):
|
||||
for _ in variables.keys():
|
||||
retVal = re.sub(r"%%%s%%" % _, variables[_], retVal)
|
||||
|
||||
_ = re.search(r"%([^%]+)%", retVal, re.I)
|
||||
_ = re.search(r"%(\w+)%", retVal, re.I)
|
||||
if _:
|
||||
errMsg = "unresolved variable '%s' in SPL snippet '%s'" % (_.group(1), name)
|
||||
raise sqlmapGenericException, errMsg
|
||||
|
||||
Reference in New Issue
Block a user