2013年10月24日

Linux入侵检测一些技巧性知识

摘要: 1. 登录ssh之后不记录historyunset HISTORY HISTFILE HISTSAVE HISTZONE HISTORY HISTLOG; export HISTFILE=/dev/null; export HISTSIZE=0; export HISTFILESIZE=02. sed的一些邪恶用法邪恶的替换到登录的IP和日志里的访问IPsed -s s/211.xxx.xxx.xxx/192.168.1.1/g access_log access.log security邪恶的添加ssh限制登录的用户sed -i s/AllowUsers fuck root oracle/A 阅读全文

posted @ 2013-10-24 18:40 =_=! 阅读(260) 评论(0) 推荐(0) 编辑

导航