黑客
来源:互联网 发布:谷歌翻译api接口 php 编辑:程序博客网 时间:2024/04/25 21:37
一般入侵后,都喜欢在home/下面建立一个账户以方便自己使用。
及时查看/var/log/secure /var/log/messages以及last信息.
有些文件被修改后,还会将其权限改成用root无法删除:
些文件在Linux 下看上去可能一切正常,但当您尝试删除的时候,居然也会报错,就象下边一样:
[root@linux236 root]# ls -l 1.txt
-rw-r--r-- 1 root root 0 Aug 5 23:00 1.txt
[root@linux236 root]# rm -rf 1.txt
rm: cannot unlink `1.txt': Operation not permitted
您是全能root用户,居然系统告诉您操作不允许,是Linux疯了么?当然不是,如果您会用lsattr命令,问题就有了答案。
[root@linux236 root]# lsattr
---i---------- ./1.txt
-------------- ./weiqi.ldif
-------------- ./qi.schema
秘密终于暴露了,在lsattr命令下,这个1.txt文件带有一个"i"的属性,所以才不可以删除。您现在可以用下边的一系列命令:
[root@linux236 root]# lsattr 1.txt
---i---------- 1.txt
[root@linux236 root]# chattr -i 1.txt
[root@linux236 root]# rm -rf 1.txt
- 黑客
- 黑客
- 黑客
- 黑客
- 黑客
- 黑客
- 黑客
- 黑客
- 黑客
- 黑客
- 黑客,黑客!
- 黑客守则&黑客精神
- 要想反黑客,要先做黑客
- 黑客精神&黑客守则
- 【黑客小说】-黑客传说
- 中国黑客谈黑客
- 黑客怎么干掉黑客?
- 黑客守则 & 黑客精神 & 中国黑客宣言
- java 打印日历
- csdn的偶遇
- poj 3422
- java 判断时间/电话/email格式
- Dijkstra算法学习笔记
- 黑客
- 浅析IOS中的MVC
- Linux下Socket通信中非阻塞connect的注意事项
- 集合类的接口和类层级结构图及示例程序
- 数组nice to see you again
- 1.1
- lucky number
- 工厂模式
- 色彩空间Lab和RGB互转的Matlab代码