0x1949 Team - FAZEMRX - MANAGER
Edit File: utils.cpython-310.pyc
o Ba�_Aw � @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddlZddlm Z ddlmZ ddlmZ ddlmZ ddlmZ dd lmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z# dd l$m%Z% ddl&m'Z' ddl(m)Z)m*Z*m+Z+m,Z, d Z-e�.� Z/ddd�Z0ej1dkr�dd� Z2dd� Zdd� Z3dd� Z4didd�Z5dd� Z6dd � Z7d!d"� Z8d#d$� Z9d%d&� Z:d'd(� Z;did)d*�Z<d+d,� Z=d-d.� Z>d/d0� Z?d1d2� Z@d3d4� ZAd5d6� ZBd7d8� ZCd9d:� ZDeEd;�ZFd<d=� ZGd>d?� ZHd@dA� ZIdBdC� ZJdDdE� ZKdFdG� ZLejMdHdI� �ZNdJdK� ZOdjdLdM�ZPdNdO� ZQdkdQdR�ZRdSdT� ZSdUdV� ZTdW�UdX�ZVeVdY ZWeVdZ ZXd[d\� ZYd]d^� ZZd_d`� Z[e�\da�Z]e�\db�Z^dcdd� Z_dedf� Z`dgdh� ZadS )lz� requests.utils ~~~~~~~~~~~~~~ This module provides utility functions that are used within Requests that are also useful for external consumption. � N)�OrderedDict� ��__version__)�certs)�to_native_string)�parse_http_list)�quote�urlparse�bytes�str�unquote� getproxies�proxy_bypass� urlunparse� basestring� integer_types�is_py3�proxy_bypass_environment�getproxies_environment�Mapping��cookiejar_from_dict)�CaseInsensitiveDict)� InvalidURL� InvalidHeader�FileModeWarning�UnrewindableBodyError)z.netrc�_netrc�P i� )�http�https�win32c C s� z t rdd l}ndd l}W n ty Y dS w z|�|jd�}t|�|d�d �}|�|d�d }W n ty= Y dS w |rB|sDdS |� d�}|D ]*}|dkrXd| vrX d S |� dd �}|� dd�}|� d d�}t�|| tj �ru d S qKdS )Nr Fz;Software\Microsoft\Windows\CurrentVersion\Internet Settings�ProxyEnable� ProxyOverride�;z<local>�.Tz\.�*z.*�?)r �winreg�_winreg�ImportError�OpenKey�HKEY_CURRENT_USER�int�QueryValueEx�OSError�split�replace�re�match�I)�hostr) �internetSettings�proxyEnable� proxyOverride�test� r; �0/usr/lib/python3/dist-packages/requests/utils.py�proxy_bypass_registry0 sN �������� �r= c C s t � rt| �S t| �S )z�Return True, if the host should be bypassed. Checks proxy settings gathered from the environment, if specified, or the registry. )r r r= )r6 r; r; r<