由於WireShark抓不到本地網絡的包,想要抓包的話用下載一個小的工具RawCap就可以。
無需安裝,無需配置,簡單好用
下載地址:RawCap
參考:http://wiki.wireshark.org/CaptureSetup/Loopback
Windows
IP 127.0.0.1
You can't capture on the local loopback address 127.0.0.1 with a Windows packet capture driver likeWinPcap. The following page from "Windows network services internals" explains why:The missing network loopback interface.
You can, however, use a raw socket sniffer like RawCap to capture localhost network traffic in Windows. Read more here: http://www.netresec.com/?page=Blog&month=2011-04&post=RawCap-sniffer-for-Windows-released