Minor fix

This commit is contained in:
Miroslav Stampar 2014-04-10 21:09:27 +02:00
parent 1e8349eeaa
commit 0d1690de61

View File

@ -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: