Files
CyberStrikeAI/tools/xxd.yaml
2025-11-21 23:20:41 +08:00

53 lines
1.2 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
name: "xxd"
command: "xxd"
enabled: true
short_description: "十六进制转储工具"
description: |
Xxd是一个十六进制转储工具用于以十六进制格式显示文件内容。
**主要功能:**
- 十六进制转储
- 可配置偏移和长度
- 反向转换
- 多种输出格式
**使用场景:**
- 二进制分析
- 文件检查
- 数据提取
- 取证分析
parameters:
- name: "file_path"
type: "string"
description: "要转储的文件路径"
required: true
position: 0
format: "positional"
- name: "offset"
type: "string"
description: "开始读取的偏移量"
required: false
flag: "-s"
format: "flag"
default: "0"
- name: "length"
type: "string"
description: "要读取的字节数"
required: false
flag: "-l"
format: "flag"
- name: "additional_args"
type: "string"
description: |
额外的xxd参数。用于传递未在参数列表中定义的xxd选项。
**示例值:**
- 根据工具特性添加常用参数示例
**注意事项:**
- 多个参数用空格分隔
- 确保参数格式正确,避免命令注入
- 此参数会直接追加到命令末尾
required: false
format: "positional"