mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
minor updates
This commit is contained in:
parent
7b282b1d6c
commit
738073105e
|
@ -577,6 +577,9 @@ Johnny Venter <johnny.venter@zoho.com>
|
|||
Carlos Gabriel Vergara <carlosgabrielvergara@gmail.com>
|
||||
for suggesting couple of good features
|
||||
|
||||
Patrick Webster <patrick@aushack.com>
|
||||
for suggesting an enhancement
|
||||
|
||||
Ed Williams <ed.williams@ngssecure.com>
|
||||
for suggesting a minor enhancement
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ try:
|
|||
except ImportError:
|
||||
pass
|
||||
|
||||
_protocols = [ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1]
|
||||
_protocols = [ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_TLSv1]
|
||||
|
||||
class HTTPSConnection(httplib.HTTPSConnection):
|
||||
"""
|
||||
|
@ -42,6 +42,7 @@ class HTTPSConnection(httplib.HTTPSConnection):
|
|||
return sock
|
||||
|
||||
success = False
|
||||
|
||||
for protocol in _protocols:
|
||||
try:
|
||||
sock = create_sock()
|
||||
|
|
Loading…
Reference in New Issue
Block a user