mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
further update of DNS data retrieval mechanism through SQLi
This commit is contained in:
parent
1e01203562
commit
1cd3c3f7af
6 changed files with 112 additions and 16 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue