0

Using PyShark, how can I filter the protocol according to user?

For example, if command python file.py -I eth0 --protocol http, then only http packets should be capture similarly if python file.py -I eth0 --protocol smtp then it should only capture smtp packets.

how can I make that feature using pyshark and python?

0 Answers0