Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.15.10.104
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
etc /
update-motd.d /
[ HOME SHELL ]
Name
Size
Permission
Action
00-header
1.19
KB
-rwxr-xr-x
10-help-text
1.13
KB
-rwxr-xr-x
50-landscape-sysinfo
397
B
-rwxr-xr-x
50-motd-news
4.16
KB
-rwxr-xr-x
51-cloudguest
334
B
-rwxr-xr-x
80-esm
604
B
-rwxr-xr-x
80-livepatch
2.95
KB
-rwxr-xr-x
90-updates-available
97
B
-rwxr-xr-x
91-release-upgrade
299
B
-rwxr-xr-x
95-hwe-eol
129
B
-rwxr-xr-x
97-overlayroot
111
B
-rwxr-xr-x
98-fsck-at-reboot
142
B
-rwxr-xr-x
98-reboot-required
144
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : 80-livepatch
#!/bin/sh UA=${UA:-"/usr/bin/ubuntu-advantage"} UA_STATUS_CACHE=${UA_STATUS_CACHE:-"/var/cache/ubuntu-advantage-tools/ubuntu-advantage-status.cache"} [ -x "$UA" ] || exit 0 print_patch_state() { local patch_state="$1" case "$patch_state" in unapplied) echo "Patches are available, will be deployed shortly." ;; applied) echo "All available patches applied." ;; applied-with-bug|apply-failed) echo "Live patching failed, please run \`ubuntu-bug linux\` to report a bug." ;; nothing-to-apply) echo "All available patches applied." ;; applying) echo "Live patching currently in progress." ;; *) echo "Unknown patch status. Please see /var/log/syslog for more information." echo " Status: \"$patch_state\"" ;; esac } print_status() { local check_state="$1" local patch_state="$2" echo -n " - " case "$check_state" in needs-check) echo "Regular server check is pending." ;; check-failed) echo "Livepatch server check failed." echo " Please see /var/log/syslog for more information." ;; checked) print_patch_state "$patch_state" ;; *) echo "Unknown check status. Please see /var/log/syslog for more information." echo " Status: \"$check_state\"" ;; esac } service_name="livepatch" # if there is no cache file yet (the cron job hasn't run yet), bail [ -s "$UA_STATUS_CACHE" ] || exit 0 ua_status=$(cat "$UA_STATUS_CACHE") # if there is no livepatch section at all in the output, silently # bail has_livepatch=$(echo "${ua_status}" | grep "^${service_name}") [ -n "${has_livepatch}" ] || exit 0 livepatch_status=$(echo "$ua_status"|grep ^${service_name}:|sed -r -n "s,^${service_name}: (.*)$,\\1,p") # only look for patchState and checkState inside the specific service # block in the status output patch_state=$(echo "$ua_status"|sed -r -n "/^${service_name}:/,/^\\S/s,^[[:blank:]]+patchState: (.*)$,\\1,p") check_state=$(echo "$ua_status"|sed -r -n "/^${service_name}:/,/^\\S/s,^[[:blank:]]+checkState: (.*)$,\\1,p") case "$livepatch_status" in "disabled (not available)") # do nothing ;; "enabled") echo echo " * Canonical Livepatch is enabled." print_status "${check_state}" "${patch_state}" ;; "disabled") echo echo " * Canonical Livepatch is available for installation." echo " - Reduce system reboots and improve kernel security. Activate at:" echo " https://ubuntu.com/livepatch" ;; *) echo echo " * Canonical Livepatch is in an unknown state." echo " - Please see /var/log/syslog for more information." echo " Status: \"$livepatch_status\"" ;; esac
Close