tar xf chkrootkit.tar.gz

cd chkrootkit-*

make sense的时候出现make: *** [strings-static] Error 1,解决办法:yum install glibc-static -y 即可

cd ../

cp -r chkrootkit-* /usr/local/chkrootkit

rm -rf chkrootkit-*

用法:

/usr/local/chkrootkit/chkrootkit 

[root@svn tools]# /usr/local/chkrootkit/chkrootkit -h
Usage: /usr/local/chkrootkit/chkrootkit [options] [test ...]
Options:
-h show this help and exit  #显示帮助信息
-V show version information and exit #显示版本信息
-l show available tests and exit #显示测试内容
-d debug #debug模式
-q quiet mode #安静模式,只显示有问题的内容
-x expert mode #高级模式,显示所有检测结果
-r dir use dir as the root directory #设置指定的目录为根目录
-p dir1:dir2:dirN path for the external commands used by chkrootkit #指定chkrootkit检测时使用系统命令的目录
-n skip NFS mounted dirs #跳过NFS连接的目录

相关文章:

  • 2022-01-12
  • 2021-12-10
  • 2021-12-06
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2021-07-07
猜你喜欢
  • 2021-08-18
  • 2021-11-10
  • 2021-11-04
  • 2022-12-23
  • 2021-06-02
  • 2022-12-23
相关资源
相似解决方案