LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pcapfix

repairs corrupted packet captures

TLDR

Fix corrupted pcap
$ pcapfix [corrupted.pcap]
copy
Fix and save to new file
$ pcapfix -o [fixed.pcap] [corrupted.pcap]
copy
Verbose output
$ pcapfix -v [corrupted.pcap]
copy
Deep scan mode
$ pcapfix -d [corrupted.pcap]
copy

SYNOPSIS

pcapfix [options] file

DESCRIPTION

pcapfix repairs corrupted packet captures. Fixes pcap and pcapng files.The tool recovers network captures. Handles truncation and corruption.

PARAMETERS

FILE

Corrupted pcap file.
-o OUTPUT
Output file.
-v
Verbose mode.
-d
Deep scan.
-n
Fix pcapng files.

INSTALL

sudo apt install pcapfix
copy
nix profile install nixpkgs#pcapfix
copy

CAVEATS

May not recover all data. Backup originals. Supports pcap and pcapng.

HISTORY

pcapfix was created for recovering corrupted packet capture files.

SEE ALSO

Copied to clipboard
Kai