关于局域网抓包教程的相关知识
2017-03-18
最近有网友想了解下抓包教程的知识,所以小编就整理了相关资料分享给大家,具体内容如下.希望大家参考参考!!!
那么小编这里就以最新的Wireshark 1.12.0为例给大家说说如何抓包!
首先大家可以去官网上下载最新的而且稳定的版本:Wireshark 1.12.0

安装完成之后, 将进入如图所示的wireshark 运行界面

如果您的电脑上有多块网卡, 您可以首先点击“capture” -- “interface”,查看有哪些网卡网卡可以获取流量

确定好用来抓取流量的网卡后, 您可以点击“capture”--“options”,注意网卡一定要选中混杂模式“use promiscuous mode on all interfaces",否则你是无法获取内网的其他信息。

如果您要获取内网的所有信息,在”capture filter“ 可以为空。如果您要获取到网关:192.168.0.1的信息,可以在”capture fileter“这里设置:host 192.168.0.1

点击”start“ , 就可以看到内网的实时数据了, 如图所示:

如果您需要查看的是arp 协议的数据包, 一段时间后,点击”stop“,然后在”filter“选项那里, 输入arp , 点击”apply“ , 就可以查到本次所有抓获的arp 数据包了。
