Minor cosmetics update

This commit is contained in:
Miroslav Stampar 2015-07-10 11:33:12 +02:00
parent 0ba264bfa0
commit 9bdbdc136f

View File

@ -155,8 +155,11 @@ def _formatInjection(inj):
return data return data
def _showInjections(): def _showInjections():
header = "sqlmap identified the following injection points with " if kb.testQueryCount > 0:
header += "a total of %d HTTP(s) requests" % kb.testQueryCount header = "sqlmap identified the following injection point(s) with "
header += "a total of %d HTTP(s) requests" % kb.testQueryCount
else:
header = "sqlmap resumed the following injection point(s) from stored session"
if hasattr(conf, "api"): if hasattr(conf, "api"):
conf.dumper.string("", kb.injections, content_type=CONTENT_TYPE.TECHNIQUES) conf.dumper.string("", kb.injections, content_type=CONTENT_TYPE.TECHNIQUES)