Uname:Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3.10/test/test_email/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.10/test/test_email/__pycache__/test_pickleable.cpython-310.pyc
o

�9j�	�@s�ddlZddlZddlZddlZddlZddlZddlmZddlmZddl	m
Z
mZeGdd�de
��ZeGdd�de
��Z
ed	krJe��dSdS)
�N��policy)�HeaderRegistry)�
TestEmailBase�parameterizec@s:eZdZe�Zedd�Zddddd�Zdd	�Zd
d�ZdS)
�TestPickleCopyHeader�subject�this is a test)rr	)�from�frodo@mordor.net)�toza: k@b.com, y@z.com;, j@f.com)�date�Tue, 29 May 2012 09:24:26 +1000)rr
rr
cCs.|�||�}t�|�}|�t|�t|��dS�N)�header_factory�copy�deepcopy�assertEqual�str)�self�name�value�header�h�r�6/usr/lib/python3.10/test/test_email/test_pickleable.py�header_as_deepcopys
z'TestPickleCopyHeader.header_as_deepcopycCsN|�||�}ttjd�D]}t�||�}t�|�}|�t|�t|��q
dS�N�)r�range�pickle�HIGHEST_PROTOCOL�dumps�loadsrr)rrrr�proto�prrrr�header_as_pickles
�z%TestPickleCopyHeader.header_as_pickleN)	�__name__�
__module__�__qualname__rr�unstructured�
header_paramsrr&rrrrrs
�rc@s�eZdZiZeje�d�ej	d�fed<ej
jej	d�fed<deddd<deddd	<d
eddd<deddd
<edd�d�dd�Z
dd�ZdS)�TestPickleCopyMessagez�        Date: Tue, 29 May 2012 09:24:26 +1000
        From: frodo@mordor.net
        To: bilbo@underhill.org
        Subject: help

        I think I forgot the ring.
        r�parsed�createdrr�Dater�Fromzbilbo@underhill.org�To�help�SubjectzI think I forgot the ring.cCs"t�|�}|�|��|���dSr)rrr�	as_string)r�msg�msg2rrr�msg_as_deepcopy@s
z%TestPickleCopyMessage.msg_as_deepcopycCsBttjd�D]}t�||�}t�|�}|�|��|���qdSr)rr r!r"r#rr4)rr5r$r%r6rrr�
msg_as_pickleDs

�z#TestPickleCopyMessage.msg_as_pickleN)r'r(r)�
msg_params�email�message_from_string�textwrap�dedentr�default�message�Message�set_payloadr7r8rrrrr,'s�	r,�__main__)�unittestr<rr r:�
email.messager�email.headerregistryr�test.test_emailrrrr,r'�mainrrrr�<module>s #�

Youez - 2016 - github.com/yon3zu
LinuXploit