mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
minor update
This commit is contained in:
parent
95b48746a6
commit
40fadf2f35
|
@ -324,7 +324,7 @@ class Connect:
|
||||||
return page, responseHeaders
|
return page, responseHeaders
|
||||||
|
|
||||||
@staticmethod
|
@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
|
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
|
and returns its page MD5 hash or a boolean value in case of
|
||||||
|
@ -422,7 +422,7 @@ class Connect:
|
||||||
|
|
||||||
if timeBasedCompare:
|
if timeBasedCompare:
|
||||||
return wasLastRequestDelayed()
|
return wasLastRequestDelayed()
|
||||||
else:
|
elif noteResponseTime:
|
||||||
kb.responseTimes.append(kb.lastQueryDuration)
|
kb.responseTimes.append(kb.lastQueryDuration)
|
||||||
|
|
||||||
if content or response:
|
if content or response:
|
||||||
|
|
|
@ -451,7 +451,7 @@ def goStacked(expression, silent=False):
|
||||||
logger.debug(debugMsg)
|
logger.debug(debugMsg)
|
||||||
|
|
||||||
payload = agent.payload(newValue=query)
|
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
|
return payload, page
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user