mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-03 11:45:46 +03:00
fix for "Payload: id=1 ; SELECT PG_SLEEP(5);--" (blank space was added in case when prefixes weren't stated)
This commit is contained in:
parent
718eef8753
commit
19dcaeaabf
|
@ -150,7 +150,9 @@ class Agent:
|
|||
query = kb.injection.prefix
|
||||
|
||||
if query is None:
|
||||
if kb.injection.prefix is None and prefix is not None:
|
||||
if not kb.injection.prefix and not prefix:
|
||||
query = ""
|
||||
elif kb.injection.prefix is None and prefix:
|
||||
query = "%s " % prefix
|
||||
else:
|
||||
query = "%s " % kb.injection.prefix
|
||||
|
|
Loading…
Reference in New Issue
Block a user