From 38972bf93b12e6821ca18a3eafd0d8f3ccfc4c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E6=98=8E?= <83812544+Ed1s0nZ@users.noreply.github.com> Date: Wed, 11 Mar 2026 19:47:43 +0800 Subject: [PATCH] Add files via upload --- tools/dalfox.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/dalfox.yaml b/tools/dalfox.yaml index 94807bc9..e14a13d5 100644 --- a/tools/dalfox.yaml +++ b/tools/dalfox.yaml @@ -1,5 +1,8 @@ name: "dalfox" command: "dalfox" +# dalfox v2+ 使用子命令,单目标模式为 `dalfox url `,不再支持根级的 -u +args: + - "url" enabled: true short_description: "高级XSS漏洞扫描器" description: | @@ -19,10 +22,12 @@ description: | parameters: - name: "url" type: "string" - description: "目标URL" + description: | + 目标URL。dalfox 单目标模式为子命令 url,此处作为 url 后的第一个位置参数传入。 + 示例等价 CLI:dalfox url "http://target/page?q=test" required: true - flag: "-u" - format: "flag" + position: 0 + format: "positional" - name: "pipe_mode" type: "bool" description: "使用管道模式输入"