Linux ip-172-31-23-187 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
Apache/2.4.41 (Ubuntu)
: 172.31.23.187 | : 172.31.24.150
Cant Read [ /etc/named.conf ]
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
usr /
lib /
update-notifier /
[ HOME SHELL ]
Name
Size
Permission
Action
apt-cdrom-check
2.39
KB
-rwxr-xr-x
apt-check
18.35
KB
-rwxr-xr-x
apt_check.py
18.35
KB
-rwxr-xr-x
backend_helper.py
4.77
KB
-rwxr-xr-x
cddistupgrader
619
B
-rwxr-xr-x
list-oem-metapackages
1.29
KB
-rwxr-xr-x
package-data-downloader
11.83
KB
-rwxr-xr-x
package-system-locked
358
B
-rwxr-xr-x
update-motd-fsck-at-reboot
2.79
KB
-rwxr-xr-x
update-motd-hwe-eol
1.81
KB
-rwxr-xr-x
update-motd-reboot-required
115
B
-rwxr-xr-x
update-motd-updates-available
1.47
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : update-motd-hwe-eol
#!/bin/sh -e # # helper for update-motd # poor mans force if [ "$1" = "--force" ]; then NEED_EOL_CHECK=yes else if type systemd-detect-virt > /dev/null 2>&1 && systemd-detect-virt -q -c; then exit fi NEED_EOL_CHECK=no fi # check time when we did the last update check stamp="/var/lib/update-notifier/hwe-eol" # get list dir StateDir="/var/lib/apt/" ListDir="lists/" eval "$(apt-config shell StateDir Dir::State)" eval "$(apt-config shell ListDir Dir::State::Lists)" # get dpkg status file DpkgStatus="/var/lib/dpkg/status" eval "$(apt-config shell DpkgStatus Dir::State::status)" # get sources.list file EtcDir="etc/apt/" SourceList="sources.list" eval "$(apt-config shell EtcDir Dir::Etc)" eval "$(apt-config shell SourceList Dir::Etc::sourcelist)" # let the actual update be asynchronous to avoid stalling apt-get cleanup() { rm -f "$tmpfile"; } # check if we have a list file or sources.list that needs checking if [ -e "$stamp" ]; then if [ "$(find "/$StateDir/$ListDir" "/$EtcDir/$SourceList" "/$DpkgStatus" -type f -newer "$stamp" -print -quit 2> /dev/null)" ]; then NEED_EOL_CHECK=yes fi else if [ "$(find "/$StateDir/$ListDir" "/$EtcDir/$SourceList" -type f -print -quit 2> /dev/null)" ]; then NEED_EOL_CHECK=yes fi fi # only print status when running this script as a regular user if [ "$(id -u)" != 0 ] ; then [ "$NEED_EOL_CHECK" = "no" ] || /usr/bin/hwe-support-status || true exit fi tmpfile="" trap cleanup EXIT tmpfile=$(mktemp -p $(dirname "$stamp")) # output something for update-motd if [ "$NEED_EOL_CHECK" = "yes" ]; then { # the script may exit with status 10 when a HWE update is needed /usr/bin/hwe-support-status || true } > "$tmpfile" mv "$tmpfile" "$stamp" fi # output what we have (either cached or newly generated) cat "$stamp"
Close