From 25c175a9a5eb814e517efbae152c2249b0cb33a9 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 31 Jan 2011 22:34:57 +0000 Subject: [PATCH] minor bug fix --- lib/core/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/common.py b/lib/core/common.py index 3d5ad72f3..fd4b76527 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -2291,7 +2291,7 @@ def unhandledExceptionMessage(): errMsg += "Operating system: %s\n" % PLATFORM errMsg += "Command line: %s\n" % " ".join(arg.replace(conf.hostname, "*"*len(conf.hostname)) for arg in sys.argv) errMsg += "Technique: %s\n" % (enumValueToNameLookup(PAYLOAD.TECHNIQUE, kb.technique) if kb.technique else None) - errMsg += "Back-end DBMS: %s" % "%s (fingerprinted)" % Backend.getDbms() if Backend.getDbms() is not None else "%s (identified)" % Backend.getIdentifiedDbms() + errMsg += "Back-end DBMS: %s" % ("%s (fingerprinted)" % Backend.getDbms() if Backend.getDbms() is not None else "%s (identified)" % Backend.getIdentifiedDbms()) return errMsg def listToStrValue(value):