- 论坛徽章:
- 0
|
每天数万人的网站给我全删除了,怎么把硬盘恢复过来?
请教:我昨天看了这贴,特意敲了一遍这个脚本,每敲完一段detect功能我执行一遍,并没有出现搂主说的问题情况阿。
resultDir="/var/ayazero"
errFile="/var/ayazero/stderr"
outFile="/var/ayazero/stdout"
# mkdir $resultDir
rm -fr `eval echo $resultDir/*`
这句会有什么问题呢?(以为我分段测试,所以注释掉了mkdir一句),
版主自己都说有问题,却让小弟糊涂了,请不吝赐教!
我的环境Linux 2.6.11-gentoo-r5 ,GNU bash, version 2.05b.
resultDir="/var/ayazero",脚本在/home/luodarou/test目录下。
bash < check.sh
Info: Detection Started...,Be sure to run this is as root
Info: detedting os version info...
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...
Info: detecting /tmp directory...
Info: dumping .bash_history...
Info: detecting schedualr...
Info: detecting ip forward... |
|