From 9bdbdc136f38ef5a1f80e4d735c05197847d0331 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 10 Jul 2015 11:33:12 +0200 Subject: [PATCH] Minor cosmetics update --- lib/controller/controller.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/controller/controller.py b/lib/controller/controller.py index 3fb86150d..90043a5b0 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -155,8 +155,11 @@ def _formatInjection(inj): return data def _showInjections(): - header = "sqlmap identified the following injection points with " - header += "a total of %d HTTP(s) requests" % kb.testQueryCount + if kb.testQueryCount > 0: + 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"): conf.dumper.string("", kb.injections, content_type=CONTENT_TYPE.TECHNIQUES)