mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 13:14:13 +03:00
fix for a bug reported by Ahmed Shawky (when user uses --suffix intermixing test default comments with the provided suffix is a big no no)
This commit is contained in:
parent
07c3d4fb18
commit
07afcd5440
|
@ -219,7 +219,7 @@ def checkSqlInjection(place, parameter, value):
|
||||||
Backend.forceDbms(dbms[0] if isinstance(dbms, list) else dbms)
|
Backend.forceDbms(dbms[0] if isinstance(dbms, list) else dbms)
|
||||||
|
|
||||||
# Parse test's <request>
|
# Parse test's <request>
|
||||||
comment = agent.getComment(test.request)
|
comment = agent.getComment(test.request) if len(conf.boundaries) > 1 else None
|
||||||
fstPayload = agent.cleanupPayload(test.request.payload, origValue=value)
|
fstPayload = agent.cleanupPayload(test.request.payload, origValue=value)
|
||||||
|
|
||||||
for boundary in conf.boundaries:
|
for boundary in conf.boundaries:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user