mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-15 12:19:03 +00:00
minor update
This commit is contained in:
@@ -200,7 +200,7 @@ class Agent:
|
||||
elif any([kb.injection.suffix, suffix]):
|
||||
expression += " %s" % (kb.injection.suffix or suffix)
|
||||
|
||||
return expression
|
||||
return re.sub(r"(?s);\W*;", ";", expression)
|
||||
|
||||
def cleanupPayload(self, payload, origValue=None):
|
||||
if payload is None:
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user