diff --git a/lib/request/direct.py b/lib/request/direct.py index 366eadb57..4703049d8 100644 --- a/lib/request/direct.py +++ b/lib/request/direct.py @@ -35,7 +35,7 @@ def direct(query, content=True): select = True break - logger.debug("query: %s" % query) + logger.log(9, query) if not select: output = timeout(func=conf.dbmsConnector.execute, args=(query,), duration=conf.timeout, default=None) diff --git a/lib/request/inject.py b/lib/request/inject.py index 1247bcf08..8dc1cf43c 100644 --- a/lib/request/inject.py +++ b/lib/request/inject.py @@ -492,10 +492,6 @@ def goStacked(expression, silent=False): comment = queries[getIdentifiedDBMS()].comment.query query = agent.prefixQuery("; %s" % expression) query = agent.suffixQuery("%s;%s" % (query, comment)) - - debugMsg = "query: %s" % query - logger.debug(debugMsg) - payload = agent.payload(newValue=query) page, _ = Request.queryPage(payload, content=True, silent=silent, noteResponseTime=False) diff --git a/lib/techniques/blind/inference.py b/lib/techniques/blind/inference.py index 327ae9a13..b6e951b52 100644 --- a/lib/techniques/blind/inference.py +++ b/lib/techniques/blind/inference.py @@ -81,9 +81,6 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None else: expressionUnescaped = unescaper.unescape(expression) - debugMsg = "query: %s" % expressionUnescaped - logger.debug(debugMsg) - if length and not isinstance(length, int) and length.isdigit(): length = int(length)