mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-24 09:15:29 +01:00
minor fix for Python v2.6
This commit is contained in:
parent
f55ad46119
commit
3e4db6d140
1 changed files with 1 additions and 1 deletions
|
|
@ -1637,7 +1637,7 @@ def getSPLSnippet(dbms, name, **variables):
|
|||
retVal = re.sub(r"#.+", "", retVal)
|
||||
|
||||
for _ in variables.keys():
|
||||
retVal = re.sub(r"%%%s%%" % _, variables[_], retVal, flags=re.I)
|
||||
retVal = re.sub(r"%%%s%%" % _, variables[_], retVal)
|
||||
|
||||
_ = re.search(r"%([^%]+)%", retVal, re.I)
|
||||
if _:
|
||||
|
|
|
|||
Loading…
Reference in a new issue