crash.software
Projects
Pull Requests
Issues
Builds
Tor
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
Tor
Files
🤬
Sign In
e19f7de8
ROOT
/
proxy
/
socks
/
socks.py
Search
History
766 lines
|
ISO-8859-1
|
29 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
socket
struct
EOPNOTSUPP
EINVAL
EAGAIN
BytesIO
SEEK_CUR
Callable
b64encode
PROXY_TYPE_SOCKS4
SOCKS4
PROXY_TYPE_SOCKS5
SOCKS5
PROXY_TYPE_HTTP
HTTP
PROXY_TYPES
PRINTABLE_PROXY_TYPES
ProxyError
(IOError)
msg
socket_err
__init__
(self,msg,socket_err=None)
__str__
(self)
GeneralProxyError
(ProxyError)
ProxyConnectionError
(ProxyError)
SOCKS5AuthError
(ProxyError)
SOCKS5Error
(ProxyError)
SOCKS4Error
(ProxyError)
HTTPError
(ProxyError)
SOCKS4_ERRORS
SOCKS5_ERRORS
DEFAULT_PORTS
set_default_proxy
(proxy_type=None,addr=None,port=None,rdns=True,username=None,password=None)
socksocket
setdefaultproxy
get_default_proxy
()
getdefaultproxy
wrap_module
(module)
module
wrapmodule
create_connection
(dest_pair,proxy_type=None,proxy_addr=None,proxy_port=None,proxy_rdns=True,proxy_username=None,proxy_password=None,timeout=None,source_address=None,socket_options=None)
_BaseSocket
(socket.socket)
_savedmethods
__init__
(self,*pos,**kw)
_savenames
_makemethod
(name)
method
socksocket
(_BaseSocket)
default_proxy
_proxyconn
proxy
proxy_sockname
proxy_peername
__init__
(self,family=socket.AF_INET,type=socket.SOCK_STREAM,proto=0,*args,**kwargs)
_readall
(self,file,count)
set_proxy
(self,proxy_type=None,addr=None,port=None,rdns=True,username=None,password=None)
setproxy
bind
(self,*pos,**kw)
sendto
(self,bytes,*args,**kwargs)
send
(self,bytes,flags=0,**kwargs)
recvfrom
(self,bufsize,flags=0)
recv
(self,*pos,**kw)
close
(self)
get_proxy_sockname
(self)
getproxysockname
get_proxy_peername
(self)
getproxypeername
get_peername
(self)
getpeername
_negotiate_SOCKS5
(self,*dest_addr)
_SOCKS5_request
(self,conn,cmd,dst)
_write_SOCKS5_address
(self,addr,file)
_read_SOCKS5_address
(self,file)
_negotiate_SOCKS4
(self,dest_addr,dest_port)
_negotiate_HTTP
(self,dest_addr,dest_port)
_proxy_negotiators
connect
(self,dest_pair)
_proxy_addr
(self)
All occurrences
Please wait...
Page is in error, reload to recover