- 论坛徽章:
- 0
|
★Linux入侵检测脚本
- root@gelu ~# ./t
- mkdir: cannot create directory `/var/ayazero': File exists
- Info: Detection Started...,Be sure to run this as root
- Info: detecting os version info...
- Info: detecting Current login and CPU load...
- Info: detecting recent logins...
- Info: detecting process info...
- Info: detecting autostart programs and modules...
- Info: detecting login backdoor...
- Info: detecting network info...
- Info: detecting cpu load...
- Info: detecting Kernel modules list...
- Info: detecting account info...
- Info: detecting trusted relationship
- Info: detecting autostart services...
- ./t: line 125: unexpected EOF while looking for matching `"'
- ./t: line 126: syntax error: unexpected end of file
复制代码
用台机器测试了一下,似乎有些地方需要改进
- bash --version
- GNU bash, version 2.05b.0(1)-release (i586-trustix-linux-gnu)
- Copyright (C) 2002 Free Software Foundation, Inc.
复制代码 |
|