Put a space always between the user's provided prefix and sqlmap payload

This commit is contained in:
Bernardo Damele 2010-11-12 11:48:26 +00:00
parent 697b32554c
commit 9f53048ff4

View File

@ -148,7 +148,7 @@ class Agent:
raise sqlmapNoneDataException, "unsupported injection type"
if conf.prefix:
query = conf.prefix
query = "%s " % conf.prefix.strip()
else:
query = case.usage.prefix.format % eval(case.usage.prefix.params)