3030from lib .core .common import hashDBRetrieve
3131from lib .core .common import hashDBWrite
3232from lib .core .common import intersect
33+ from lib .core .common import joinValue
3334from lib .core .common import listToStrValue
3435from lib .core .common import parseFilePaths
3536from lib .core .common import popValue
@@ -153,7 +154,7 @@ def checkSqlInjection(place, parameter, value):
153154 # payload), ask the user to limit the tests to the fingerprinted
154155 # DBMS
155156 if kb .reduceTests is None and not conf .testFilter and (intersect (Backend .getErrorParsedDBMSes (), SUPPORTED_DBMS , True ) or kb .heuristicDbms or injection .dbms ):
156- msg = "it looks like the back-end DBMS is '%s'. " % (Format .getErrorParsedDBMSes () or kb .heuristicDbms or injection .dbms )
157+ msg = "it looks like the back-end DBMS is '%s'. " % (Format .getErrorParsedDBMSes () or kb .heuristicDbms or joinValue ( injection .dbms , '/' ) )
157158 msg += "Do you want to skip test payloads specific for other DBMSes? [Y/n]"
158159 kb .reduceTests = (Backend .getErrorParsedDBMSes () or [kb .heuristicDbms ]) if readInput (msg , default = 'Y' , boolean = True ) else []
159160
@@ -163,7 +164,7 @@ def checkSqlInjection(place, parameter, value):
163164 # regardless of --level and --risk values provided
164165 if kb .extendTests is None and not conf .testFilter and (conf .level < 5 or conf .risk < 3 ) and (intersect (Backend .getErrorParsedDBMSes (), SUPPORTED_DBMS , True ) or kb .heuristicDbms or injection .dbms ):
165166 msg = "for the remaining tests, do you want to include all tests "
166- msg += "for '%s' extending provided " % (Format .getErrorParsedDBMSes () or kb .heuristicDbms or injection .dbms )
167+ msg += "for '%s' extending provided " % (Format .getErrorParsedDBMSes () or kb .heuristicDbms or joinValue ( injection .dbms , '/' ) )
167168 msg += "level (%d)" % conf .level if conf .level < 5 else ""
168169 msg += " and " if conf .level < 5 and conf .risk < 3 else ""
169170 msg += "risk (%d)" % conf .risk if conf .risk < 3 else ""
0 commit comments