OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
urllib3
/
util
/
__pycache__
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/14/2024 03:09:27 PM
rwxr-xr-x
📄
__init__.cpython-37.pyc
1.04 KB
11/14/2023 02:55:53 PM
rw-r--r--
📄
connection.cpython-37.pyc
3.3 KB
11/14/2023 02:55:53 PM
rw-r--r--
📄
proxy.cpython-37.pyc
1.25 KB
11/14/2023 02:55:53 PM
rw-r--r--
📄
queue.cpython-37.pyc
1001 bytes
11/14/2023 02:55:53 PM
rw-r--r--
📄
request.cpython-37.pyc
3.33 KB
11/14/2023 02:55:53 PM
rw-r--r--
📄
response.cpython-37.pyc
2.23 KB
11/14/2023 02:55:53 PM
rw-r--r--
📄
retry.cpython-37.pyc
15.91 KB
11/14/2023 02:55:53 PM
rw-r--r--
📄
ssl_.cpython-37.pyc
10.98 KB
11/14/2023 02:55:53 PM
rw-r--r--
📄
ssltransport.cpython-37.pyc
7.11 KB
11/14/2023 02:55:53 PM
rw-r--r--
📄
timeout.cpython-37.pyc
8.65 KB
11/14/2023 02:55:53 PM
rw-r--r--
📄
url.cpython-37.pyc
10.35 KB
11/14/2023 02:55:53 PM
rw-r--r--
📄
wait.cpython-37.pyc
3.02 KB
11/14/2023 02:55:53 PM
rw-r--r--
Editing: proxy.cpython-37.pyc
Close
B �t�w�� @ s, d dl mZmZmZ ddd�Zddd�ZdS ) � )�create_urllib3_context�resolve_cert_reqs�resolve_ssl_versionNc C s4 | dkrdS |dkrdS | j dkr0|r0|jr0dS dS )a? Returns True if the connection requires an HTTP CONNECT through the proxy. :param URL proxy_url: URL of the proxy. :param ProxyConfig proxy_config: Proxy configuration from poolmanager.py :param str destination_scheme: The scheme of the destination. (i.e https, http, etc) NF�http�httpsT)�schemeZuse_forwarding_for_https)Z proxy_urlZproxy_configZdestination_scheme� r �C/opt/alt/python37/lib/python3.7/site-packages/urllib3/util/proxy.py�connection_requires_http_tunnel s r c C s6 t t| �t|�d�}|s2|s2|s2t|d�r2|�� |S )z\ Generates a default proxy ssl context if one hasn't been provided by the user. )�ssl_version� cert_reqs�load_default_certs)r r r �hasattrr )r r Zca_certsZca_cert_dirZca_cert_dataZssl_contextr r r �create_proxy_ssl_context% s r )NNN)NNN)Zssl_r r r r r r r r r �<module> s !