Skip to content

Instantly share code, notes, and snippets.

@lukapaunovic
Last active July 31, 2018 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukapaunovic/f6b88af0d82fbbf7e5ac2fffb312d219 to your computer and use it in GitHub Desktop.
Save lukapaunovic/f6b88af0d82fbbf7e5ac2fffb312d219 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Installing prerequisites
yum -y group install "Development Tools"
yum -y install glibc-static libstdc++-static
# Install
wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz
tar xvf chkrootkit.tar.gz
rm -rf chkrootkit.tar.gz
cd chkrootkit-*
make sense
mv -f $(pwd) /usr/local
mv /usr/local/chkrootkit-* /usr/local/chkrootkit
ln -s /usr/local/chkrootkit/chkrootkit /usr/local/bin/chkrootkit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment