抓包工具 tcpdump , tshark
2016-01-25 15:54
513 查看
1)、tcpdump -nn -i eth1 host 192.168.1.100 and port 80 -c 100 -w 1.cap
-nn 指定为 ip+port
-i 指定查看那个网卡
host 指定 IP
port 指定端口
-c 指定包数量
-w 指定需要写入到哪个文件
需要安装 yum -y install tcpdump
2)、tshark -n -t a -R http.request -T fields -e "frame.time" -e "ip.src" -e "http.host" -e "http.request.method" -e "http.request.uri"
需要安装 yum -y install wireshark
-nn 指定为 ip+port
-i 指定查看那个网卡
host 指定 IP
port 指定端口
-c 指定包数量
-w 指定需要写入到哪个文件
需要安装 yum -y install tcpdump
2)、tshark -n -t a -R http.request -T fields -e "frame.time" -e "ip.src" -e "http.host" -e "http.request.method" -e "http.request.uri"
需要安装 yum -y install wireshark
相关文章推荐
- https原理
- HttpURLConnection GET 返回没有具体信息时判断成功
- iOS_UI_网络数据请求
- 基础网络加载
- int *p = new int[10]; int *p = new int(10); http://bbs.csdn.net/topics/340186719
- Asp.net原理:HTTP ->&nbs…
- HttpWebRequest中的cookieCollection和cookeContainer
- HTTP权威指南学习笔记
- 浅谈CSRF攻击方式
- 计算机网络探究二之利用PHP实现登录验证之后上网
- HTTP 头部解释
- 计算机网络探究一之利用双网卡主机共享上网
- 关于web性能的思考与分享[11]-Http协议理解
- XUtils3代码详解--http
- 浅谈HTTP中Get与Post的区别
- Ubuntu网络配置
- 看大神解释https和http的概念和区别
- 沉湎网络 心理障碍
- OSI七层&TCP&IP协议
- Html: src中图片内容以“http”开头