403Webshell
Server IP : 182.53.201.61  /  Your IP : 216.73.217.175
Web Server : Apache/2.2.15 (Fedora)
System : Linux km10.dyndns.org 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
User : apache ( 48)
PHP Version : 5.3.3
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python2.6/site-packages/BitTorrent/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyc
Ñò
¤ÅßCc@sâddkZddkZddkZddklZeiƒZ[ddkZeiZ	de	fd„ƒYZ
e
e_[ddklZl
Z
ddkTddkTddklZddklZddkZd	Zdad
efd„ƒYZeƒad„Zd
„Zgad„Zdefd„ƒYZde
fd„ƒYZeidjo
eZnde fd„ƒYZ!de"fd„ƒYZ#defd„ƒYZ$d„Z%e&e'e!e(hƒƒƒe)djoe%ƒndS(iÿÿÿÿN(tPeerIDtMyOpenerDirectorcBseZd„ZRS(cCs#ti|ƒdtfg|_dS(Ns
User-agent(tOldOpenerDirectort__init__t
user_agentt
addheaders(tself((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyRs
(t__name__t
__module__R(((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyRs(tHTTPConnectiontHTTP(t*(tGzipFile(tStringIOitPreRawServerBuffercBs5eZd„Zd„Zd„Zd„Zd„ZRS(cCsh|_tiƒ|_dS(N(tpending_socketst	threadingtLocktpending_sockets_lock(R((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyR3s	cCsBt|tƒpt‚|iiƒ|i|ƒ|iiƒdS(N(t
isinstancetstrtAssertionErrorRtacquiret+_PreRawServerBuffer__add_pending_connectiontrelease(Rtaddr((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyt_add_pending_connection7s

cCs8||ijod|i|<n|i|cd7<dS(Ni(R(RR((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyt__add_pending_connection>scCs+|iiƒ|i|ƒ|iiƒdS(N(RRt._PreRawServerBuffer__remove_pending_connectionR(RR((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyt_remove_pending_connectionDs

cCs9|i|cd8<|i|djo|i|=ndS(Nii(R(RR((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyt__remove_pending_connectionIs(RRRRRRR(((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyR2s
				cCs
|adS(N(t
http_bindaddr(tbindaddr((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pytbind_tracker_connectionOscCsUx+tiD] }|i|ƒti|ƒq
Wttiƒdjpt‚|adS(Ni(t	rawserverRt_add_pending_connectionsRtlenR(t
new_rawserverR((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pytset_zurllib_rawserverSs

cCstitiƒƒdS(N(tunsafe_threadstappendtthreadt	get_ident(((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pytadd_unsafe_thread\stBindingHTTPConnectioncBseZd„ZRS(c
Cs–tiƒ}|tjpt‚d}xOti|i|idtiƒD],}|\}}}}}|d}	t	i
|	ƒyvti|||ƒ|_to|ii
tdfƒn|idjod|i|ifGHn|ii|ƒWnetij
oV}|idjodG|i|ifGHn|io|iiƒnd|_nXt	i|	ƒ|ioPqHqHW|ipti|‚ndS(Ns!getaddrinfo returns an empty listisconnect: (%s, %s)s
connect fail:(R)R*R'RtsockettgetaddrinfothosttporttSOCK_STREAMR"RtsockRtbindt
debugleveltconnectterrortclosetNoneR(
Rtidenttmsgtrestaftsocktypetprotot	canonnametsaR((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyR5as6





	
(RRR5(((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyR,`stBindingHTTPcBseZeZRS((RRR,t_connection_class(((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyRA‡siitHTTPContentEncodingHandlercBseZdZd„ZRS(s6Inherit and add gzip/deflate/etc support to HTTP gets.cCsÂ|iddƒtodGH|iGHdGHn|it|ƒ}|i}toti|iƒn|i}t|||ƒ}t	|dƒo|i
|_
nt	|dƒo|i|_n|S(NsAccept-EncodingtgzipsSending:s
tcodeR:(t
add_headertDEBUGtheaderstdo_openRAtpprinttdictturltaddinfourldecompressthasattrRER:(RtreqtfpRHRLtresp((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyt	http_opens 			(RRt__doc__RR(((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyRCsRMcBs)eZdZd„Zd„Zd„ZRS(s<Do gzip decompression if necessary. Do addinfourl stuff too.cCs~|idƒoO|ddjo>tod|ddGHnd|_||_t|ƒ}n
d|_ti||||ƒS(Nscontent-encodingRDsContents of Content-encoding: sContent-encodings
ii(thas_keyRGRDtrawfpt
GzipStreamt
addinfourlR(RRPRHRL((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyR¥s!			cCs,|iiƒ|io|iiƒndS(N(RPR7RDRU(R((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyR7µs

cCs|iS(N(RD(R((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pytiscompressedºs(RRRSRR7RX(((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyRM£s		RVcBs eZdZd„Zd„ZRS(sÏMagically decompress a file object.

       This is not the most efficient way to do this but GzipFile() wants
       to seek, etc, which won't work for a stream such as that from a socket.
       So we copy the whole shebang info a StringIO object, decompress that
       then let people access the decompressed output as a StringIO object.

       The disadvantage is memory use and the advantage is random access.

       Will mess with fixing this later.
    cCsÇ||_tƒ}|iƒ}x%|o|i|ƒ|iƒ}q!W|iddƒtd|ƒ}d}|iƒ}x"|o||7}|iƒ}qzW|iƒ|iƒti||ƒ~dS(Nitfileobjt(RPR
treadtwritetseekRR7R(RRPt
compressedtrtgzR((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyRÊs&		



cCs|iiƒti|ƒS(N(RPR7R
(R((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyR7ãs
(RRRSRR7(((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyRV½s	cCsrdGHd„}dGHtdƒ}|iƒGH||ƒ|iƒdGHtdƒ}|iƒGH||ƒ|iƒdS(s:Test this module.

       At the moment this is lame.
    sRunning unit tests.
cSs2y|iƒo	dGHndGHWndGHnXdS(NsGET was compressed.
sGET was uncompressed.
s0no iscompressed function!  this shouldn't happen(RX(RP((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyt	printcompðs
		s'Trying to GET a compressed document...
s'http://a.scarywater.net/hng/index.shtmls%Trying to GET an unknown document...
shttp://www.otaku.org/N(turlopenR[R7(RaRP((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyttestès		


t__main__(ii(*tsysRR)t
BitTorrentRtmake_idRturllib2tOpenerDirectorRRthttplibR	R
turllibRDRR
RJRGR8RtobjectRR"R!R&R'R+R,RAtversion_infotHTTPHandlerRCRWRMRVRctinstall_openertbuild_openertProxyHandlerR(((s6/usr/lib/python2.6/site-packages/BitTorrent/zurllib.pyt<module>sF		

					'
+	!


Youez - 2016 - github.com/yon3zu
LinuXploit