fix for a minor bug reported by nightman (AttributeError: 'NoneType' object has no attribute 'getFingerprint')

This commit is contained in:
Miroslav Stampar
2010-12-17 07:48:32 +00:00
parent 95b2c0803b
commit e3fa3b0e8e
2 changed files with 5 additions and 2 deletions

View File

@@ -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 "