mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +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
|
# If we are replacing (<where>) the parameter original value with
|
||||||
# our payload do not prepend with the prefix
|
# our payload do not prepend with the prefix
|
||||||
if where == PAYLOAD.WHERE.REPLACE:
|
if where == PAYLOAD.WHERE.REPLACE and not conf.prefix:
|
||||||
query = ""
|
query = ""
|
||||||
|
|
||||||
# If the technique is stacked queries (<stype>) do not put a space
|
# 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
|
# If we are replacing (<where>) the parameter original value with
|
||||||
# our payload do not append the suffix
|
# our payload do not append the suffix
|
||||||
if where == PAYLOAD.WHERE.REPLACE:
|
if where == PAYLOAD.WHERE.REPLACE and not conf.suffix:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
elif suffix and not comment:
|
elif suffix and not comment:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user