403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
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/test/test_email/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python315/Lib/test/test_email/__pycache__/test_defect_handling.cpython-315.pyc
R
>lqj�5c���]PHs]PHs]PHs]QHGs]QHGs]QHGsQQ2sQQ\\2s	QQ	\\2s
Q
Q\\2sQQ
\\2s\
Q6Xc\O2P!P!)���policy)�errors)�
TestEmailBasec��`�\sQs]	sn\O
sP
s\OQ2s	Qs
Qs\OQ2sQsQsQsQsQ	sQ
sQsQsQ
sQsQsQsQsQsUsP!)�TestDefectsBasec#� �Pw�	P!3h�N���self�defects&&�9C:\Python315\\Lib\test\test_email\test_defect_handling.py�_raise_point�TestDefectsBase._raise_points���
�s�	c�
�[OQ2oUO[O29^tt^2UOU2oPPP2UO%cP!WO]2oUOUQ2UO[UOU22]2UOUOU2]*[O2P!)%fhK�9h)a_            Subject: XX
            From: xx@xx.dk
            To: XX
            Mime-version: 1.0
            Content-type: multipart/mixed;
               boundary="MS_Mac_OE_3071477847_720252_MIME_Part"

            --MS_Mac_OE_3071477847_720252_MIME_Part
            Content-type: multipart/alternative;
               boundary="MS_Mac_OE_3071477847_720252_MIME_Part"

            --MS_Mac_OE_3071477847_720252_MIME_Part
            Content-type: text/plain; charset="ISO-8859-1"
            Content-transfer-encoding: quoted-printable

            text

            --MS_Mac_OE_3071477847_720252_MIME_Part
            Content-type: text/html; charset="ISO-8859-1"
            Content-transfer-encoding: quoted-printable

            <HTML></HTML>

            --MS_Mac_OE_3071477847_720252_MIME_Part--

            --MS_Mac_OE_3071477847_720252_MIME_Part
            Content-type: image/gif; name="xx.gif";
            Content-disposition: attachment
            Content-transfer-encoding: base64

            Some removed base64 encoded chars.

            --MS_Mac_OE_3071477847_720252_MIME_Part--

            �defects)
�textwrap�dedentrr�StartBoundaryNotFoundDefect�_str_msg�raise_expected�get_payload�
assertHasAttr�assertEqual�len�get_defects�assertIsInstance)r�source�msg�inners&   r�test_same_boundary_inner_outer�.TestDefectsBase.test_same_boundary_inner_outers������#"�#��J�
�
�v�A�A�
B�
B��-�-��'�C�C����������"�����5�)�,�����T�-�-�e�4�5�q�9����d�.�.�u�5�a�8�$�@�@�	B�
C�
B�s�C2�2D	�;D	c�x�[OQ2oUO[O29^tt^2UOU2oPPP2UO%cP!UOWO2[2UO[UOU22]2UOUOU2]*[O2UOUOU2]*[O2P!)%fhK�9h)a�            Date: Fri, 6 Apr 2001 09:23:06 -0800 (GMT-0800)
            From: foobar
            Subject: broken mail
            MIME-Version: 1.0
            Content-Type: multipart/report; report-type=delivery-status;

            --JAB03225.986577786/zinfandel.lacita.com

            One part

            --JAB03225.986577786/zinfandel.lacita.com
            Content-Type: message/delivery-status

            Header: Another part

            --JAB03225.986577786/zinfandel.lacita.com--
            )rrrr�NoBoundaryInMultipartDefectrrrr�strrrr�!MultipartInvariantViolationDefect�rrrs&  r�test_multipart_no_boundary�*TestDefectsBase.test_multipart_no_boundaryAs������"���$�
�
�v�A�A�
B�
B��-�-��'�C�C���������c�o�o�/��5�����T�-�-�c�2�3�Q�7����d�.�.�s�3�A�6�$�@�@�	B����d�.�.�s�3�A�6�$�F�F�	H�C�
B�s�D)�)D9	�2D9	a^        Date: Wed, 14 Nov 2007 12:56:23 GMT
        From: foo@bar.invalid
        To: foo@bar.invalid
        Subject: Content-Transfer-Encoding: base64 and multipart
        MIME-Version: 1.0
        Content-Type: multipart/mixed;
            boundary="===============3344438784458119861=="{}

        --===============3344438784458119861==
        Content-Type: text/plain

        Test message

        --===============3344438784458119861==
        Content-Type: application/octet-stream
        Content-Transfer-Encoding: base64

        YWJj

        --===============3344438784458119861==--
        c���UO[O29^tt^2UOUOOQ22oPPP2UO%cP!UO[UOW22]2UOUOU2]*[O2P!)%fhK�9h)z"
Content-Transfer-Encoding: base64)rr�-InvalidMultipartContentTransferEncodingDefectr�
multipart_msg�formatrrrrr�rrs& r�test_multipart_invalid_cte�*TestDefectsBase.test_multipart_invalid_cteus���
�
�
��D�D�F�F��-�-��&�&�-�-�=�?�@�C�F�
���������T�-�-�c�2�3�Q�7����d�.�.�s�3�A�6��@�@�	B�F�F�s�+C�C"	�C"	c��UOUOOP22oUO[	UOU22]2P!)��rr,r-rrrr.s& r�test_multipart_no_cte_no_defect�/TestDefectsBase.test_multipart_no_cte_no_defect�sA���m�m�D�.�.�5�5�b�9�:������T�-�-�c�2�3�Q�7�c	���QFDfoUOUOOQU*22oUO[	UOU22]QU*2Jh	P!)�7bitz
Content-Transfer-Encoding: zcte=)r8�8bit�BINaryr3)r�cters&  r�"test_multipart_valid_cte_no_defect�2TestDefectsBase.test_multipart_valid_cte_no_defect�s[��-�C��-�-��"�"�)�)�*I�#�*M�N�P�C����S��!1�!1�#�!6�7��F�3�J�G�.r6c�T�[OQ2oUO[O29^tt^2UOU2oPPP2UO%cP!UOWQ2UO[UOU22]2UOUOU2]*[O2UOUOU2]*[O2P!)%fhK�9h)a            From: "Allison Dunlap" <xxx@example.com>
            To: yyy@example.com
            Subject: 64423
            Date: Sun, 11 Jul 2004 16:09:27 -0300
            MIME-Version: 1.0
            Content-Type: multipart/alternative;

            Blah blah blah
            r)
rrrrr$rrrrrrrr&r's&  r�test_lying_multipart�$TestDefectsBase.test_lying_multipart�s������	"�	���
�
�v�A�A�
B�
B��-�-��'�C�C���������3�	�*�����T�-�-�c�2�3�Q�7����d�.�.�s�3�A�6�$�@�@�	B����d�.�.�s�3�A�6�$�F�F�	H�C�
B�s�D�D'	� D'	c��[OQ2oUO[O29^tt^2UOU2oPPP2UO%cP!WO]2O]2oUO[UOU22]2UOUOU2]*[O2P!)%fhK�9h)a�            Content-Type: multipart/mixed; boundary="AAA"
            From: Mail Delivery Subsystem <xxx@example.com>
            To: yyy@example.com

            --AAA

            Stuff

            --AAA
            Content-Type: message/rfc822

            From: webmaster@python.org
            To: zzz@example.com
            Content-Type: multipart/mixed; boundary="BBB"

            --BBB--

            --AAA--

            )rrrrrrrrrrrr)rr�outer�bads&   r�test_missing_start_boundary�+TestDefectsBase.test_missing_start_boundary�s������"���:�
�
�v�A�A�
B�
B��M�M�&�)�E�C����������"�.�.�q�1������T�-�-�c�2�3�Q�7����d�.�.�s�3�A�6�$�@�@�	B�C�
B�s�C/�/C?	�8C?	c�r�UO[O29^tt^2UOQ2oPPP2UO%cP!UOWO
2Q,2UOUO2Q2UO[UOU22]2UOUOU2[O,2UOUOU2]*OQ2P!)%fhK�9h)z Line 1
Subject: test

body�Subject�bodyz Line 1
)rr�#FirstHeaderLineIsContinuationDefectrrr�keysrrr�assertDefectsEqual�liner.s& r�&test_first_line_is_continuation_header�6TestDefectsBase.test_first_line_is_continuation_header�s���
�
�
�v�I�I�
J�
J��-�-� @�A�C�K�������������i�[�1�������*�F�3�����T�-�-�c�2�3�Q�7����� 0� 0�� 5�"(�"L�"L�!M�	O�����)�)�#�.�q�1�6�6��D�K�
J�s�D&�&D6	�/D6	c��UO[O29^tt^2UOQ2oPPP2UO%cP!UOWO
2Q,2UOUO2Q2UOUOU2[O,2P!)%fhK�9h)z&Subject: test
not a header
To: abc

b
rGznot a header
To: abc

b
)
rr� MissingHeaderBodySeparatorDefectrrrrJrrKrr.s& r�"test_missing_header_body_separator�2TestDefectsBase.test_missing_header_body_separator�s���
�
�
�v�F�F�
G�
G��-�-� M�N�C�H�������������i�[�1�������*�,J�K����� 0� 0�� 5�!'�!H�!H� I�	K�H�
G�s�C
�
C	�C	c��[OQ2oUOU2oUO[O
29^tt^2UO
P	Q5oPPP2UO%cP!UOWQ2UOUOU2[O
,2P!)%fhKh9h)z�            Subject: test
            MIME-Version: 1.0
            Content-Type: text/plain; charset="utf-8"
            Content-Transfer-Encoding: base64

            dmk
            ��decode�vi)rrrrr�InvalidBase64PaddingDefectrrrrKr�rrr�payloads&   r�"test_bad_padding_in_base64_payload�2TestDefectsBase.test_bad_padding_in_base64_payload�s������"����m�m�F�#��
�
�
�v�@�@�
A�
A��o�o�T�o�2�G�B����������%�(����� 0� 0�� 5�!'�!B�!B� C�	E�	B�
A���C�C	�C	c��[OQ2oUOU2oUO[O
29^tt^2UO
P	Q5oPPP2UO%cP!UOWQ2UOUOU2[O
,2P!)%fhKh9h)z�            Subject: test
            MIME-Version: 1.0
            Content-Type: text/plain; charset="utf-8"
            Content-Transfer-Encoding: base64

            dmk===
            rTrV)rrrrr�InvalidBase64CharactersDefectrrrrKrrXs&   r�$test_invalid_chars_in_base64_payload�4TestDefectsBase.test_invalid_chars_in_base64_payload�s������"����m�m�F�#��
�
�
�v�C�C�
D�
D��o�o�T�o�2�G�E����������%�(����� 0� 0�� 5�!'�!E�!E� F�	H�	E�
D�r\c��[OQ2oUOU2oUO[O
29^tt^2UO
P	Q5oPPP2UO%cP!UOWQ2UOUOU2[O
,2P!)%fhKh9h)z�            Subject: test
            MIME-Version: 1.0
            Content-Type: text/plain; charset="utf-8"
            Content-Transfer-Encoding: base64

            abcde
            rTsabcde)rrrrr�InvalidBase64LengthDefectrrrrKrrXs&   r�%test_invalid_length_of_base64_payload�5TestDefectsBase.test_invalid_length_of_base64_payload�s������"����m�m�F�#��
�
�
�v�?�?�
@�
@��o�o�T�o�2�G�A����������(�+����� 0� 0�� 5�!'�!A�!A� B�	D�	A�
@�r\c��[OQ2oUO[O29^tt^2UOU2oPPP2UO%cP!UO[WO22]2UOUO]2O2Q2UOUOU2[O,2P!)%fhK�9h)a?            To: 1@harrydomain4.com
            Subject: Fwd: 1
            MIME-Version: 1.0
            Content-Type: multipart/alternative;
             boundary="------------000101020201080900040301"

            --------------000101020201080900040301
            Content-Type: text/plain; charset=ISO-8859-1
            Content-Transfer-Encoding: 7bit

            Alternative 1

            --------------000101020201080900040301
            Content-Type: text/html; charset=ISO-8859-1
            Content-Transfer-Encoding: 7bit

            Alternative 2

            zAlternative 2
)rrrr�CloseBoundaryNotFoundDefectrrrrrrKrr's&  r�test_missing_ending_boundary�,TestDefectsBase.test_missing_ending_boundarys������"���(�
�
�v�A�A�
B�
B��-�-��'�C�C����������S�_�_�.�/��3��������+�7�7�9�;L�M����� 0� 0�� 5�!'�!C�!C� D�	F�C�
B�s�C7�7D	�D	c	��QoUO[O29^tt^2UOU2oUO	[UO
U22]2UOUO
U2[O,2U%cBUO	UO2Q,2UO	UO2Q2PPP2P!)%fhP!9h)z6Subject: Dummy subject
: faulty header line

body
�body
�rGz
Dummy subject)
rr�InvalidHeaderDefectrrrrrK�itemsr)r�stringrs&  r�test_line_beginning_colon�)TestDefectsBase.test_line_beginning_colon-s���L�	��
�
�v�9�9�
:�
:��-�-��'�C����S��!1�!1�#�!6�7��;��#�#�� � ��%��(B�(B�'C�
��� � �����/K�.L�M�� � ����!2�J�?�;�
:�
:�
:�s�A3C*�AC*�*C;	�3C;	c	��QoUO[O29^tt^2UOU2oUO	[UO
U22]2UOUO
U2[O,2U%cEQQ,oUO	UO2U2UO	UO2Q2PPP2P!)%fhP!9h)z3Subject: Dummy subject
From wtf
To: abc

body
rjrk)�To�abc)
rr�MisplacedEnvelopeHeaderDefectrrrrrKrmr)rrnr�headerss&   r�test_misplaced_envelope�'TestDefectsBase.test_misplaced_envelope=s���K�	��
�
�v�C�C�
D�
D��-�-��'�C����S��!1�!1�#�!6�7��;��#�#�� � ��%��(L�(L�'M�
��7��G��� � �����g�6�� � ����!2�J�?�E�
D�
D�
D�s�A3C-�AC-�-C>	�6C>	r
)�__name__�
__module__�__qualname__�__firstlineno__r�defaultr�
contextlib�contextmanagerrr!r(rrr,r/r4r<r?rDrMrQrZr_rcrgrorv�__static_attributes__�__classdictcell__��
__classdict__s@rrr	s�����
�^�^�F��N�������-B�^H�:�O�O�%�
�M�.	B�8�H�H�*$B�L	E�K�E�"H�"D�"F�:@� @�@r6rc�@`�\sQsQsn\O
sQsQsUsP!)�TestCompat32�Oc��UO!r	�r�r�objs&&rr�TestCompat32.get_defectsS����{�{�r6r
)	rxryrzr{r�compat32rrr�r�s@rr�r�Os����
�_�_�F��r6r�c�(`�\sQsQsnQsQsUsP!)�TestDefectDetection�Wc��UO!r	r�r�s&&rr�TestDefectDetection.get_defectsYr�r6r
)rxryrzr{rrr�r�s@rr�r�Ws�����r6r�c�X`�\sQsQsnQQ\O
2sQsQsQs	Us
P!)�TestDefectCapture�]c�,`�\sQsQsnPsQsQsUsP!)�TestDefectCapture.CapturePolicy�_c�>�UOOU2P!r	)�captured�append)rr�r
s&&&r�register_defect�/TestDefectCapture.CapturePolicy.register_defectas���M�M� � ��(r6r
)rxryrzr{r�r�rr�r�s@r�
CapturePolicyr�_s������	)�	)r6r�c�F�UO[2Q5UmP!))r�)r��listr)rs&r�setUp�TestDefectCapture.setUpds���(�(�$�&�(�9��r6c�0�UOO!r	)rr�r�s&&rr�TestDefectCapture.get_defectsgs���{�{�#�#�#r6r)rxryrzr{r�EmailPolicyr�r�rrr�r�s@rr�r�]s&����)��*�*�)�
:�$�$r6r�c�`�\sQsQsn\O
s\OP	Q5sP	s\OQ2s
QsQsUs
P!)�TestDefectRaising�k)�raise_on_defectc#� �UOU29^tt^2Pw�PPP2P!)%fhP!9h3hr	)�assertRaisesrs&&rr�TestDefectRaising._raise_pointqs'���
�
�
�v�
&�
&��'�
&�
&�
&�s�A�-�
A�>	�>	�	Ac��UO!r	r�r�s&&rr�TestDefectRaising.get_defectsvr�r6r
)rxryrzr{rr�clonerr}r~rrrr�r�s@rr�r�ksE����
�
#�
#�F�
�\�\�$�
/�F��N��������r6r��__main__)r�unittestr}�emailrr�test.test_emailrrr�r�r�r�rx�mainr
r6r�<module>r�sv�������)�B@�B@�L
�?�M���/�=��$���$������z���M�M�O�r6

Youez - 2016 - github.com/yon3zu
LinuXploit