mhfpcapreader

command module
v0.0.0-...-eb2bb8a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2020 License: MIT Imports: 24 Imported by: 0

README

mhfpcapreader

mhfpcapreader is a small CLI tool to parse and decrypt archived MHF .pcap files to a simple log text file.

This tool reassembles the TCP streams using gopacket, then decrypts the packets with existing code from Erupe.

Usage

go get -u github.com/Andoryuuta/mhfpcapreader
mhfpcapreader -i some_file.pcap -o output_log.txt

Warning

TCP is complex, TCP state reassembly from a one-sided packet capture is also complex. Expect a lot of oddities with the tool and output log, such as, but not limited to: incorrectly ordered packets (especially at the beginning of pcaps without a valid TCP initalization sequence capture), missing packets, and outright crashes.

Acknowledgements

This tool was originally based on the gopacket reassemblydump example.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL