mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
skipping suffix if comment is used in agent.suffixQuery (and --suffix not explicitly set)
This commit is contained in:
parent
c7a606637f
commit
694b14111f
|
@ -199,7 +199,7 @@ class Agent:
|
|||
if where == PAYLOAD.WHERE.REPLACE:
|
||||
pass
|
||||
|
||||
elif any([kb.injection.suffix, suffix]):
|
||||
elif any([kb.injection.suffix, suffix]) and not (comment and not conf.suffix):
|
||||
expression += " %s" % (kb.injection.suffix or suffix)
|
||||
|
||||
return re.sub(r"(?s);\W*;", ";", expression)
|
||||
|
|
Loading…
Reference in New Issue
Block a user