Skip to content

Commit e853508

Browse files
committed
Update for #4030
1 parent 5d32ca6 commit e853508

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def prefixQuery(self, expression, prefix=None, where=None, clause=None):
247247

248248
# If we are replacing (<where>) the parameter original value with
249249
# our payload do not prepend with the prefix
250-
if where == PAYLOAD.WHERE.REPLACE:
250+
if where == PAYLOAD.WHERE.REPLACE and not conf.prefix: # Note: https://github.com/sqlmapproject/sqlmap/issues/4030
251251
query = ""
252252

253253
# If the technique is stacked queries (<stype>) do not put a space

0 commit comments

Comments
 (0)