xxd
Generate hexdumps and ASCII representations of files for malware analysis. Supports length limits, column formatting, binary mode, and customizable offsets to inspect file contents thoroughly.
Instructions
Create a hexdump with ASCII representation
Example usage:
Standard xxd dump: { "target": "suspicious.exe" }
With length limit: { "target": "suspicious.exe", "length": 256 }
With column formatting: { "target": "suspicious.exe", "cols": 16 }
Binary bits mode: { "target": "suspicious.exe", "bits": true }
Input Schema
Name | Required | Description | Default |
---|---|---|---|
bits | No | Switch to bits (binary) dump | |
cols | No | Format output into specified number of columns | |
length | No | Number of bytes to display | |
offset | No | Starting offset in the file | |
options | No | Additional command-line options | |
target | Yes | Target file or data to analyze |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"bits": {
"description": "Switch to bits (binary) dump",
"type": "boolean"
},
"cols": {
"description": "Format output into specified number of columns",
"type": "number"
},
"length": {
"description": "Number of bytes to display",
"type": "number"
},
"offset": {
"description": "Starting offset in the file",
"type": "number"
},
"options": {
"description": "Additional command-line options",
"type": "string"
},
"target": {
"description": "Target file or data to analyze",
"minLength": 1,
"type": "string"
}
},
"required": [
"target"
],
"type": "object"
}