Generates an HTML view of the contents of a PCAP file
Clone or download
Latest commit 8dcf737 Aug 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE Create LICENSE Jan 3, 2018
README.md Update README.md Aug 2, 2018
pcap2html-example.png Add files via upload Sep 14, 2017
pcap2html.py Changed to generate the HTML file as opposed to do the transformation… Aug 2, 2018

README.md

pcap2html

This is Python script that generates an HTML view of the contents of a capture file.

HTML View of Capture File

Requirements

You need Python2 and Wireshark.

Usage

python pcap2html.py <input_file>

where <input_file> is a capture file.

For example:

python pcap2html.py ~/Desktop/mycapture.pcap

generates ~/Desktop/mycapture.pcap.html.

Notes

The conversion requires an intermediate transformation to XML, which is currently done in memory. As a result, conversion of large files may be very slow.