mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-06-06 06:03:22 +03:00
Minor comment
This commit is contained in:
parent
2fa8836c01
commit
5f6d88a418
|
@ -328,6 +328,10 @@ def checkRegexp():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def checkNullConnection():
|
def checkNullConnection():
|
||||||
|
"""
|
||||||
|
Reference: http://www.wisec.it/sectou.php?id=472f952d79293
|
||||||
|
"""
|
||||||
|
|
||||||
infoMsg = "testing NULL connection to the target url"
|
infoMsg = "testing NULL connection to the target url"
|
||||||
logger.info(infoMsg)
|
logger.info(infoMsg)
|
||||||
|
|
||||||
|
|
|
@ -325,6 +325,7 @@ class Connect:
|
||||||
elif kb.nullConnection == "Range":
|
elif kb.nullConnection == "Range":
|
||||||
if not auxHeaders:
|
if not auxHeaders:
|
||||||
auxHeaders = {}
|
auxHeaders = {}
|
||||||
|
|
||||||
auxHeaders["Range"] = "bytes=-1"
|
auxHeaders["Range"] = "bytes=-1"
|
||||||
|
|
||||||
_, headers = Connect.getPage(url=uri, get=get, post=post, cookie=cookie, ua=ua, silent=silent, method=method, auxHeaders=auxHeaders, raise404=raise404)
|
_, headers = Connect.getPage(url=uri, get=get, post=post, cookie=cookie, ua=ua, silent=silent, method=method, auxHeaders=auxHeaders, raise404=raise404)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user