Skip to content

sfc9982/wireshark-bpf-capfilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

wireshark-bpf-capfilter

Generate a BPF-style Wireshark Capture Filter

String-Matching Capture Filter Generator
Usage:
	--str    / -s <string you want to match>
	--offset / -o <offset from the start of the TCP data>

./wireshark_capfilter --str "POST" --offset 0

Output:
tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x504f5354

About

Generate a BPF-style Wireshark Capture Filter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages