mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
Minor refactoring
This commit is contained in:
parent
558f3894f4
commit
6e4b65a822
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user