网络安全07-Wireshark 下载安装基本使用(抓个简单的包)
上一节完成了一些做实验的环境配置搭建:
下载
下载地址:https://www.wireshark.org/download.html
选择电脑对应的版本:
双击:
然后在Application中双击打开 Wireshark应用:刚打开,就出现问题
You don’t have permission to capture on local interfaces. You can fix this by installing ChmodBPF.
解决:
打开终端:
重启WireShark,问题解决:
最上方菜单栏:capture—>options:
选择对应的网卡:
点击start之后,开始抓包:
这时候在终端输入命令:
ping 114.114.114.114
(按ctrl+C及时停止)
在Wireshark上面的输入框中填入:
然后看到结果:
如果ping的是一个域名,比如www.baidu.com
可以看到IP地址是: 36.152.44.96
在上侧同样输入:ip.addr == 36.152.44.96 and icmp
在kali-linux中实践Wireshark中的抓包
capture----》options—〉
start之后:
一样输入:ip.addr == 114.114.114.114 and icmp