Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
Apache/2.4.52 (Ubuntu)
Server IP : 192.168.1.1 & Your IP : 18.191.89.23
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
update-notifier /
Delete
Unzip
Name
Size
Permission
Date
Action
apt-cdrom-check
2.39
KB
-rwxr-xr-x
2024-03-04 10:49
apt-check
18.28
KB
-rwxr-xr-x
2024-03-04 10:49
apt_check.py
18.28
KB
-rwxr-xr-x
2024-03-04 10:49
backend_helper.py
4.92
KB
-rwxr-xr-x
2024-03-04 10:49
cddistupgrader
619
B
-rwxr-xr-x
2024-03-04 10:49
list-oem-metapackages
1.3
KB
-rwxr-xr-x
2024-03-04 10:49
package-data-downloader
11.83
KB
-rwxr-xr-x
2024-03-04 10:49
package-system-locked
358
B
-rwxr-xr-x
2024-03-04 10:49
update-motd-fsck-at-reboot
2.79
KB
-rwxr-xr-x
2024-03-04 10:49
update-motd-hwe-eol
1.81
KB
-rwxr-xr-x
2024-03-04 10:49
update-motd-reboot-required
115
B
-rwxr-xr-x
2024-03-04 10:49
update-motd-updates-available
1.69
KB
-rwxr-xr-x
2024-03-04 10:49
Save
Rename
#!/bin/sh -e # # helper for update-motd NO_ESM_MESSAGES="" # poor mans force if [ "$1" = "--force" ]; then NEED_UPDATE_CHECK=yes else NEED_UPDATE_CHECK=no fi # check time when we did the last update check stamp="/var/lib/update-notifier/updates-available" # 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)" ]; then NEED_UPDATE_CHECK=yes fi else if [ "$(find "/$StateDir/$ListDir" "/$EtcDir/$SourceList" -type f -print -quit)" ]; then NEED_UPDATE_CHECK=yes fi fi tmpfile="" trap cleanup EXIT tmpfile=$(mktemp -p $(dirname "$stamp")) # should we hide esm-related information in the output no_esm_file="/var/lib/update-notifier/hide-esm-in-motd" if [ -e "$no_esm_file" ]; then NO_ESM_MESSAGES="--no-esm-messages" fi # output something for update-motd if [ "$NEED_UPDATE_CHECK" = "yes" ]; then { echo "" /usr/lib/update-notifier/apt-check --human-readable "$NO_ESM_MESSAGES" echo "" } > "$tmpfile" mv "$tmpfile" "$stamp" chmod +r "$stamp" fi