403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/uaclient/cli/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/uaclient/cli/__pycache__/disable.cpython-314.pyc
+
���g�*���^RIt^RIt^RIt^RIHtHtHt^RIHtH	t	H
t
HtHtH
t
HtHt^RIHt^RIHtHt^RIHt^RIHt^RIHtHtHt^R	IHt^R
IH t ]PB!4t"]PF!]PH!]%44t&RRlt'R
R/Rlt(]PR]PT]PV!]PX4]PZ!R4R4444t.]!R]
P^]
P`].]Pb]!]!R]
PdPgRPi]
Pj!]Pl!4R74R7RRR7]!R]
PnPgRR7RR7]!R]
PpPgRR 7RRR!.RR"7]!R#]
PrRR7.R$7.R%7t:R#)&�N)�Any�Dict�List)�config�contract�entitlements�event_logger�
exceptions�messages�status�util)�ProgressWrapper)�ServiceWithDependencies�
_dependencies)�_enabled_services)�cli_util)�ProArgument�ProArgumentGroup�
ProCommand)�HelpCategory)�CanDisableFailurec��V^8�dQhR\PR\R\\,R\\,R\R\/#)��cfg�service�all_dependencies�enabled_service_names�called_name�
service_title)r�UAConfig�strrr)�formats"�6/usr/lib/python3/dist-packages/uaclient/cli/disable.py�__annotate__r$sR����	����
���2�3�� ��9�	�
���
�c���.pVFhpVPV8XgVPV9dK'VPF1pVPV8XgKVPVP4K3	Kj	VFop	\P!W	4p
\
PPVV
R7p\P!VR7'dKY\P!VV
R7h	R#))�service_being_disabled�dependent_service)�msgN)�name�
depends_on�appendr�	get_titler�DEPENDENT_SERVICEr"r
�prompt_for_confirmationr
�DependentServiceStopsDisable)rrrrrr�dependent_services�s�requirementr(�dependent_service_title�user_msgs&&&&&&      r#�prompt_for_dependency_handlingr6s�����
���6�6�W�����.C� C���<�<�K����7�*�"�)�)�!�&�&�1�(��0��".�"8�"8��#
���-�-�4�4�#0�5�5�
���+�+��9�9��9�9�'4�"9��
�0r%�
update_statusTc��VPpVeTpV'd\4pM \\P!VR74pVP	V4wrxV'g�\
P
VP4Ve�\V\4'd�VPet\
PVPP4\
PVPPVPPVPR7M\
PVP4V'd\P!VR7V#)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_outputr:r7�variant�progress�ret�reasons	&&$$$    r#�perform_disablerN>s����)�)�G������"�$��"��-�-��D�
���%�%�h�/�K�C��
���[�-�-�.���*�V�5F�"G�"G��~�~�)��
�
�6�>�>�-�-�.����$�n�n�0�0�%�~�~�2�2�'�,�,����	���� 0� 0�1���
�
�#���Jr%zpro disablec�8�.p.p.p.pR\PRRRR/pVPR8HpVPp	\P
!V4p
VP'd!V	'd\P!RRR	7h\VR
.4p\P!W�4wpp
\V4PUu.uFq�PNK	pp\V4P pRpVEF�p\P"!VVVPR7pVP$pVeTpV	'g'\'VVPVVVVP(R7V'd\74pM \7\P8!V	R74pVP;4VnVP?V4wpp\@P@!VR7V'g�RpVPCV4Ve�\EV\F4'd|VPHekV
!VPHP04VPCRR
R
VPRVPHP0RVPHP/4EK�EK�EK�EK�VPCV4VPK4pV'd/RVR&V
!\2PLPRR74EK�EK�	V
'd�RpRRPU\PV!VR74,R,pRPU\XPZ!V^PRRR74p\P\!RRPUV
4VR7pV
!VP04VPCRRR
R
RVP0RVPPRVPR/4\^P`!V4pVPc4V'dpVPe4VPe4V'dRMR VR&W7R!&WGR"&WWR#&WgR$&\g\hPj!V\lPnRR%74V'd^#^#uupi \P*dfp\,P/T4T
!TP04T
!\2P4PTP(R74RpR
p?EK�R
p?ii;i \P*d�pRpTPCT4T
!TP04T
!\2PNPTP(R74TPCRR
R
TPRTP0RTPPRTPR/4R
p?EK�R
p?ii;i)&zZPerform the disable action on a list of entitlements.

@return: 0 on success, 1 otherwise
�_schema_version�result�success�needs_rebootF�json�--purge�--assume-yes)�option1�option2rT)rr*�purgeN)rr)�titler9r=�typerD�message_codezdisable operation)�	operation�additional_infozTry �, �.�
)�width�break_long_words�break_on_hyphensr@)r]�invalid_service�service_msg�system�failure�processed_services�failed_services�errors�warnings)�cls�	sort_keys)8r	�JSON_SCHEMA_VERSIONr"r:r�&create_interactive_only_print_functionrYr
�InvalidOptionCombination�getattrr�get_valid_entitlement_namesr�enabled_servicesr*r�services�entitlement_factoryr>r6rZ�UbuntuProError�LOG�	exceptionr)r�
ENABLE_FAILEDrr?�calculate_total_disable_steps�total_stepsr@rr,rCrrD�_check_for_reboot�ENABLE_REBOOT_REQUIRED_TMPL�DISABLE_FAILED_TMPL�msg_coder^�join�valid_services�textwrap�wrap�InvalidServiceOpErrorr�UAContractClient�update_activity_token�sort�printrT�dumpsr
�DatetimeAwareJSONEncoder)�argsr�kwargsrirjrkrl�
json_responserIr:�interactive_only_print�names�entitlements_found�entitlements_not_foundr2rrrL�ent_name�entrJ�erK�disable_retrM�ent_reboot_required�valid_namesrf�err�contract_clients&$,                           r#�action_disabler�ls�����O�
�F��H�	�<�;�;��)����M��+�+��'�K����J�
&�L�L�����z�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��
�
� &�	� )�3�8�8� )�6�>�>�+=�+=� .����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�'��
�
����4��3�7�7�����!�3�#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��I��s�x�x��q�u�u�"�A�J�J�%�q�'8�'8��
�
��	�sK�?Q�0%Q#�2S �B"S �?(S �(+S �#S�8AS�S� V�5BV�Vr@rr_r=)�options�store�+)�help�action�nargsrV)�command�
store_true)r�r�z--format�cli)�defaultrT)r�r��choicesr�rU)�	arguments)r��descriptionr��
help_category�argument_groups);rT�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_loggerrA�	getLogger�replace_top_level_logger_name�__name__rxr6rN�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�r �CLI_ASSUME_YES�CLI_FORMAT_DESC�	CLI_PURGE�disable_command�r%r#�<module>r�s������"�"�	�	�	�)��L�!�K�K�,�F��%�%�'��
����:�:�8�D�E���>+�@D�+�\
�!�!�	���	���(�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�!����!�+�+�'��/�	
� �
'�r%

Youez - 2016 - github.com/yon3zu
LinuXploit