the filter of sniff function in scapy does not work properly

前端 未结 5 2863
渐次进展
渐次进展 2021-02-20 18:01

It seems that the filter of sniff function does not work properly.

I m executing the sniff with the following filter

a=sniff(co         


        
5条回答
  •  一整个雨季
    2021-02-20 18:27

    You can check into the syntax of filters in the following site http://biot.com/capstats/bpf.html. I was facing similar kinds of problems and it worked for me.

    You might like to refer to this question: https://stackoverflow.com/questions/37453283/filter-options-for-sniff-function-in-scapy#=

    You can also try to test your program by opening the required ports before running code.

提交回复
热议问题