mirror of
https://github.com/sqlmapproject/sqlmap
synced 2026-01-24 17:13:34 +01: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
1 changed files with 3 additions and 1 deletions
|
|
@ -150,7 +150,9 @@ class Agent:
|
||||||
query = kb.injection.prefix
|
query = kb.injection.prefix
|
||||||
|
|
||||||
if query is None:
|
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
|
query = "%s " % prefix
|
||||||
else:
|
else:
|
||||||
query = "%s " % kb.injection.prefix
|
query = "%s " % kb.injection.prefix
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue