Mr.Combet Webshell
Your IP :
3.145.106.87
Server IP :
185.136.159.155
Server :
Linux 185-136-159-155.cprapid.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software :
Apache
PHP Version :
8.1.29
Add File :
Submit
Add Directory :
Submit
Dir :
~
/
proc
/
self
/
root
/
usr
/
libexec
/
smartmontools
/
View File Name :
smartdnotify
#! /bin/sh # Send mail echo "$SMARTD_MESSAGE" | mail -s "$SMARTD_FAILTYPE" "$SMARTD_ADDRESS" # Notify desktop user MESSAGE="SMART Disk monitor:" case "$SMARTD_FAILTYPE" in "EmailTest"|"Health"|"Temperature"|"Usage") ;; *) # "CurrentPendingSector", // 10 # "OfflineUncorrectableSector", // 11 # "FailedReadSmartErrorLog", // 7 # "ErrorCount", // 4 # "FailedReadSmartData", // 6 # "FailedHealthCheck", // 5 # "FailedOpenDevice", // 9 # "SelfTest", // 3 # "FailedReadSmartSelfTestLog", // 8 exit 0 esac # direct write to terminals, do not use 'wall', because we don't want its ugly header for t in $(who | awk '{ print $2; }' | grep -e '^tty' -e '^pts/') do echo "$MESSAGE $SMARTD_MESSAGE" >/dev/$t 2>/dev/null ||: done