ImageMagick® is a software suite to create, edit, compose, or convert bitmap images. It can read and write images in a variety of formats (over 200) including PNG, JPEG, JPEG-2000, GIF, TIFF, DPX, EXR, WebP, Postscript, PDF, and SVG. Use ImageMagick to resize, flip, mirror, rotate, distort, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and curves.
Linux Malware Detect (LMD) is a malware scanner for Linux released under the GNU GPLv2 license, that is designed around the threats faced in shared hosted environments. It uses threat data from network edge intrusion detection systems to extract malware that is actively being used in attacks and generates signatures for detection. In addition, threat data is also derived from user submissions with the LMD checkout feature and from malware community resources. The signatures that LMD uses are MD5 file hashes and HEX pattern matches, they are also easily exported to any number of detection tools such as ClamAV.
Net2ftp is a web based FTP client. It is mainly aimed at managing websites using a browser. Edit code, upload/download files, copy/move/delete directories recursively, rename files and directories — without installing any software.
How to Install
1) Login to SSH (Using Putty).
2) Install dos2unix convertor.
yum install dos2unix -y
As of version 0.9.4 scripts are not unix compatible. So we will convert it to Unix format.
3) Convert script to Unix format
dos2unix /usr/local/cwpsrv/htdocs/resources/scripts/install_imagick dos2unix /usr/local/cwpsrv/htdocs/resources/scripts/install_maldet dos2unix /usr/local/cwpsrv/htdocs/resources/scripts/install_net2ftp
Now we are ready to install script
Install imagick:
sh /scripts/install_imagick
Install Linux Malware Detect:
sh /scripts/install_maldet
Now you can enable and disable functions in conf.maldet file
nano /usr/local/maldetect/conf.maldet
Important Paths:
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
If you want to install Clamav to function with Linux Malware Detect then follow clamav installation below:
yum install clamav clamd chkconfig clamd on service clamd start freshclam
Install Net2ftp:
sh /scripts/install_net2ftp service httpd restart