360 Secure SkillHub
360 安全技能中心

Poc Validator

该 Skill 根据用户提供的 URL、方法、请求头和载荷调用本地 Python 脚本回放 HTTP 请求,解析响应状态码与片段,识别 SQL 报错等异常特征,并生成 PoC 验证报告;明确不用于大规模扫描、DDoS 或未授权利用。

分类:安全
whatyourname12345
whatyourname12345
热度 22.25
最近更新 2026-05-11 17:35:11

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add whatyourname12345/openclaw-poc-validator
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
poc-validator
description
Automated Vulnerability Verification and Payload Replay Probe. Dynamically executes HTTP requests and analyzes HTTP status codes/error traces (e.g., SQL Injection errors). Use when: Testing specific payloads, verifying vulnerabilities, or replaying raw HTTP requests to analyze stack traces. NOT for: Automated mass scanning, DDoS attacks, or unauthorized exploitation.

Autonomous PoC Validator

When to Run

  • The user provides raw HTTP request data or a specific malicious payload and requests a target interface test.
  • The user asks to "verify this PoC", "replay this request", or "check for 500 errors/SQL exceptions".

Workflow

  1. Parse the target URL, Method, Headers (specifically Cookie and User-Agent), and the Payload provided by the user.
  2. Format the request data and pass it to the scripts/replay.py execution script.
    • Command execution example: python3 scripts/replay.py --url "{URL}" --method "{METHOD}" --data "{PAYLOAD}" --headers "{JSON_HEADERS}"
  3. Parse the JSON output returned by the script (includes status code, headers, and smart body snippet).
  4. Perform deep analysis on the response context:
    • Identify HTTP 500 Internal Server Error (often indicates syntax escape or fatal exception).
    • Scan the body_snippet for signature keywords: SQLSTATE, Syntax error, ExtractValue, XPATH syntax error, Call to undefined function, etc.
  5. Generate the final vulnerability validation report strictly adhering to the Output Format below.

Output Format

[+] PoC Validation Report

[] Target Interface : {Method} {URL} [] Test Payload : {The critical injection code/payload} [*] Response Status: {Status Code} (e.g., 200 OK / 500 Internal Server Error)

[!] Analysis Conclusion: {Clearly state if the vulnerability exists. E.g., "SQL Error-Based Injection confirmed. Successfully captured SQLSTATE[42000] exception." or "Injection failed. The target returned 200 OK with sanitized input."}

[-] Critical Evidence / Stack Trace:

{The extracted error logs or relevant response snippet demonstrating the vulnerability}