Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andrewf/pcap2har
A convertor from .pcap network capture files to HTTP Archive files.
https://github.com/andrewf/pcap2har
Last synced: 25 days ago
JSON representation
A convertor from .pcap network capture files to HTTP Archive files.
- Host: GitHub
- URL: https://github.com/andrewf/pcap2har
- Owner: andrewf
- License: bsd-2-clause
- Created: 2010-07-19T23:00:40.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2018-06-24T08:42:50.000Z (over 6 years ago)
- Last Synced: 2024-07-16T06:40:01.362Z (5 months ago)
- Language: Python
- Homepage:
- Size: 5.07 MB
- Stars: 234
- Watchers: 25
- Forks: 68
- Open Issues: 17
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **191**星
README
pcap2har: converts .pcap network capture files to HTTP Archive files.
mailing list: http://groups.google.com/group/pcap2har
The HAR format is still not completely supported, but the main parts are there
and features are being added.To run the program, run main.py with two arguments: the name of the capture
file, and the HAR output filename. For example:./main.py my.pcap my_pcap.har
The HTTP Archive (HAR) file format specification is here:
http://groups.google.com/group/http-archive-specification/web/har-1-1-spec?hl=en
It is a fairly straightforward JSON format.pcap2har includes BeautifulSoup.py, by Leonard Richardson. It only uses the
class UnicodeDammit, for unicode encoding detection. Its capabilities will be
improved if the chardet library is also available. It can be gotten from here:
http://chardet.feedparser.org/pcap2har is written in Python, and depends on the dpkt packet-parsing library
(http://code.google.com/p/dpkt/).