code refactoring

This commit is contained in:
Miroslav Stampar
2011-01-02 16:51:21 +00:00
parent 252ef7626f
commit 5f9b6b2254
13 changed files with 33 additions and 33 deletions

View File

@@ -8,7 +8,7 @@ See the file 'doc/COPYING' for copying permission
"""
from lib.controller.handler import setHandler
from lib.core.common import getHtmlErrorFp
from lib.core.common import getErrorParsedDBMSesFormatted
from lib.core.common import dataToStdout
from lib.core.data import conf
from lib.core.data import kb
@@ -32,7 +32,7 @@ def action():
setHandler()
if not kb.dbmsDetected or not conf.dbmsHandler:
htmlParsed = getHtmlErrorFp()
htmlParsed = getErrorParsedDBMSesFormatted()
errMsg = "sqlmap was not able to fingerprint the "
errMsg += "back-end database management system"