| Server IP : 178.105.222.151 / Your IP : 216.73.216.38 Web Server : nginx/1.28.3 System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.5.4 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/httplib2/__pycache__/ |
Upload File : |
+
��Pj�L � �L � R t ^ RIt^ RIt^ RIt^ RIt]! ]RR4 f ]! R4 h^t^t^t ^t
Rs]P t ! R R]
4 t ! R R]4 t ! R R ]4 t ! R
R]4 t ! R R
]4 t ! R R]4 tRtRtRtRtRR ltR t ! R R]P 4 tR# )a SocksiPy - Python SOCKS module.
Version 1.00
Copyright 2006 Dan-Haim. All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of Dan Haim nor the names of his contributors may be used
to endorse or promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY DAN HAIM "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL DAN HAIM OR HIS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMANGE.
This module provides a standard socket-like interface for Python
for tunneling connections through SOCKS proxies.
Minor modifications made by Christopher Gilbert (http://motomastyle.com/) for
use in PyLoris (http://pyloris.sourceforge.net/).
Minor modifications made by Mario Vilas (http://breakingcode.wordpress.com/)
mainly to merge bug fixes found in Sourceforge.
N�socketz-socket.socket missing, proxy support unusablec � � ] tR t^7tRtR# )�
ProxyError� N��__name__�
__module__�__qualname__�__firstlineno__�__static_attributes__r � �0/usr/lib/python3/dist-packages/httplib2/socks.pyr r 7 � � �r r c � � ] tR t^;tRtR# )�GeneralProxyErrorr Nr r r r
r r ; r r r c � � ] tR t^?tRtR# )�Socks5AuthErrorr Nr r r r
r r ? r r r c � � ] tR t^CtRtR# )�Socks5Errorr Nr r r r
r r C r r r c � � ] tR t^GtRtR# )�Socks4Errorr Nr r r r
r r G r r r c � � ] tR t^KtRtR# )� HTTPErrorr Nr r r r
r r K r r r c � � WW#WE3s R# )z�setdefaultproxy(proxytype, addr[, port[, rdns[, username[, password]]]])
Sets a default proxy which all further socksocket objects will use,
unless explicitly changed.
N)�
_defaultproxy)� proxytype�addr�port�rdns�username�passwords &&&&&&r
�setdefaultproxyr! w s � � �d�(�E�Mr c �\ � \ R8w d \ V P n R# \ R4 h)a wrapmodule(module)
Attempts to replace a module's socket library with a SOCKS socket. Must set
a default proxy using setdefaultproxy(...) first.
This will only work on modules that import socket directly into the
namespace;
most of the Python Standard Library falls into this category.
N)� zno proxy specified)r �
socksocketr r )�modules &r
�
wrapmoduler&