mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-23 01:56:36 +03:00
added some debug messages
This commit is contained in:
parent
d5fcc9d8b5
commit
efe75aa8a3
|
@ -155,6 +155,9 @@ def checkDynamicContent(firstPage, secondPage):
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if kb.nullConnection:
|
if kb.nullConnection:
|
||||||
|
debugMsg = "dynamic content checking skipped "
|
||||||
|
debugMsg += "because NULL connection used"
|
||||||
|
logger.debug(debugMsg)
|
||||||
return
|
return
|
||||||
|
|
||||||
infoMsg = "searching for dynamic content"
|
infoMsg = "searching for dynamic content"
|
||||||
|
@ -248,6 +251,12 @@ def checkStability():
|
||||||
|
|
||||||
if test:
|
if test:
|
||||||
conf.string = test
|
conf.string = test
|
||||||
|
|
||||||
|
if kb.nullConnection:
|
||||||
|
debugMsg = "turning off NULL connection "
|
||||||
|
debugMsg += "support because of string checking"
|
||||||
|
logger.debug(debugMsg)
|
||||||
|
|
||||||
kb.nullConnection = None
|
kb.nullConnection = None
|
||||||
else:
|
else:
|
||||||
raise sqlmapSilentQuitException
|
raise sqlmapSilentQuitException
|
||||||
|
@ -258,6 +267,12 @@ def checkStability():
|
||||||
|
|
||||||
if test:
|
if test:
|
||||||
conf.regex = test
|
conf.regex = test
|
||||||
|
|
||||||
|
if kb.nullConnection:
|
||||||
|
debugMsg = "turning off NULL connection "
|
||||||
|
debugMsg += "support because of regex checking"
|
||||||
|
logger.debug(debugMsg)
|
||||||
|
|
||||||
kb.nullConnection = None
|
kb.nullConnection = None
|
||||||
else:
|
else:
|
||||||
raise sqlmapSilentQuitException
|
raise sqlmapSilentQuitException
|
||||||
|
|
Loading…
Reference in New Issue
Block a user