mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 00:04:23 +03:00
minor update
This commit is contained in:
parent
95b48746a6
commit
40fadf2f35
|
@ -324,7 +324,7 @@ class Connect:
|
|||
return page, responseHeaders
|
||||
|
||||
@staticmethod
|
||||
def queryPage(value=None, place=None, content=False, getSeqMatcher=False, silent=False, method=None, timeBasedCompare=False, auxHeaders=None, response=False, raise404=None):
|
||||
def queryPage(value=None, place=None, content=False, getSeqMatcher=False, silent=False, method=None, timeBasedCompare=False, noteResponseTime=True, auxHeaders=None, response=False, raise404=None):
|
||||
"""
|
||||
This method calls a function to get the target url page content
|
||||
and returns its page MD5 hash or a boolean value in case of
|
||||
|
@ -422,7 +422,7 @@ class Connect:
|
|||
|
||||
if timeBasedCompare:
|
||||
return wasLastRequestDelayed()
|
||||
else:
|
||||
elif noteResponseTime:
|
||||
kb.responseTimes.append(kb.lastQueryDuration)
|
||||
|
||||
if content or response:
|
||||
|
|
|
@ -451,7 +451,7 @@ def goStacked(expression, silent=False):
|
|||
logger.debug(debugMsg)
|
||||
|
||||
payload = agent.payload(newValue=query)
|
||||
page, _ = Request.queryPage(payload, content=True, silent=silent)
|
||||
page, _ = Request.queryPage(payload, content=True, silent=silent, noteResponseTime=False)
|
||||
|
||||
return payload, page
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user