From e3fa3b0e8ed31b70525c5850383abae23e499b5b Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 17 Dec 2010 07:48:32 +0000 Subject: [PATCH] fix for a minor bug reported by nightman (AttributeError: 'NoneType' object has no attribute 'getFingerprint') --- doc/THANKS | 5 ++++- lib/controller/action.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/THANKS b/doc/THANKS index 21fdc7c38..0da9d1bfa 100644 --- a/doc/THANKS +++ b/doc/THANKS @@ -418,7 +418,7 @@ mitchell for reporting a bug nightman - for reporting a bug + for reporting a few bugs pacman730 for reporting a bug @@ -439,6 +439,9 @@ ToR for reporting considerable amount of bugs for suggesting a feature +ultramegaman + for reporting a minor bug + == Organizations == Black Hat team diff --git a/lib/controller/action.py b/lib/controller/action.py index bf42ea2e1..f3d228fdd 100644 --- a/lib/controller/action.py +++ b/lib/controller/action.py @@ -31,7 +31,7 @@ def action(): # system to be able to go ahead with the injection setHandler() - if not kb.dbmsDetected: + if not kb.dbmsDetected and conf.dbmsHandler: htmlParsed = getHtmlErrorFp() errMsg = "sqlmap was not able to fingerprint the "