export_objects
Extract files transferred over application protocols from a PCAP file. Reconstruct HTTP, SMB, FTP, TFTP, IMF, or DICOM exchanges and save them to an output directory for forensic recovery.
Instructions
Extract transferred files from a PCAP using tshark's --export-objects.
Reconstructs files exchanged over application protocols and writes them to output_dir. Useful for forensic recovery of HTTP downloads, SMB file transfers, FTP uploads/downloads, and TFTP transfers.
Args: file_path: Path to the PCAP file protocol: Protocol layer to extract from — one of: http, smb, tftp, imf, dicom output_dir: Directory where extracted files will be written (must exist)
Returns: List of extracted files with sizes, or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protocol | Yes | ||
| file_path | Yes | ||
| output_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |