jmatj / har2pcap

har2pcap converts .har (HTTP Archive Viewer) files into the pcapng file format - which can be analyzed with Wireshark.
GNU General Public License v3.0
8 stars 1 forks source link

har2pcap

har2pcap converts .har (HTTP Archive Viewer) files into the pcapng file format - which can be analyzed with Wireshark

Installation

Python3 (!) and Pip must be installed.

If so, run the following commands to setup the project

# create virtualenv
virtualenv -p python3 venv
# activate virtualenv
source venv/bin/activate

# install requirements
- make

# run tests
- make test

# ... do your work here

# deactivate virtualenv
- deactivate

Usage

usage: har2pcap [-h] [--version] har-file pcap-file

Convert har to pcapng

positional arguments:
  har-file    Tha .har file to convert
  pcap-file   The destination .pcapng file

optional arguments:
  -h, --help  show this help message and exit
  --version   show program's version number and exit