Knowledgebase


Portal Home > Knowledgebase > Hosting FAQ's > How can you have a automated script to run a chkrootkit process ?

How can you have a automated script to run a chkrootkit process ?

#!/bin/sh
cd /root/
wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz
tar -zxvf chkrootkit.tar.gz
CHKDIR=`ls -1 |grep chkrootkit-`
cd $CHKDIR/
make
./chkrootkit


Also Read