One Hat Cyber Team
Your IP :
18.191.232.50
Server IP :
162.241.123.123
Server :
Linux sh016.hostgator.in 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Server Software :
Apache
PHP Version :
8.2.25
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python2.7
/
Edit File:
mimify.pyo
� m��fc�����������@���s���d��Z��d�Z�d�Z�d�Z�d�d�l�Z�d�d�l�Z�e�j�d�e�d���d�d �d �d�g�Z�e�j �d�e�j ���Z�e�j �d �e�j ���Z�e�j �d�e�j �e�j �B��Z�e�j �d�e�j �e�j �B��Z�e�j �d���Z�e�j �d�e�j ���Z�e�j �d�e�j ���Z�e�j �d�e�j ���Z�d�d0�d�������YZ�d�d1�d�������YZ�d����Z�d����Z�d�d���Z�d�d���Z�e�j �d���Z�e�j �d���Z�d����Z�e�j �d ���Z�d!����Z�e�j �d"�e�j ���Z�e�j �d#�e�j ���Z �e�j �d$���Z!�d%����Z"�d&����Z#�d�d�l$�Z$�e%�d'�k�se&�e$�j'���d�k�r�e$�j'�d�d�k�r�d�d�l(�Z(�d(�Z)�d�Z*�e(�j(�e$�j'�d)�d*���\�Z+�Z,�e&�e,���d2�k�r}e)�GHe$�j-�d)���n��d3�e+�k�d4�e+�k�k�s�d5�e+�k�r�d6�e+�k�r�e)�GHe$�j-�d)���n��x��e+�D]��\�Z.�Z/�e.�d+�k�r�e#�Z0�q�e.�d-�k�r�e�Z0�q�e.�d/�k�rJy�e1�e/���Z�Wq_e2�e3�f�k �rFe)�GHe$�j-�d)���q_Xq�e.�d.�k�r�d)�Z*�q�q�We&�e,���d�k�r�e$�j4�e$�j5�f�Z6�n<�e&�e,���d)�k�r�e,�d�e$�j5�f�Z6�n�e,�d�e,�d)�f�Z6�e*�r�e6�e*�f�Z6�n��e0�e6����n��d�S(7���s���Mimification and unmimification of mail messages. Decode quoted-printable parts of a mail message or encode using quoted-printable. Usage: mimify(input, output) unmimify(input, output, decode_base64 = 0) to encode and decode respectively. Input and output may be the name of a file or an open file object. Only a readline() method is used on the input file, only a write() method is used on the output file. When using file names, the input and output file names may be the same. Interactive usage: mimify.py -e [infile [outfile]] mimify.py -d [infile [outfile]] to encode and decode respectively. Infile defaults to standard input and outfile to standard output. i����s ���ISO-8859-1s���> i����Ns>���the mimify module is deprecated; use the email package insteadi���t���mimifyt���unmimifyt���mime_encode_headert���mime_decode_headers.���^content-transfer-encoding:\s*quoted-printables$���^content-transfer-encoding:\s*base64s0���^content-type:.*multipart/.*boundary="?([^;" ]*)s:���^(content-type:.*charset=")(us-ascii|iso-8859-[0-9]+)(".*)s���^-* s���=([0-9a-f][0-9a-f])s���=\?iso-8859-1\?q\?([^? ]+)\?=s���^subject:\s+re: t���Filec�����������B���s ���e��Z�d��Z�d����Z�d����Z�RS(���s{���A simple fake file object that knows about limited read-ahead and boundaries. The only supported method is readline().c���������C���s���|�|��_��|�|��_�d��|��_�d��S(���N(���t���filet���boundaryt���Nonet���peek(���t���selfR���R���(����(����s���/usr/lib64/python2.7/mimify.pyt���__init__3���s���� c���������C���s|���|��j��d��k �r�d�S|��j�j����}�|�s,�|�S|��j�rx�|�|��j�d�k�rU�|�|��_��d�S|�|��j�d�k�rx�|�|��_��d�Sn��|�S(���Nt����s��� s���-- (���R���R���R���t���readlineR���(���R ���t���line(����(����s���/usr/lib64/python2.7/mimify.pyR���8���s���� (���t���__name__t ���__module__t���__doc__R ���R���(����(����(����s���/usr/lib64/python2.7/mimify.pyR���/���s��� t ���HeaderFilec�����������B���s���e��Z�d�����Z�d����Z�RS(���c���������C���s���|�|��_��d��|��_�d��S(���N(���R���R���R���(���R ���R���(����(����s���/usr/lib64/python2.7/mimify.pyR ���H���s���� c���������C���s����|��j��d��k �r$�|��j��}�d��|��_��n�|��j�j����}�|�s=�|�St�j�|���rP�|�Sxj�|��j�j����|��_��t�|��j����d�k�s��|��j��d�d�k�r��|��j��d�d�k�r��|�S|�|��j��}�d��|��_��qS�d��S(���Ni����t��� s��� (���R���R���R���R���t���het���matcht���len(���R ���R ���(����(����s���/usr/lib64/python2.7/mimify.pyR���L���s���� & (���R���R���R ���R���(����(����(����s���/usr/lib64/python2.7/mimify.pyR���G���s��� c���������C���s����d�}�d�}�xj�t��j�|��|���}�|�d�k�r1�Pn��|�|��|�|�j�d���!t�t�|�j�d���d�����}�|�j�d���}�q�|�|��|�S(���s6���Decode a single line of quoted-printable text to 8bit.R���i����i���i���N(���t ���mime_codet���searchR���t���startt���chrt���intt���groupt���end(���R ���t���newlinet���post���res(����(����s���/usr/lib64/python2.7/mimify.pyt���mime_decode^���s����c���������C���s����d�}�d�}�x�t��j�|��|���}�|�d�k�r1�Pn��|�j�d���}�d�j�|�j�d�����}�|�|��|�|�j�d���!t�|���}�|�j�d���}�q�|�|��|�S(���s���Decode a header line to 8bit.R���i����i���R���t���_N( ���t ���mime_headR���R���R���t���joint���splitR���R ���R���(���R ���R���R���R���R���(����(����s���/usr/lib64/python2.7/mimify.pyR���k���s����$i����c������ ���C���sE��d�}�d�}�d�}�d�}�|��j�r=�|��j�d� t�k�r=�t�}�n�d�}�t�|����}�x |�j����} �| �sh�d�S|�r��| �t�|��� |�k�r��| �t�|���} �|�} �n�d�} �t�| ���} �t�j�| ���r��d�}�qR�n��|�r��t �j�| ���r��d�}�qR�n��|�j �| �| ���|�rt�j�| ���rd�}�n��t�j�| ���}�|�rFd�|�j �d���}�n��t�j�| ���rR�PqR�qR�|�rw|�sn|�rwd�}�n��x�|��j����} �| �s�d�St�j�t�d�| ���} �|�r�| �t�|��� |�k�r�| �t�|���} �|�} �n�d�} �x��|�rw| �|�d�k�r|�j �| �| ���d�}�d�} �Pn��| �|�d �k�rs|�j �| �| ���t�|��|���}�t�|�|�|���|�j�} �| �s�Pq�q�n��Pq�W| �r�|�r�x]�| �d �d�k�r�| �d � } �|��j����} �| �t�t��� t�k�r�| �t�t���} �n��| �| �} �q�Wt�| ���} �n��| �r$|�r$| �r$d�d�l�}�|�j�| ���} �n��| �rz|�j �| �| ���qzqzd�S( ���s?���Convert a quoted-printable part of a MIME mail message to 8bit.i����i���R���Ni���s���--s���\1s���-- s��� i����s���= i����(���R���R���t���QUOTER���R���R���R���t���qpR���t ���base64_ret���writet���replt���mpR���R���t���ret���subR"���R���t ���unmimify_partR���R ���t���base64t���decodestring(���t���ifilet���ofilet ���decode_base64t ���multipartt���quoted_printablet ���is_base64t���is_replt���prefixt���hfileR ���t���preft���mp_rest���nifileR���R.���(����(����s���/usr/lib64/python2.7/mimify.pyR-���z���s����� c��� ������C���s����t��|����t��d���k�r��t�|����}�t��|���t��d���k�r��|��|�k�r��d�d�l�}�|�j�j�|����\�}�}�|�j�|��|�j�j�|�d�|�����q��n�|��}�t��|���t��d���k�r��t�|�d���}�n�|�}�t�|�d���}�t �|�|�|���|�j ����d�S(���s>���Convert quoted-printable parts of a MIME mail message to 8bit.R���i����Nt���,t���w(���t���typet���opent���ost���pathR$���t���renameR#���R���R���R-���t���flush( ���t���infilet���outfileR2���R0���R@���t���dt���fR1���R;���(����(����s���/usr/lib64/python2.7/mimify.pyR�������s����$)s���[=-�]s���[=?-�]c���������C���sf��|�r�t��}�n�t�}�d�}�d�}�t�|����d�k�rb�|��d� d�k�rb�d�t�d���j����}�d�}�n��xk�|�j�|��|���}�|�d�k�r��Pn��|�|��|�|�j�d���!d�t�|�j�d�����j����}�|�j �d���}�qe�|�|��|�}��d�}�xw�t�|����d�k�r]d �}�x2�|��|�d �k�s&|��|�d�d �k�r3|�d�}�qW|�d�}�|�|��|� d�}�|��|�}��q��W|�|��S( ���sZ���Code a single line as quoted-printable. If header is set, quote some extra characters.R���i����i���s���From s���=%02xt���Fi���iK���iI���t���=s���= N( ���t���mime_header_chart ���mime_charR���t���ordt���upperR���R���R���R���R���(���R ���t���headert���regR���R���R���t���i(����(����s���/usr/lib64/python2.7/mimify.pyt���mime_encode����s2���� " ' s<���([ (]|^)([-a-zA-Z0-9_+]*[-�][-a-zA-Z0-9_+-�]*)(?=[ )]| )c���������C���s����d�}�d�}�xx�t��j�|��|���}�|�d�k�r1�Pn��d�|�|��|�|�j�d���!|�j�d���t�t�|�j�d���d���f�}�|�j�d���}�q�|�|��|�S(���s.���Code a single header line as quoted-printable.R���i����s���%s%s%s=?%s?Q?%s?=i���i���N(���t���mime_headerR���R���R���R���t���CHARSETRQ���R���(���R ���R���R���R���(����(����s���/usr/lib64/python2.7/mimify.pyR�����s����"s���^mime-version:s���^content-transfer-encoding:s���[-�]c���������C���s/��d�}�}�}�d�}�d�}�}�} �g��} �d�}�g��}�d�} �t�|����}�x��|�j����}�|�s_�Pn��|�r~�t�j�|���r~�d�}�n��t�j�|���r��d�}�n��t�j�|���r��d�}�t�j�|���r��d�}�q��t �j�|���r��d�}�q��n��t �j�|���}�|�r d�|�j�d���}�n��t�j�|���r"|�}�Pn��| �j �|���qI�x:|��j����}�|�sKPn��|�r�|�|�d�k�rk|�} �Pn��|�|�d�k�r�|�} �Pq�n��|�r�|�j �|���q5n��|�rx]�|�d�d�k�r|�d� }�|��j����}�|�t�t��� t�k�r�|�t�t���}�n��|�|�}�q�Wt�|���}�n��|�j �|���| �sHt�j�|���rHd�} �}�qHn��|�s5t�|���t�k�rld�}�qlq5q5x��| �D]��}�|�r�t�|���}�n��t�j�|���}�|�r| �r�|�j�d ���j����d �k�rd�|�j�d���t�|�j�d���f�}�qqd �|�j�d�d���}�n��|�rYt�j�|���rYd�}�|�r9|�d�}�qY|�rL|�d�}�qY|�d�}�n��|�j�|���qvW|�sv|�r�|�r�|�j�d���|�j�d���| �r�|�j�d�t���q�|�j�d���n��|�r�|�r�|�j�d���n��|�j�|���x3�|�D]+�}�|�rt�|�d���}�n��|�j�|���q�W|�j�| ���| �}�x��|�r*|�|�d�k�r�xA�|��j����}�|�sfd�S|�r~t�|�d���}�n��|�j�|���qPn��|�|�d�k�r�t�|��|���}�t�|�|�d���|�j�}�|�s�Pn��|�j�|���q7n��x>�|��j����}�|�s�d�S|�rt�|�d���}�n��|�j�|���q�q7Wd�S(���s@���Convert an 8bit part of a MIME mail message to quoted-printable.i����R���i���s���--s���-- s��� i����s���= i���s���us-asciis���%s%s%si���s���%sus-ascii%ss���Content-Transfer-Encoding: s���base64 s���quoted-printable s���7bit s���Mime-Version: 1.0 s���Content-Type: text/plain; s ���charset="%s" s���charset="us-ascii" s,���Content-Transfer-Encoding: quoted-printable N(���R���R���R���t���iso_charR���t���mvR���t���cteR&���R'���R*���R���R���t���appendR���R%���R ���t���MAXLENR���t���chrsett���lowerRS���R(���RQ���R���t���mimify_partR���(���R0���R1���t���is_mimet���has_ctet���is_qpR5���R3���t���must_quote_bodyt���must_quote_headert ���has_iso_charsRN���t ���header_endt���messaget���message_endR8���R ���R:���R���t ���chrset_resR;���(����(����s���/usr/lib64/python2.7/mimify.pyR[�����s����� c���������C���s����t��|����t��d���k�r��t�|����}�t��|���t��d���k�r��|��|�k�r��d�d�l�}�|�j�j�|����\�}�}�|�j�|��|�j�j�|�d�|�����q��n�|��}�t��|���t��d���k�r��t�|�d���}�n�|�}�t�|�d���}�t �|�|�d���|�j ����d�S(���s>���Convert 8bit parts of a MIME mail message to quoted-printable.R���i����NR<���R=���i����(���R>���R?���R@���RA���R$���RB���R#���R���R���R[���RC���(���RD���RE���R0���R@���RF���RG���R1���R;���(����(����s���/usr/lib64/python2.7/mimify.pyR�������s����$)t���__main__s/���Usage: mimify [-l len] -[ed] [infile [outfile]]i���s���l:edbs���-eR���s���-ds���-bs���-l(����(����(���i����i���i���(���s���-eR���(���s���-dR���(���s���-bR���(���s���-dR���(7���R���RX���RS���R%���R+���t���warningst���warnt���DeprecationWarningt���__all__t���compilet���IR&���R'���t���SR*���RY���R���R���R"���R)���R���R���R ���R���R-���R���RK���RJ���RQ���RR���R���RU���RV���RT���R[���R����t���sysR���R���t���argvt���getoptt���usageR2���t���optst���argst���exitt���ot���at���encodeR���t ���ValueErrort ���OverflowErrort���stdint���stdoutt���encode_args(����(����(����s���/usr/lib64/python2.7/mimify.pyt���<module>���s���� U � 4
Simpan