https://www.itzgeek.com/how-tos/linux/d ... ystem.html
Code: Select all
cd /tmp/
curl -O http://www.rfxn.com/downloads/maldetect-current.tar.gz
tar -zxvf maldetect-current.tar.gz
cd maldetect-1.6.4/
bash install.sh
nano /usr/local/maldetect/conf.maldet
Code: Select all
/usr/local/maldetect/maldet -a /var/www && cp /usr/local/maldetect/sess/session.$(cat /usr/local/maldetect/sess/session.last) /var/path/maldet.txt