- Log into server as root and run the following command
- cd /usr/local/src/
- Next download the installation file
- Extract using the following command -
- tar -xzf maldetect-current.tar.gz
- Change the folder:
- cd maldetect-*
- Run the installer:
- sh ./install.sh
- To configure the script, run the following command:
- nano /usr/local/maldetect/conf.maldet
Here are some tips on using the script
- To scan a specific user:
- maldet -a /home/username/
- To scan all public_html folders
- maldet –scan-all /home?/?/public_html