摘要:
if[! -f ip.txt];then exit fi if[-z "$1"];then exit fi count=`cat ip.txt|wc -l` rm -rf ip.txt.swp i=0 while((i<$count)) do i=`expr $i +1` sed"${i}s/^/& 阅读全文
posted @ 2019-05-10 17:02
todayORtomorrow
阅读(294)
评论(0)
推荐(0)
摘要:
IP_ADDR=`tail -n 100 /var/log/secure |grep "Failed password"| egrep -o "([0-9]{1,3}\.){3}[0-9]{1,3}"|sort -nr|uniq -C|awk '$1>=10 {print $2}'` IPTABLE 阅读全文
posted @ 2019-05-10 16:38
todayORtomorrow
阅读(595)
评论(0)
推荐(0)

浙公网安备 33010602011771号