mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor patches (pydiatra)
This commit is contained in:
parent
81e6dab965
commit
0e206da7c0
13 changed files with 29 additions and 26 deletions
|
|
@ -1961,7 +1961,7 @@ def getSQLSnippet(dbms, sfile, **variables):
|
|||
|
||||
retVal = readCachedFileContent(filename)
|
||||
retVal = re.sub(r"#.+", "", retVal)
|
||||
retVal = re.sub(r"(?s);\s+", "; ", retVal).strip("\r\n")
|
||||
retVal = re.sub(r";\s+", "; ", retVal).strip("\r\n")
|
||||
|
||||
for _ in variables.keys():
|
||||
retVal = re.sub(r"%%%s%%" % _, variables[_], retVal)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue