Jei forume lankaisi pirmą kartą, kviečiame registruotis ir prisijungti prie diskusijų.
PrisijungtiRegistruotisJei forume lankaisi pirmą kartą, kviečiame registruotis ir prisijungti prie diskusijų.
cd /usr/local/src
wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
tar -zxvf maldetect-current.tar.gz
cd maldetect-*
./install.sh
Linux Malware Detect v1.4.2
(C) 2002-2013, R-fx Networks <proj@r-fx.org>
(C) 2013, Ryan MacDonald <ryan@r-fx.org>
inotifywait (C) 2007, Rohan McGovern <rohan@mcgovern.id.au>
This program may be freely redistributed under the terms of the GNU GPL
installation completed to /usr/local/maldetect
config file: /usr/local/maldetect/conf.maldet
exec file: /usr/local/maldetect/maldet
exec link: /usr/local/sbin/maldet
exec link: /usr/local/sbin/lmd
cron.daily: /etc/cron.daily/maldet
maldet(1438): {sigup} performing signature update check...
maldet(1438): {sigup} local signature set is version 201205035915
maldet(1438): {sigup} new signature set (2015020518877) available
maldet(1438): {sigup} downloaded http://cdn.rfxn.com/downloads/md5.dat
maldet(1438): {sigup} downloaded http://cdn.rfxn.com/downloads/hex.dat
maldet(1438): {sigup} downloaded http://cdn.rfxn.com/downloads/rfxn.ndb
maldet(1438): {sigup} downloaded http://cdn.rfxn.com/downloads/rfxn.hdb
maldet(1438): {sigup} downloaded http://cdn.rfxn.com/downloads/maldet-clean.tgz
maldet(1438): {sigup} signature set update completed
maldet(1438): {sigup} 13716 signatures (11815 MD5 / 1901 HEX)
nano /etc/cron.daily/maldet
# scan default apache docroot paths
if [ -d "/var/www/html" ]; then
/usr/local/maldetect/maldet -b -r /var/www/html 2
fi
if [ -d "/usr/local/apache/htdocs" ]; then
/usr/local/maldetect/maldet -b -r /usr/local/apache/htdocs 2
fi
# scan default apache docroot paths
if [ -d "/var/www/html" ]; then
/usr/local/maldetect/maldet -b -r /var/www/html 2 >> /dev/null 2>&1
fi
if [ -d "/usr/local/apache/htdocs" ]; then
/usr/local/maldetect/maldet -b -r /usr/local/apache/htdocs 2 >> /dev/null 2>&1
fi
maldet -a /home?/?/domains/?/public_html
maldet -b -a /home?/?/domains/?/public_html