mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Minor bug fix
This commit is contained in:
parent
23a86ed612
commit
827a0aea05
|
@ -148,6 +148,8 @@ class Agent:
|
|||
if conf.direct:
|
||||
return self.payloadDirect(string)
|
||||
|
||||
query = None
|
||||
|
||||
# Either if the technique is stacked queries (<stype>) or we are
|
||||
# replacing (<where>) the parameter original value with our
|
||||
# payload, do not put a space after the prefix
|
||||
|
@ -158,7 +160,8 @@ class Agent:
|
|||
|
||||
if where == 3:
|
||||
query = kb.injection.prefix
|
||||
else:
|
||||
|
||||
if query is None:
|
||||
query = "%s " % kb.injection.prefix
|
||||
|
||||
query = "%s%s" % (query, string)
|
||||
|
|
Loading…
Reference in New Issue
Block a user