Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9bdbdc1

Browse files
committed
Minor cosmetics update
1 parent 0ba264b commit 9bdbdc1

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

lib/controller/controller.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,11 @@ def _formatInjection(inj):
155155
return data
156156

157157
def _showInjections():
158-
header = "sqlmap identified the following injection points with "
159-
header += "a total of %d HTTP(s) requests" % kb.testQueryCount
158+
if kb.testQueryCount > 0:
159+
header = "sqlmap identified the following injection point(s) with "
160+
header += "a total of %d HTTP(s) requests" % kb.testQueryCount
161+
else:
162+
header = "sqlmap resumed the following injection point(s) from stored session"
160163

161164
if hasattr(conf, "api"):
162165
conf.dumper.string("", kb.injections, content_type=CONTENT_TYPE.TECHNIQUES)

0 commit comments

Comments
 (0)