wireshark最最最最最最常用過濾規則

wireshark最最最最最最常用過濾規則

風華是一指流砂,蒼老是一段年華。
  • 廢話少說,直接盤他!

&& || and or連接符 自由組合!
ip.src eq 1.1.1.1 
//過濾來源ip (過濾mac ip->eth)
ip.dst eq 1.1.1.1 
//過濾目的ip
ip.addr==1.1.1.1 
//過濾ip
tcp(udp).port(dstport,srcport)== 80    
//過濾端口 
http/ftp/telnet/ssh/dns/bootp(dhcp) 等等 
//過濾協議 排除的話 前面+!
http.request.method==POST 
//過濾http請求方法
http.host  contains 1.1.1.1 
//過濾域名/ip
http.server 
//過濾存在server數據包
http.server contains nginx  
//過濾server爲nginx數據包
http.content_type == "text/html"  
//過濾content_type是text/html的數據包 常見:上傳數據application/x-www-form-urlencoded/multipart/form-data  ,application/json,text/xml,application/octet-stream : 二進制流數據(如常見的文件下載)
http.response.code==200 
//過濾http狀態碼
http.response.phrase == "OK" 
//過濾返回ok數據包
http.cookie contains 123 
//過濾cookie含有123的http數據包
http.request.uri contains admin 
//過濾uri包含admin數據包


  • 餘生很長,請多指教。
    在這裏插入圖片描述
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章