mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
Debug message should go with logging.DEBUG
This commit is contained in:
parent
d7247a51ee
commit
69063947b6
|
@ -7,6 +7,7 @@ See the file 'doc/COPYING' for copying permission
|
|||
|
||||
import httplib
|
||||
import json
|
||||
import logging
|
||||
import re
|
||||
import socket
|
||||
import string
|
||||
|
@ -32,6 +33,7 @@ from lib.core.common import logHTTPTraffic
|
|||
from lib.core.common import randomizeParameterValue
|
||||
from lib.core.common import readInput
|
||||
from lib.core.common import removeReflectiveValues
|
||||
from lib.core.common import singleTimeLogMessage
|
||||
from lib.core.common import singleTimeWarnMessage
|
||||
from lib.core.common import stdev
|
||||
from lib.core.common import wasLastResponseDelayed
|
||||
|
@ -476,7 +478,7 @@ class Connect(object):
|
|||
raise SqlmapConnectionException(errMsg)
|
||||
else:
|
||||
debugMsg = "page not found (%d)" % code
|
||||
singleTimeWarnMessage(debugMsg)
|
||||
singleTimeLogMessage(debugMsg, logging.DEBUG)
|
||||
processResponse(page, responseHeaders)
|
||||
elif e.code == httplib.GATEWAY_TIMEOUT:
|
||||
if ignoreTimeout:
|
||||
|
|
Loading…
Reference in New Issue
Block a user