403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/thread-self/root/usr/lib/python3.14/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/thread-self/root/usr/lib/python3.14/__pycache__/poplib.cpython-314.pyc
+
��3j9���Rt^RIt^RIt^RIt^RIt^RItRtRR.t!RR]	4t
^ntRtRt
R	t]
],tR
t!RR4t]'d!RR
]4t]P'R
4]R8XEd]!]P*^,4t]!]P144]P3]P*^,4]P5]P*^,4]P74]P94wtt]!^]^,4FGt ]PC] 4wt"t#t$]!R] ,4]#Ft%]!R]%,4K	]!R4KI	]PM4R#R# ]dRtELii;i)z@A POP3 client class.

Based on the J. Myers POP3 draft, Jan. 96
NTF�POP3�error_protoc��]tRt^tRtR#)r�N)�__name__�
__module__�__qualname__�__firstlineno__�__static_attributes__r��/usr/lib/python3.14/poplib.pyrrs��dri��
�
ic�a�]tRt^3toRtRt]]P3Rlt	Rt
RtRtRt
RtR	tR
tRtRtR
tRtRtRtR"RltRtRtRtRtRtRtRt]P@!R4t!Rt"Rt#R"Rlt$Rt%Rt&R"R lt'R!t(Vt)R#)#ra�This 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)
        CAPA                    capa()
        STLS                    stls()
        UTF8                    utf8()

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.
zUTF-8c��WnW nRVn\P!RWV4VPV4VnVPPR4Vn^Vn	VP4VnR#)Fzpoplib.connect�rbN)�host�port�_tls_established�sys�audit�_create_socket�sock�makefile�file�
_debugging�_getresp�welcome)�selfrr�timeouts&&&&r�__init__�
POP3.__init__bsa���	��	� %����	�	�"�D��5��'�'��0��	��I�I�&�&�t�,��	�����}�}���rc��VeV'g\R4h\P!VPVP3V4#)Nz0Non-blocking socket (timeout=0) is not supported)�
ValueError�socket�create_connectionrr)rrs&&rr�POP3._create_socketms6����w��O�P�P��'�'����D�I�I�(>��H�Hrc���VP^8�d\R\V44\P!RW4VP
P
V\,4R#)�z*put*zpoplib.putlineN)r�print�reprrrr�sendall�CRLF�r�lines&&r�_putline�
POP3._putliners@���?�?�Q���g�t�D�z� :��	�	�"�D�/��	�	���$��+�&rc��VP'd\R\V44\WP4pVPV4R#)z*cmd*N)rr)r*�bytes�encodingr/r-s&&r�_putcmd�POP3._putcmdzs2���?�?�?�E�'�4��:�6��T�=�=�)���
�
�d�rc�~�VPP\^,4p\V4\8�d\	R4hVP
^8�d\
R\V44V'g\	R4h\V4pVRR\8XdVRRV3#VR,\8XdV^RV3#VRRV3#)r(z
line too longz*get*z-ERR EOFN:Nr(N������)
r�readline�_MAXLINE�lenrrr)r*r,�CR)rr.�octetss&  r�_getline�
POP3._getline�s����y�y�!�!�(�Q�,�/���t�9�x���o�.�.��?�?�Q���g�t�D�z� :��;�z�2�2��T������9������9�f�$�$���8�r�>���"�:�v�%�%��C�R�y�&� � rc��VP4wrVP^8�d\R\V44VP	R4'g\V4hV#)r(z*resp*�+)r>rr)r*�
startswithr)r�resp�os&  rr�
POP3._getresp�sG���-�-�/����?�?�Q���h��T�
� ;����t�$�$��d�#�#��rc��VP4p.p^pVP4wrEVR8wdWVPR4'dV^,
pVR,pW5,pVPV4VP4wrEK]WV3#)��.s..�r(NN)rr>rB�append)rrC�listr=r.rDs&     r�_getlongresp�POP3._getlongresp�sx���}�}�����A�6��-�-�/����d�l����u�%�%��a�C���B�x���Z�F��K�K����m�m�o�G�D�!��6�!�!rc�D�VPV4VP4#�N)r4rr-s&&r�	_shortcmd�POP3._shortcmd�s�����T���}�}��rc�D�VPV4VP4#rO)r4rLr-s&&r�_longcmd�
POP3._longcmd�s�����T��� � �"�"rc��VP#rO)r�rs&r�
getwelcome�POP3.getwelcome�s���|�|�rc��WnR#rO)r)r�levels&&r�set_debuglevel�POP3.set_debuglevel�s���rc�2�VPRV,4#)zFSend user name, return response

