added some debug messages

This commit is contained in:
Miroslav Stampar 2010-11-04 09:18:32 +00:00
parent d5fcc9d8b5
commit efe75aa8a3

View File

@ -155,6 +155,9 @@ def checkDynamicContent(firstPage, secondPage):
"""
if kb.nullConnection:
debugMsg = "dynamic content checking skipped "
debugMsg += "because NULL connection used"
logger.debug(debugMsg)
return
infoMsg = "searching for dynamic content"
@ -248,7 +251,13 @@ def checkStability():
if test:
conf.string = test
kb.nullConnection = None
if kb.nullConnection:
debugMsg = "turning off NULL connection "
debugMsg += "support because of string checking"
logger.debug(debugMsg)
kb.nullConnection = None
else:
raise sqlmapSilentQuitException
@ -258,7 +267,13 @@ def checkStability():
if test:
conf.regex = test
kb.nullConnection = None
if kb.nullConnection:
debugMsg = "turning off NULL connection "
debugMsg += "support because of regex checking"
logger.debug(debugMsg)
kb.nullConnection = None
else:
raise sqlmapSilentQuitException
else: