From 8b8fff41feeed5010b7df69b83b8401339090c62 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 18 Oct 2010 12:11:16 +0000 Subject: [PATCH] cosmetics (adding html parsed DBMS) regarding heuristic check --- lib/controller/checks.py | 2 +- lib/request/connect.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 2e57637f7..23dccd381 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -109,7 +109,7 @@ def heuristicCheckSqlInjection(place, parameter, value): infoMsg = "(error based) heuristics show that %s parameter '%s' is " % (place, parameter) if result: - infoMsg += "injectable" + infoMsg += "injectable (DBMS: %s)" % kb.htmlFp[-1] logger.info(infoMsg) else: infoMsg += "not injectable" diff --git a/lib/request/connect.py b/lib/request/connect.py index 26a6fcc2b..72e0e891f 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -197,7 +197,7 @@ class Connect: # Reset the number of connection retries conf.retriesCount = 0 - + # Return response object if response: return conn, None