This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: ISO-8859-15 -*- | |
""" | |
This file contains some example methods of how pcaps can be parsed, filtered in different ways, and | |
converted to JSON representation with scapy and tshark(tshark is directly invoked on pcap). | |
It shows an example of how a tcp session can be extracted from a huge pcap consisting of multiple | |
sessions. | |
It also does a performance testing of those methods, but don't take the output as it is. |
NewerOlder