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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"file_path": "<file_path>",
"protocol": "<protocol>",
"output_dir": "<output_dir>"
},
"name": "export_objects"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| protocol | Yes | ||
| file_path | Yes | ||
| output_dir | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |