mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
minor update
This commit is contained in:
parent
122db6e164
commit
bf923a97df
2 changed files with 7 additions and 0 deletions
|
|
@ -1816,6 +1816,8 @@ def getSPLSnippet(name, **variables):
|
|||
checkFile(filename)
|
||||
retVal = readCachedFileContent(filename)
|
||||
|
||||
retVal = re.sub(r"#.+", "", retVal)
|
||||
|
||||
for _ in variables.keys():
|
||||
retVal = re.sub(r"%%%s%%" % _, variables[_], retVal, flags=re.I)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue