403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.51
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/Python315/Lib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/__pycache__/poplib.cpython-315.pyc
R
>lqjf;c��Qs]PHs]PHs]PHs]PHs]PHsP	sQQ,sQQ\	2s
]nsQsQs
Qs\
\*sQsQQ2s\%cQ	Q
\2s\O'Q
2\Q6XCc\\O*]*2s\\O122\O3\O*]*2\O5\O*]*2\O72\O92vss\]\]*2FDHs \OC\ 2vs"s#s$\Q\ *2\#FDs%\Q
\%*2J	\Q2JJ	\OM2P!P!\cP
sCKkh9h)z@A POP3 client class.

Based on the J. Myers POP3 draft, Jan. 96
�POP3�error_protoc��\sQs]sQsP!)r�)�__name__�
__module__�__qualname__�__firstlineno__�__static_attributes__r��C:\Python315\\Lib\poplib.pyrrs��dr
���
�
ic�`�\sQs]3snQsQs\\O1Qks	Qs
QsQsQs
QsQ	sQ
sQsQsQ
sQsQsQsQ!QksQsQsQsQsQsQsQs\O@Q2s!Qs"Qs#Q!Qks$Qs%Qs&Q!Qks'Q s(Us)P!)"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��VmV mP
Um[OQVU2UOU2UmUOOQ2Um]Um	UO2UmP!)Fzpoplib.connect�rb)�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�,��	�����}�}���r
c��UdU%f[Q2g[OUOUO1U2!)Nz0Non-blocking socket (timeout=0) is not supported)�
ValueError�socket�create_connectionrr)rrs&&rr�POP3._create_socketms6����w��O�P�P��'�'����D�I�I�(>��H�Hr
c���UO]6�c[Q[U22[OQV2UO
O
U[*2P!)�z*put*zpoplib.putline)r�print�reprrrr�sendall�CRLF�r�lines&&r�_putline�
POP3._putliners@���?�?�Q���g�t�D�z� :��	�	�"�D�/��	�	���$��+�&r
c���UO%c[Q[U22[VO2o[
OQU2%c[Q2gUOU2P!)z*cmd*s[-]z*Control characters not allowed in commands)	rr)r*�bytes�encoding�re�searchr#r/r-s&&r�_putcmd�POP3._putcmdzsP���?�?�?�E�'�4��:�6��T�=�=�)��
�9�9�'��.�.��I�J�J��
�
�d�r
c��UOO[]*2o[U2[6�c[	Q2gUO
]6�c[
Q[U22U%f[	Q2g[U2oUQP[6XcUPQU1!UQ*[6XcU]PU1!UPPU1!)r(z
line too longz*get*z-ERR EOF: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�&� � r
c��UO2vqUO]6�c[Q[U22UO	Q2%f[U2gU!)r(z*resp*�+)r?rr)r*�
startswithr)r�resp�os&  rr�
POP3._getresp�sG���-�-�/����?�?�Q���h��T�
� ;����t�$�$��d�#�#��r
c��UO2o,o]oUO2vqEUQ6wcWUOQ2%cU]*
oUQ*oV5*oUOU2UO2vqEJ]VU1!)��.s..�r(NN)rr?rC�append)rrD�listr>r.rEs&     r�_getlongresp�POP3._getlongresp�sx���}�}�����A�6��-�-�/����d�l����u�%�%��a�C���B�x���Z�F��K�K����m�m�o�G�D�!��6�!�!r
c�F�UOU2UO2!�N)r6rr-s&&r�	_shortcmd�POP3._shortcmd�s�����T���}�}��r
c�F�UOU2UO2!rP)r6rMr-s&&r�_longcmd�
POP3._longcmd�s�����T��� � �"�"r
c��UO!rP)r�rs&r�
getwelcome�POP3.getwelcome�s���|�|�r
c��VmP!rP)r)r�levels&&r�set_debuglevel�POP3.set_debuglevel�s���r
c�4�UOQU*2!)zFSend user name, return response

(should indicate password required).
zUSER %s�rQ�r�users&&rra�	POP3.user�s��
�~�~�i�$�.�/�/r
c�4�UOQU*2!)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�$�.�/�/r
c�N�UOQ2oUO2oUO%c[Q[	U22[U2]6c[
Q2g[U]*2o[U]*2oV41![c
[
Q2gh9h)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)	rQ�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$�
B$c�^�UdUOQU*2!UOQ2!)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�rQrT�r�whichs&&rrL�	POP3.list�s-�����>�>�)�e�"3�4�4��}�}�V�$�$r
c�4�UOQU*2!)z_Retrieve whole message number 'which'.

Result is in form ['response', ['line', ...], octets].
zRETR %s�rTrts&&r�retr�	POP3.retrs��
�}�}�Y��.�/�/r
c�4�UOQU*2!)z6Delete message number 'which'.

Result is 'response'.
zDELE %sr_rts&&r�dele�	POP3.dele
s��
�~�~�i�%�/�0�0r
c�&�UOQ2!)zHDoes nothing.

One supposes the response indicates the server is alive.
�NOOPr_rWs&r�noop�	POP3.noops��
�~�~�f�%�%r
c�&�UOQ2!)z(Unmark all messages marked for deletion.�RSETr_rWs&r�rset�	POP3.rsets���~�~�f�%�%r
c�J�UOQ2oUO2U!)zDSignoff: commit changes on server, unlock mailbox, close connection.�QUIT)rQ�close)rrDs& r�quit�	POP3.quit"s���~�~�f�%���
�
���r
c��UOoPUmUdUO2UOoPUmUd3UO[O
2UO2P!P![c=oSO[O6wc[SQ]2Q6wcgPo=KVPo=hh9hSO2h9hSOoPSmSd�SO[O
2LJ[c=oSO[O6wc[SQ]2Q6wcgPo=LPo=hh9hSO2hSO2h9hh9h)z8Close the connection without assuming anything about it.�winerrori&')
rr�r�shutdownr$�	SHUT_RDWR�OSError�errno�ENOTCONN�getattr)rrr�excs&   rr��
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�� �s��C�C�A5�5	B<�?B<�B7�B7�1B7�2B?�7B<�<B?�?C�E>�-D
�E(�
	E�E�E�7E�	E�
E(�E�E(�E>�(E:�:E>c�4�UOQU*2!)z?Send RPOP command to access the mailbox with an alternate user.zRPOP %sr_r`s&&r�rpop�	POP3.rpopDs���~�~�i�$�.�/�/r
s\+OK.[^<]*(<.*>)c�F�[V O2oUOOUO2oU%f[Q2g]PHoUO]2U*oUOU2O2oUOQU8QU802!)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 serverzAPOP � )r2r3�	timestamp�matchrr�hashlib�group�md5�	hexdigestrQ)rra�password�secret�mr��digests&&&    r�apop�	POP3.apopKsy���x���/���N�N� � ����.����A�B�B�������F�"�����V�$�.�.�0���~�~�d�F�;�<�<r
c�6�UOQU8QU802!)z�Retrieve message header of message number 'which'
and first 'howmuch' lines of message body.

Result is in form ['response', ['line', ...], octets].
zTOP r�rx)rru�howmuchs&&&r�top�POP3.top`s���}�}�E�7�;�<�<r
c�^�UdUOQU*2!UOQ2!)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�UIDLrsrts&&r�uidl�	POP3.uidlis-�����>�>�)�e�"3�4�4��}�}�V�$�$r
c�&�UOQ2!)zITry to enter UTF-8 mode (see RFC 6856). Returns server response.
        �UTF8r_rWs&r�utf8�	POP3.utf8us���~�~�f�%�%r
c��Qo-oUOQ2oU]*oSFDoUU2vqgVrU$J	U![c
[Q2gh9h)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�f�UOQ2O2oU]*UQ*1!)�asciirJ)�decoderi)r.�lsts& r�	_parsecap�POP3.capa.<locals>._parsecap�s+���+�+�g�&�,�,�.�C��q�6�3�r�7�?�"r
�CAPAz!-ERR CAPA not supported by server)rTr)rr��capsrD�rawcaps�capline�capnm�capargss&       r�capa�	POP3.capa{sn��	#���	C��=�=��(�D��1�g�G�"��!*�7�!3���%�U��#�
����	C��A�B�B�	C�s�2<�	A�
Ac��[%f[Q2gUO%c[Q2gUO2oQU7f[Q2gUe[O
2oUO
Q2oUOUOUOQ5UmUOOQ2UmP	UmU!)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_hostnamer)�HAVE_SSLrrr��ssl�_create_stdlib_contextrQ�wrap_socketrrrr)r�contextr�rDs&&  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
)rrrrrrrrP)*rrrr�__doc__r3�	POP3_PORTr$�_GLOBAL_DEFAULT_TIMEOUTr rr/r6r?rrMrQrTrXr\rarerorLryr|r�r�r�r�r�r4�compiler�r�r�r�r�r�r�r	�__classdictcell__��
__classdict__s@rrr3s�����)�V�H�"+��7�7�	'�I�
'��!�*�"� �#�� �0�0�+�0%�0�1�&�&�
�!�80�
�
�
�/�0�I�=�*=�	%�&��:�r
c�b`�\sQsQsnQs\1Q\OQP-QkksQs	Q	Qks
QsUsP!)
�POP3_SSL�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�c�r�Ue[O2oV@m[O	VV#2P!rP)r�r�r�rr )rrrrr�s&&&$$rr �POP3_SSL.__init__�s(�����4�4�6��"�L��M�M�$�d�4r
c��[OV2oUOOUUOQ5oU!)r�)rrr�r�r)rrrs&& rr�POP3_SSL._create_socket�s:���&�&�t�5�D��<�<�+�+�D�<@�I�I�,�G�D��Kr
c��[Q2g)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&&rr��
POP3_SSL.stls�s��
�D�E�Er
)r�rP)
rrrrr��
POP3_SSL_PORTr$r�r rr�r	r�r�s@rr�r��s;����		�'4�	5� &� >� >�	5�HL�	5�	�	F�	Fr
r��__main__zMessage %d:z   z-----------------------)'r�r�r4r$rr�r��ImportError�__all__�	Exceptionrr�r�r=�LFr,r;rr�rKr�argv�ar)rXrarerLro�numMsgs�	totalSize�range�iry�header�msgr>r.r�rr
r�<module>r�sy���
�	�
�
����H��-�
 ��#�)�"�
�	��
���
��	�"�u����x�x�v�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���u
���H��s�E:�:F�F�F

Youez - 2016 - github.com/yon3zu
LinuXploit