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/papyon/msnp/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python2.6/site-packages/papyon/msnp/message.pyc
Ñò
ŽÎžJc@s†dZddklZddkiiZddklZlZddk	Z	ddgZ
defd„ƒYZdefd„ƒYZ
dS(	s"MSN protocol special command : MSGiÿÿÿÿ(tHTTPMessageN(tquotetunquotetMessageAcknowledgementtMessagecBs&eZdZdZdZdZdZRS(sMessage AcknowledgementtAtDtNtU(t__name__t
__module__t__doc__tFULLtMSNCtHALFtNONE(((s7/usr/lib/python2.6/site-packages/papyon/msnp/message.pyR scBsMeZdZddd„Zd„Zd„Zd„ZeeeddƒZ	RS(	sŠBase Messages class.
    
        @ivar sender: sender
        @type sender: profile.Contact
        
        @ivar body: message body
        @type body: string
        
        @ivar headers: message headers
        @type headers: {header_name: string => header_value:string}
        
        @ivar content_type: the message content type
        @type content_type: tuple(mime_type, encoding)tcCs2ti|ƒ||_|o|i|ƒndS(s‹Initializer
            
            @param message: The body of the message, it is put after the headers
            @type message: stringN(Rt__init__tsendertparse(tselfRtmessage((s7/usr/lib/python2.6/site-packages/papyon/msnp/message.pyR:s
	c	Cs£d}x1|iiƒD] \}}|d||f7}qW|d7}|iddjo*|dti|iƒiddƒ7}n|id	 }|id
}tid|idd
!ƒd}tid|idd!ƒd}|id	d
!}|dti|ƒiddƒ7}|djp
|djo'|dti|ƒiddƒ7}n0t	|ƒdjo|ddt	|ƒ7}n|dti|ƒ7}|i
dƒS(s%Represents the payload of the messageRs	%s: %s\r\n
s	\r\n
sContent-Typesapplication/x-msnmsgrp2ps	s
s\r\n
	i0iüÿÿÿs<Liiii s
	s[%d bytes of data](theaderst	iteritemstdebugt
escape_stringtbodytreplacetstructtunpackt
hexify_stringtlentrstrip(	RRtheader_nametheader_valuet
tlp_headert
tlp_footerttlp_session_idt	tlp_flagsR((s7/usr/lib/python2.6/site-packages/papyon/msnp/message.pyt__repr__Ds*


  #cCsd|ijo||ididdƒ}t|ƒdjo|diƒdfS|diƒ}|diddƒdiƒ}||fSdS(	NsContent-Typet;iisUTF-8t=s
text/plain(s
text/plainsUTF-8(RtsplitRtstrip(Rtcontent_typet	mime_typetencoding((s7/usr/lib/python2.6/site-packages/papyon/msnp/message.pyt__get_content_type_s cCs4t|tƒpdi|ƒ}n||id<dS(Ns
; charset=sContent-Type(t
isinstancetstrtjoinR(RR,((s7/usr/lib/python2.6/site-packages/papyon/msnp/message.pyt__set_content_typeistdocs#a tuple specifying the content typeN(
R	R
RtNoneRR't_Message__get_content_typet_Message__set_content_typetpropertyR,(((s7/usr/lib/python2.6/site-packages/papyon/msnp/message.pyR+s

		
	(Rtpapyon.gnet.message.HTTPRtpapyon.util.debugtutilRturllibRRRt__all__tobjectRR(((s7/usr/lib/python2.6/site-packages/papyon/msnp/message.pyt<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit