How to install cPMalScan

SSH login to server as root and run below commands

mkdir -p /usr/local/src/
cd /usr/local/src/
rm -rf cpmalscan*
wget http://files.cpmalscan.com/cpmalscan.tar.gz
tar zxf cpmalscan.tar.gz
cd cpmalscan
bash install.sh

How to Scan from command line

From SSH run below command

cpmalscan scan  /folder/path/to/scan

How to Uninstall cPMalScan

SSH to your cPanel server as root and run below commands.

For 2.X version ( If you have older version installed then check  older version uninstall command below)

mkdir -p /usr/local/src/
cd /usr/local/src/
rm -rf cpmalscan*
wget http://files.cpmalscan.com/cpmalscan.tar.gz
tar zxf cpmalscan.tar.gz
cd cpmalscan
bash uninstall.sh

For older 1.x version.

cd /usr/local/src/
rm -f uninstall.sh
wget http://downloads.tijeers.com/cpmalscan/uninstall.sh
sh uninstall.sh