(should indicate password required).
zUSER %s�rP�r�users&&rr`�	POP3.user�s��
�~�~�i�$�.�/�/rc�2�VPRV,4#)z�Send password, return response

(response includes message count, mailbox size).

NB: mailbox is locked by server from here to 'quit()'
zPASS %sr^)r�pswds&&r�pass_�
POP3.pass_�s���~�~�i�$�.�/�/rc�L�VPR4pVP4pVP'd\R\	V44\V4^8d\
R4h\V^,4p\V^,4pW43# \d
\
R4hi;i)zMGet mailbox status.

Result is tuple of 2 ints (message count, mailbox size)
�STATz*stat*zInvalid STAT response formatz.Invalid STAT response data: non-numeric values)	rP�splitrr)r*r;r�intr#)r�retval�rets�numMessages�sizeMessagess&    r�stat�	POP3.stat�s���
����'���|�|�~���?�?�?�E�(�D��J�7�
�t�9�q�=��<�=�=�	P��d�1�g�,�K��t�A�w�<�L��*�*���	P��N�O�O�	P�s�%$B�B#Nc�\�VeVPRV,4#VPR4#)z�Request 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.
zLIST %s�LIST�rPrS�r�whichs&&rrK�	POP3.list�s-�����>�>�)�e�"3�4�4��}�}�V�$�$rc�2�VPRV,4#)z_Retrieve whole message number 'which'.

Result is in form ['response', ['line', ...], octets].
zRETR %s�rSrss&&r�retr�	POP3.retrs��
�}�}�Y��.�/�/rc�2�VPRV,4#)z6Delete message number 'which'.

Result is 'response'.
zDELE %sr^rss&&r�dele�	POP3.deles��
�~�~�i�%�/�0�0rc�$�VPR4#)zHDoes nothing.

One supposes the response indicates the server is alive.
�NOOPr^rVs&r�noop�	POP3.noops��
�~�~�f�%�%rc�$�VPR4#)z(Unmark all messages marked for deletion.�RSETr^rVs&r�rset�	POP3.rsets���~�~�f�%�%rc�H�VPR4pVP4V#)zDSignoff: commit changes on server, unlock mailbox, close connection.�QUIT)rP�close)rrCs& r�quit�	POP3.quit s���~�~�f�%���
�
���rc��VPpRVnVeVP4VPpRVnVe3VP\P
4VP4R#R# \d=pTP\P8wd\TR^4R8wdhRp?LVRp?ii;i TP4i;i TPpRTnTe�TP\P
4MJ \d=pTP\P8wd\TR^4R8wdhRp?MRp?ii;iTP4i TP4i;ii;i)z8Close the connection without assuming anything about it.N�winerrori&')
rr�r�shutdownr$�	SHUT_RDWR�OSError�errno�ENOTCONN�getattr)rrr�excs&   rr��
POP3.close&s)��	!��9�9�D��D�I����
�
���9�9�D��D�I���
!��M�M�&�"2�"2�3��J�J�L� �����	�	�U�^�^�3�"�3�
�A�6�%�?����
���J�J�L���9�9�D��D�I���
!��M�M�&�"2�"2�3�����	�	�U�^�^�3�"�3�
�A�6�%�?����
���J�J�L��D�J�J�L�� �sq�'C�A4�4B;�?2B6�1B>�6B;�;B>�>C�E=�,D�E'�E�2E�	E'�E�E'�E=�'E9�9E=c�2�VPRV,4#)z?Send RPOP command to access the mailbox with an alternate user.zRPOP %sr^r_s&&r�rpop�	POP3.rpopBs���~�~�i�$�.�/�/rs\+OK.[^<]*(<.*>)c�D�\W P4pVPPVP4pV'g\R4h^RIpVP^4V,pVPV4P4pVPRV:RV:24#)z�Authorisation

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

Args:
        user     - mailbox user;
        password - mailbox password.

NB: mailbox is locked by server from here to 'quit()'
z!-ERR APOP not supported by serverNzAPOP � )r2r3�	timestamp�matchrr�hashlib�group�md5�	hexdigestrP)rr`�password�secret�mr��digests&&&    r�apop�	POP3.apopIsy���x���/���N�N� � ����.����A�B�B�������F�"�����V�$�.�.�0���~�~�d�F�;�<�<rc�4�VPRV:RV:24#)z�Retrieve message header of message number 'which'
and first 'howmuch' lines of message body.

Result is in form ['response', ['line', ...], octets].
zTOP r�rw)rrt�howmuchs&&&r�top�POP3.top^s���}�}�E�7�;�<�<rc�\�VeVPRV,4#VPR4#)z�Return 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]
zUIDL %s�UIDLrrrss&&r�uidl�	POP3.uidlgs-�����>�>�)�e�"3�4�4��}�}�V�$�$rc�$�VPR4#)zITry to enter UTF-8 mode (see RFC 6856). Returns server response.
        �UTF8r^rVs&r�utf8�	POP3.utf8ss���~�~�f�%�%rc��Rp/pVPR4pV^,pVFpV!V4wrgWrV&K	V# \d
