一、IP過濾:包括來源IP或者目標IP等於某個IP
比如:ip.src addr==192.168.0.208 or ip.src addr eq 192.168.0.208 顯示來源IP
ip.dst addr==192.168.0.208 or ip.dst addr eq 192.168.0.208 顯示目標IP
二、端口過濾:
比如:tcp.port eq 80 // 不管端口是來源的還是目標的都顯示
tcp.port == 80
tcp.port eq 2722
tcp.port eq 80 or udp.port eq 80
tcp.dstport == 80 // 只顯tcp協議的目標端口80
tcp.srcport == 80 // 只顯tcp協議的來源端口80
過濾端口範圍
tcp.port >= 1 and tcp.port <= 80
三、協議過濾:tcp
udp
arp
icmp
http
smtp
ftp
dns
msnms
ip
ssl
等等
排除ssl包,如!ssl 或者 not ssl
四、包長度過濾:
比如:
udp.length == 26 這個長度是指udp本身固定長度8加上udp下面那塊數據包之和
tcp.len >= 7 指的是ip數據包(tcp下面那塊數據),不包括tcp本身
ip.len == 94 除了以太網頭固定長度14,其它都算是ip.len,即從ip本身到最後
frame.len == 119 整個數據包長度,從eth開始到最後
五、http模式過濾:
例子:
http.request.method == “GET”
http.request.method == “POST”
http.request.uri == “/img/logo-edu.gif”
http contains “GET”
http contains “HTTP/1.”
// GET包
http.request.method == “GET” && http contains “Host: ”
http.request.method == “GET” && http contains “User-Agent: ”
// POST包
http.request.method == “POST” && http contains “Host: ”
http.request.method == “POST” && http contains “User-Agent: ”
// 響應包
http contains “HTTP/1.1 200 OK” && http contains “Content-Type: ”
http contains “HTTP/1.0 200 OK” && http contains “Content-Type: ”
一定包含如下
Content-Type:
Wireshark 檢索命令
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章
Wireshark抓包常見問題解析
babyhe
2019-02-23 00:30:40
Wireshark 主界面的操作菜單
yang1213
2019-02-22 20:59:57
用Wireshark從http數據包中得到用戶的登錄信息
SHUIMOMO
2019-02-22 18:09:56
SDN環境下安裝Wireshark 2.2.5(問題彙總)
wanxiule
2019-02-22 16:11:16
網絡抓包工具Wireshark
Ray_Leil
2019-02-22 14:39:05
Wireshark抓包實例分析TCP窗口及reset
e鄂鵝
2019-01-17 13:10:14
IT書籍彙總下載(python_c++_java_android_網絡安全)等-持續更新
python測試開發人工智能安全
2018-12-11 09:12:24
wireshark https 抓包--chrome瀏覽器
colin_86
2018-12-08 21:19:53
katalon中REST URL佔位參數動態化
尚浩宇
2018-12-05 21:10:53
Linux學習-1024(系統監控2) 原
w wxy丶
2018-12-02 21:26:27
腦殘式網絡編程入門(五):每天都在用的Ping命令,它到底是什麼? 原 薦
首席大胸器
2018-12-02 21:26:19
經典編程書籍大全·我一本都沒有看過 原
netkiller-
2018-12-02 21:25:29
淺談wireshark解析ceph網絡通信 原
zrz11
2018-12-02 21:21:21
解決wireshark檢測不到網卡的問題(Windows 10) 原
yizhichao
2018-12-02 21:21:02
網絡報文解析初探 原
OnlyBlog
2018-12-02 21:16:35