mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-04-11 12:44:18 +03:00
Minor comment
This commit is contained in:
parent
2fa8836c01
commit
5f6d88a418
|
@ -328,6 +328,10 @@ def checkRegexp():
|
|||
return False
|
||||
|
||||
def checkNullConnection():
|
||||
"""
|
||||
Reference: http://www.wisec.it/sectou.php?id=472f952d79293
|
||||
"""
|
||||
|
||||
infoMsg = "testing NULL connection to the target url"
|
||||
logger.info(infoMsg)
|
||||
|
||||
|
|
|
@ -325,6 +325,7 @@ class Connect:
|
|||
elif kb.nullConnection == "Range":
|
||||
if not auxHeaders:
|
||||
auxHeaders = {}
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user