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

��g�*���SSKrSSKrSSKrSSKJrJrJr SSKJrJ	r	J
r
JrJrJ
r
JrJr SSKJr SSKJrJr SSKJr SSKJr SSKJrJrJr SS	KJr SS
KJ r  \RB"5r"\RF"\RH"\%55r&S\RNS\(S
\\S\\(S\(S\(4Sjr)SS.Sjr*\RV\RX\RZ"\R\5\R^"S5S5555r0\"S\
Rb\
Rd\0\Rf\"\"S\
RhRkSRm\
Rn"\RN"5S95S9SSS9\"S\
RpRkSS9S S!9\"S"\
RrRkS#S$9SS#S%/S#S&9\"S'\
RtS S!9/S(9/S)9r;g)*�N)�Any�Dict�List)�config�contract�entitlements�event_logger�
exceptions�messages�status�util)�ProgressWrapper)�ServiceWithDependencies�
_dependencies)�_enabled_services)�cli_util)�ProArgument�ProArgumentGroup�
ProCommand)�HelpCategory)�CanDisableFailure�cfg�service�all_dependencies�enabled_service_names�called_name�
service_titlec��/nUHenURU:XdURU;aM%URH0nURU:XdMURUR5 M2 Mg UHen	[R"X	5n
[
RRUU
S9n[R"US9(aMR[R"UU
S9e g)N)�service_being_disabled�dependent_service)�msg)�name�
depends_on�appendr�	get_titler�DEPENDENT_SERVICE�formatr
�prompt_for_confirmationr
�DependentServiceStopsDisable)rrrrrr�dependent_services�s�requirementr �dependent_service_title�user_msgs            �6/usr/lib/python3/dist-packages/uaclient/cli/disable.py�prompt_for_dependency_handlingr0s�����
���6�6�W�����.C� C���<�<�K����7�*�"�)�)�!�&�&�1�(��0��".�"8�"8��#
���-�-�4�4�#0�5�5�
���+�+��9�9��9�9�'4�"9��
�0�T)�
update_statusc��URnUbUnU(a[5nO[[R"US95nUR	U5upxU(d�[
R
UR5 Ub�[U[5(a}URbp[
RURR5 [
RURRURRURS9 O[
RUR5 U(a[R"US9 U$)aPerform the disable action on a named entitlement.

:param entitlement_name: the name of the entitlement to enable
:param cfg: the UAConfig to pass to the entitlement
:param json_output: output should be json only

@return: True on success, False otherwise
��
assume_yes)�	error_msg�
error_coder�r)�enabled_variantrr�CLIEnableDisableProgress�disable�event�service_failedr"�
isinstancer�message�infor!�error�service_processedr)	�entitlementr�json_outputr5r2�variant�progress�ret�reasons	         r/�perform_disablerI>s����)�)�G������"�$��"��-�-��D�
���%�%�h�/�K�C��
���[�-�-�.���*�V�5F�"G�"G��~�~�)��
�
�6�>�>�-�-�.����$�n�n�0�0�%�~�~�2�2�'�,�,����	���� 0� 0�1���
�
�#���Jr1zpro disablec
�
�/n/n/n/n[RSSS.nURS:HnURn	[R
"U5n
UR(aU	(a[R"SSS9e[US/5n[R"X�5unn
[U5RVs/sHo�RPM nn[U5R nS	nUGH�n[R""UUURS
9nUR$nUbUnU	(d#['UURUUUUR(S9 U(a[75nO[7[R8"U	S95nUR;5UlUR?U5unn[@R@"US9 U(d�SnURCU5 Ub�[EU[F5(awURHbgU
"URHR05 URCSURURHR0URHRS.5 GMrGMuGMxGM{URCU5 URK5nU(a+S	US'U
"[2RLRSS95 GM�GM� U
(a�SnSSRU[RV"US95-S-nSRU[XRZ"USSSS95n[R\"SSRUU
5US9nU
"UR05 URCSSUR0URPURRS.5 [^R`"U5nURc5 U(akURe5 URe5 U(aSOSUS'X7S 'XGS!'XWS"'XgS#'[g[hRj"U[lRnS	S$95 U(aS%$S&$s snf![R*abn[,R/U5 U
"UR05 U
"[2R4RUR(S
95 SnSnAGM�SnAff=f![R*a�nSnURCU5 U
"UR05 U
"[2RNRUR(S
95 URCSURUR0URPURRS.5 SnAGMdSnAff=f)'zZPerform the disable action on a list of entitlements.

@return: 0 on success, 1 otherwise
�successF)�_schema_version�result�needs_reboot�json�--purge�--assume-yes)�option1�option2rT)rr"�purgeN)rr)�titler4r8)�typerr?�message_coderNzdisable operation)�	operation)rVrr?rW�additional_infozTry �, �.�
�P)�width�break_long_words�break_on_hyphensr;)rX�invalid_service�service_msg�system�failurerM�processed_services�failed_services�errors�warnings)�cls�	sort_keysr�)8r	�JSON_SCHEMA_VERSIONr'r5r�&create_interactive_only_print_functionrTr
�InvalidOptionCombination�getattrr�get_valid_entitlement_namesr�enabled_servicesr"r�services�entitlement_factoryr9r0rU�UbuntuProError�LOG�	exceptionr!r�
ENABLE_FAILEDrr:�calculate_total_disable_steps�total_stepsr;rr$r>rr?�_check_for_reboot�ENABLE_REBOOT_REQUIRED_TMPL�DISABLE_FAILED_TMPL�msg_coderY�join�valid_services�textwrap�wrap�InvalidServiceOpErrorr�UAContractClient�update_activity_token�sort�printrO�dumpsr
�DatetimeAwareJSONEncoder)�argsr�kwargsrerfrgrh�
json_responserDr5�interactive_only_print�names�entitlements_found�entitlements_not_foundr+rrrG�ent_name�entrE�erF�disable_retrH�ent_reboot_required�valid_namesrb�err�contract_clients                              r/�action_disabler�ls������O�
�F��H�(�;�;����M��+�+��'�K����J�
&�L�L�����z�z�j��1�1��~�
�	
�
�D�)�R�(�E�	�0�0��<����*�#�.�?�?��?�1���?���%�S�)�2�2��
�C�&���.�.����*�*�
���%�%�����C��
�.���H�H�$�)� (�"%�)�)�
�"�&�(�H�&��1�1�Z�H��H� #�@�@�B���-	�"%�+�+�h�"7��K���M�M�c�"�����&�&�x�0��%�*��-�+�+��~�~�1�.�v�~�~�/A�/A�B��
�
�(1�+.�8�8�+1�>�>�+=�+=�06���0C�0C�	��2�+�%�#�)�)�(�3�&)�&;�&;�&=�#�&�48�M�.�1�*� �<�<�C�C�&9�D���'�}'�l����T�Y�Y�|�:�:�s�C�D�D�s�J�	��i�i��M�M���!&�!&�	
�
���.�.�� �I�I�&<�=�#�
��
	�s�w�w�'��
�
� ���7�7� #���#&�#6�#6�
�	
��/�/��4�O��)�)�+�����!�����/2�)�	�
�h��.@�*�+�+:�'�(�"(�h��$,�j�!�
��J�J���1�1��
�	
��1�����]��:�,�,�
��
�
�a� �&�q�u�u�-�&��*�*�1�1��	�	�1�B������
��\�(�(�	��C��"�"�8�,�"�1�5�5�)�"��,�,�3�3�#�)�)�3�D�
�
�M�M�%�"�x�x� �u�u�$%�J�J�'(�'8�'8��
�
��	�s@�8P"�%"P'�CR �#AR �'R�;AR�R� U�4BU�Ur;rZr8)�options�store�+)�help�action�nargsrQ)�command�
store_true)r�r�z--format�cli)�defaultrO)r�r��choicesr�rP)�	arguments)r��descriptionr��
help_category�argument_groups)<rO�loggingr��typingrrr�uaclientrrrr	r
rrr
�uaclient.apir�+uaclient.api.u.pro.services.dependencies.v1rr�-uaclient.api.u.pro.status.enabled_services.v1r�uaclient.clir�uaclient.cli.commandsrrr�uaclient.cli.parserr�(uaclient.entitlements.entitlement_statusr�get_event_loggerr<�	getLogger�replace_top_level_logger_name�__name__ru�UAConfig�strr0rI�verify_json_format_args�assert_root�assert_attached�&_raise_enable_disable_unattached_error�assert_lock_filer��CLI_ROOT_DISABLE�CLI_DISABLE_DESC�OTHER�CLI_DISABLE_SERVICEr'r~r�CLI_ASSUME_YES�CLI_FORMAT_DESC�	CLI_PURGE�disable_command�r1r/�<module>r�s�����"�"�	�	�	�)��L�!�K�K�,�F��%�%�'��
����:�:�8�D�E���	����
���2�3�� ��9�	�
���
�@AE�+�\
�!�!�	���	���(�I�I�J�	���=�)�r�*�K��"�r�j�
�	�	"�	"��)�)���$�$����!�5�5�<�<� $�	�	�(�7�7�F�O�O�<M�N�!�=��
#��	��"�!�0�0�7�7�	�7�J�'��
��!�1�1�8�8��8�G�"�"�F�O�!����!�+�+�'��/�	
� �
'�r1

Filemanager

Name Type Size Permission Actions
__init__.cpython-313.pyc File 13.24 KB 0644
api.cpython-313.pyc File 3.1 KB 0644
attach.cpython-313.pyc File 6.81 KB 0644
auto_attach.cpython-313.pyc File 1.59 KB 0644
cli_util.cpython-313.pyc File 13.24 KB 0644
collect_logs.cpython-313.pyc File 2.04 KB 0644
commands.cpython-313.pyc File 5.83 KB 0644
config.cpython-313.pyc File 12.27 KB 0644
cve.cpython-313.pyc File 7.8 KB 0644
cves.cpython-313.pyc File 4.75 KB 0644
detach.cpython-313.pyc File 4.43 KB 0644
disable.cpython-313.pyc File 10.9 KB 0644
enable.cpython-313.pyc File 16.79 KB 0644
fix.cpython-313.pyc File 36.75 KB 0644
formatter.cpython-313.pyc File 14.01 KB 0644
help.cpython-313.pyc File 2.07 KB 0644
parser.cpython-313.pyc File 4.9 KB 0644
refresh.cpython-313.pyc File 3.75 KB 0644
security_status.cpython-313.pyc File 2.79 KB 0644
status.cpython-313.pyc File 2.95 KB 0644
system.cpython-313.pyc File 1.56 KB 0644
Filemanager