mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
minor update
This commit is contained in:
parent
8a9d09f79b
commit
2c28423cb8
3 changed files with 21 additions and 4 deletions
|
|
@ -1608,7 +1608,8 @@ def getSPLSnippet(dbms, name, **variables):
|
|||
checkFile(filename)
|
||||
retVal = readCachedFileContent(filename)
|
||||
|
||||
retVal = re.sub(r"#.+", "", retVal).strip()
|
||||
retVal = re.sub(r"#.+", "", retVal)
|
||||
retVal = re.sub(r"(?s);\W+", "; ", retVal).strip()
|
||||
|
||||
for _ in variables.keys():
|
||||
retVal = re.sub(r"%%%s%%" % _, variables[_], retVal)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue