mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-04-25 12:16:31 +02:00
Delete tools/hash-identifier.yaml
This commit is contained in:
@@ -1,84 +0,0 @@
|
||||
name: "hash-identifier"
|
||||
command: "python3"
|
||||
args:
|
||||
- "-c"
|
||||
- |
|
||||
import shlex
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
if len(sys.argv) < 2:
|
||||
sys.stderr.write("缺少哈希值\n")
|
||||
sys.exit(1)
|
||||
|
||||
hash_value = sys.argv[1]
|
||||
extra = sys.argv[2] if len(sys.argv) > 2 else ""
|
||||
|
||||
cmd = ["hash-identifier"]
|
||||
if extra:
|
||||
cmd.extend(shlex.split(extra))
|
||||
|
||||
proc = subprocess.run(
|
||||
cmd,
|
||||
input=f"{hash_value}\n",
|
||||
capture_output=True,
|
||||
text=True,
|
||||
)
|
||||
|
||||
if proc.returncode != 0:
|
||||
sys.stderr.write(proc.stderr or proc.stdout)
|
||||
sys.exit(proc.returncode)
|
||||
|
||||
sys.stdout.write(proc.stdout)
|
||||
enabled: true
|
||||
short_description: "哈希类型识别工具,用于识别未知哈希值的类型"
|
||||
description: |
|
||||
hash-identifier 是一个用于识别哈希值类型的工具,可以帮助确定未知哈希值使用的算法。
|
||||
|
||||
**主要功能:**
|
||||
- 识别多种哈希算法
|
||||
- 支持 MD5, SHA1, SHA256, bcrypt 等
|
||||
- 交互式识别
|
||||
- 快速识别常见哈希类型
|
||||
|
||||
**支持的哈希类型:**
|
||||
- MD5
|
||||
- SHA1, SHA256, SHA512
|
||||
- bcrypt
|
||||
- NTLM
|
||||
- MySQL
|
||||
- PostgreSQL
|
||||
- 等多种哈希算法
|
||||
|
||||
**使用场景:**
|
||||
- CTF 密码破解
|
||||
- 哈希值分析
|
||||
- 密码学研究
|
||||
- 安全审计
|
||||
|
||||
**注意事项:**
|
||||
- 需要 Python 环境
|
||||
- 交互式工具,可能需要特殊处理
|
||||
parameters:
|
||||
- name: "hash"
|
||||
type: "string"
|
||||
description: "要识别的哈希值"
|
||||
required: true
|
||||
position: 0
|
||||
format: "positional"
|
||||
- name: "additional_args"
|
||||
type: "string"
|
||||
description: |
|
||||
额外的hash-identifier参数。用于传递未在参数列表中定义的hash-identifier选项。
|
||||
|
||||
**示例值:**
|
||||
- 根据工具特性添加常用参数示例
|
||||
|
||||
**注意事项:**
|
||||
- 多个参数用空格分隔
|
||||
- 确保参数格式正确,避免命令注入
|
||||
- 此参数会直接追加到命令末尾
|
||||
required: false
|
||||
default: ""
|
||||
position: 1
|
||||
format: "positional"
|
||||
Reference in New Issue
Block a user