\R4hi;i)a�Return server capabilities (RFC 2449) as a dictionary
>>> c=poplib.POP3('localhost')
>>> c.capa()
{'IMPLEMENTATION': ['Cyrus', 'POP3', 'server', 'v2.2.12'],
 'TOP': [], 'LOGIN-DELAY': ['0'], 'AUTH-RESP-CODE': [],
 'EXPIRE': ['NEVER'], 'USER': [], 'STLS': [], 'PIPELINING': [],
 'UIDL': [], 'RESP-CODES': []}
>>>

Really, according to RFC 2449, the cyrus folks should avoid
having the implementation split into multiple arguments...
c�d�VPR4P4pV^,VR,3#)�asciirI)�decoderh)r.�lsts& r�	_parsecap�POP3.capa.<locals>._parsecap�s+���+�+�g�&�,�,�.�C��q�6�3�r�7�?�"r�CAPAz!-ERR CAPA not supported by server)rSr)rr��capsrC�rawcaps�capline�capnm�capargss&       r�capa�	POP3.capaysn��	#���	C��=�=��(�D��1�g�G�"��!*�7�!3���%�U��#�
����	C��A�B�B�	C�s	�1:�Ac��\'g\R4hVP'd\R4hVP4pRV9g\R4hVf\P
!4pVP
R4pVPVPVPR7VnVPPR4VnRVnV#)zcStart a TLS session on the active connection as specified in RFC 2595.

context - a ssl.SSLContext
z-ERR TLS support missing�$-ERR TLS session already established�STLSz!-ERR STLS not supported by server��server_hostnamerT)�HAVE_SSLrrr��ssl�_create_stdlib_contextrP�wrap_socketrrrr)r�contextr�rCs&&  r�stls�	POP3.stls�s���
�x��8�9�9�� � � ��D�E�E��y�y�{����~��A�B�B��?��0�0�2�G��~�~�f�%���'�'��	�	�8<�	�	�(�C��	��I�I�&�&�t�,��	� $����r)rrrrrrrrO)*rrrr	�__doc__r3�	POP3_PORTr$�_GLOBAL_DEFAULT_TIMEOUTr rr/r4r>rrLrPrSrWr[r`rdrnrKrxr{rr�r�r�r��re�compiler�r�r�r�r�r�r�r
�__classdictcell__��
__classdict__s@rrr3s�����)�V�H�"+��7�7�	'�I�
'��!�*�"� �#�� �0�0�+�0%�0�1�&�&�
�!�80�
�
�
�/�0�I�=�*=�	%�&��:�rc�`a�]tRtRtoRt]3R]PRR/RlltRt	R
Rlt
R	tVtR#)�POP3_SSLi�aPOP3 client class over SSL connection

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

       hostname - the hostname of the pop3 over ssl server
       port - port number
       context - a ssl.SSLContext

See the methods of the parent class POP3 for more documentation.
rr�Nc�p�Vf\P!4pW@n\P	WW#4R#rO)r�r�r�rr )rrrrr�s&&&$$rr �POP3_SSL.__init__�s(�����4�4�6��"�L��M�M�$�d�4rc�~�\PW4pVPPVVPR7pV#)r�)rrr�r�r)rrrs&& rr�POP3_SSL._create_socket�s:���&�&�t�5�D��<�<�+�+�D�<@�I�I�,�G�D��Krc��\R4h)z�The method unconditionally raises an exception since the
STLS command doesn't make any sense on an already established
SSL/TLS session.
r�)r)rr�s&&rr��
POP3_SSL.stls�s��
�D�E�Er)r�rO)
rrrr	r��
POP3_SSL_PORTr$r�r rr�r
r�r�s@rr�r��s;����		�'4�	5� &� >� >�	5�HL�	5�	�	F�	Frr��__main__zMessage %d:z   z-----------------------)'r�r�r�r$rr�r��ImportError�__all__�	Exceptionrr�r�r<�LFr,r:rr�rJr�argv�ar)rWr`rdrKrn�numMsgs�	totalSize�range�irx�header�msgr=r.r�rrr�<module>r�sy���
�	�
�
����H��-�
 ��#�)�"�
�	��
���
��	�"�u����v�v�r�F�4�F�@�N�N�:���z���S�X�X�a�[��A�	�!�,�,�.���F�F�3�8�8�A�;���G�G�C�H�H�Q�K���F�F�H��6�6�8��W�i�
�1�g��k�
"�� !���q�	����f�
�m�a�� ��D��%�$�,���
�'�(�#��F�F�H���q
���H��s�E7�7	F�F

Youez - 2016 - github.com/yon3zu
LinuXploit