mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-29 10:59:03 +00:00
Minor refactoring
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user