tcpdump 和wireshark的簡單配合使用

預置條件:linux上已有tcpdump客戶端並有可執行的權限 ./tcpdump -i any -n port 8443 or host 192.168.4.5 -w test.pcap 該命令是 抓8443端口的數據包或者192.168.4.5的包並生成爲pcap文件,可供wireshark 使用 -i 是網卡,any 是所有網卡,也可這樣子指定只抓eth0 網卡的包 ./tcpdump -i
相關文章
相關標籤/搜索