linux 抓包 tcpdump和Wireshark
生活随笔
收集整理的這篇文章主要介紹了
linux 抓包 tcpdump和Wireshark
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
學習參考:
https://www.cnblogs.com/ct20150811/p/9431976.html
https://www.jianshu.com/p/d0ba8979c42d
https://www.cnblogs.com/f-ck-need-u/p/7064286.html
https://www.cnblogs.com/yhcreak/p/5911904.html
我的需求是抓取某臺機器上的某個端口數據
sudo tcpdump -i eth0 -A -s 0 'tcp port 11191' -vvv -w /home/admin/hello.cap注釋:
eth0 -為指定的網卡
11191-為指定的端口
hello.cap-為端口的數據寫入到該文件
在Wireshark打開hello.cap文件,
右擊-->跟蹤流-->TCP流
《新程序員》:云原生和全面數字化實踐50位技術專家共同創作,文字、視頻、音頻交互閱讀總結
以上是生活随笔為你收集整理的linux 抓包 tcpdump和Wireshark的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: python 格式化方法 从其他信息构建
- 下一篇: notepad++ linux 打开二进