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