mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +03:00
Minor fix
This commit is contained in:
parent
1e8349eeaa
commit
0d1690de61
|
@ -185,7 +185,7 @@ class Agent(object):
|
|||
|
||||
# If we are replacing (<where>) the parameter original value with
|
||||
# our payload do not prepend with the prefix
|
||||
if where == PAYLOAD.WHERE.REPLACE:
|
||||
if where == PAYLOAD.WHERE.REPLACE and not conf.prefix:
|
||||
query = ""
|
||||
|
||||
# If the technique is stacked queries (<stype>) do not put a space
|
||||
|
@ -234,7 +234,7 @@ class Agent(object):
|
|||
|
||||
# If we are replacing (<where>) the parameter original value with
|
||||
# our payload do not append the suffix
|
||||
if where == PAYLOAD.WHERE.REPLACE:
|
||||
if where == PAYLOAD.WHERE.REPLACE and not conf.suffix:
|
||||
pass
|
||||
|
||||
elif suffix and not comment:
|
||||
|
|
Loading…
Reference in New Issue
Block a user