Skip to content
Snippets Groups Projects
Commit 9890b567 authored by zer0@platinum's avatar zer0@platinum
Browse files

add stop_filter argument to sniff()

This argment is a python function applied to each packet to determine
if we have to stop the capture after this packet.
ex: stop_filter = lambda x: x.haslayer(TCP)
parent 683ae19e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment