![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
脚本
瓜枣三郎
May be a geeker.
Email: hankai17@126.com
展开
-
呵呵以呵呵
今天侧击旁敲问同事要脚本 却不给我 哼 我呸开个栏目好好学脚本了~~~原创 2017-11-09 20:57:16 · 340 阅读 · 2 评论 -
tcpdump常用命令
抓get请求 tcpdump -i eth3 -nnvvAs 0 'tcp[((tcp[12:1] & 0xf0) >> 2):4]=0x47455420' |grep -C15 "huochepiao_share.dat" tcpdump -i eth0 -nnvvAs 0 '(tcp[((tcp[12:1] & 0xf0) >> 2):4]=0x47455420) and (src原创 2017-11-28 17:03:36 · 501 阅读 · 0 评论 -
常用的shell日志统计脚本
egrep "2017:15:" access.log | awk '{print $6}'| sort | uniq -c | sort -rn | headsort -u 去重 保证唯一性uniq 去除连续性的重复sort + uniq -c 是黄金搭档sort -n 按照整数排序 非常重要!参考 http://man.linuxde.net/uniq参考 http:/原创 2017-11-20 22:47:23 · 3847 阅读 · 0 评论