mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-12 10:49:02 +00:00
proper fix for that previous "stacked" fix (that one screwed other injection types)
This commit is contained in:
@@ -150,12 +150,10 @@ class Agent:
|
|||||||
query = kb.injection.prefix
|
query = kb.injection.prefix
|
||||||
|
|
||||||
if query is None:
|
if query is None:
|
||||||
if not kb.injection.prefix and not prefix:
|
query = kb.injection.prefix or prefix or ''
|
||||||
query = ""
|
|
||||||
elif kb.injection.prefix is None and prefix:
|
if not (string and string[0] == ';'):
|
||||||
query = "%s " % prefix
|
query += " "
|
||||||
else:
|
|
||||||
query = "%s " % kb.injection.prefix
|
|
||||||
|
|
||||||
query = "%s%s" % (query, string)
|
query = "%s%s" % (query, string)
|
||||||
query = self.cleanupPayload(query)
|
query = self.cleanupPayload(query)
|
||||||
|
|||||||
Reference in New Issue
Block a user