chaitin / xpoc

为供应链漏洞扫描设计的快速应急响应工具 [快速应急] [漏洞扫描] [端口扫描] [xray2.0进行时] A fast emergency response tool designed for supply chain vulnerability scanning.
https://docs.xray.cool/#/xpoc/QuickStart
Other
1.02k stars 38 forks source link

无法正常使用Xpoc进行扫描 #3

Closed JishiTeam-J1wa closed 1 year ago

JishiTeam-J1wa commented 1 year ago

图片 错误信息如下 [ERRO] 2023-05-24 14:22:34 Rel: can't make C:\Users\93789.xray\xpoc\plugins relative to D:\SSTTGGJJ [loader_go.go:146] [ERRO] 2023-05-24 14:22:34 flag provided but not defined: -html [cli.go:41] CMD整体如下 D:\SSTTGGJJ>xpoc_windows_386.exe -t https://example.com -html result.html /\ /_. . | |/ / / .\/ .\/ _| | /XRAY™// / / / / / / . | / ._/ /_/ / /. / /|| / / __/____/ \/v0.0.1\/cloud plugins: [97] [INFO] 2023-05-24 14:22:34 use config at: C:\Users\93789.xray\xpoc-config.yaml [strategy.go:30] [INFO] 2023-05-24 14:22:34 load plugins form: [C:\Users\93789.xray\xpoc\plugins] [loader.go:123] [ERRO] 2023-05-24 14:22:34 Rel: can't make C:\Users\93789.xray\xpoc\plugins relative to D:\SSTTGGJJ [loader_go.go:146] Incorrect Usage: flag provided but not defined: -html

Did you mean "-h"?

NAME: xpoc - light poc scanner

USAGE: Scan single target: xpoc -t https://example.com └> multiple targets: xpoc -t 192.168.0.1,192.168.0.1:443,tcp://192.168.1.1:8000 Input from file: xpoc -i targets.txt └> from pipe: cat targets.txt | xpoc Output to JSON: xpoc -t https://example.com -json result.json └> to HTML: xpoc -t https://example.com -html result.html Run plugins form cloud: xpoc -r 1 -t http://example.com └> plugins from local: xpoc -r ./poc-yaml-example.yaml -t http://example.com List local plugins: xpoc list └> cloud plugins: xpoc list -a Pull all cloud plugins: xpoc pull └> specific plugins: xpoc pull -id 1

COMMANDS: upgrade 升级到最新版本 list 列出插件 add 将文件添加到插件仓库 pull 下载及更新插件 help, h Shows a list of commands or help for one command

GLOBAL OPTIONS: --run value, -r value 执行指定插件 多个插件间','分割 --enable value, -e value 仅启用部分插件,支持glob语法 --disable value, -d value 禁用部分插件,支持glob语法 --config value, -c value 指定配置文件 --debug debug (default: false) --quiet, -q 不显示banner (default: false) -o value [ -o value ] 结果输出: 指定保存结果的文件路径 (result-printer) -t value 扫描目标: 可以为URL/IP/域名/Host:Port等多种形式的混合输入 (util-target-split) -i value 目标文件: 指定含有扫描目标的文本文件 (util-target-split) --bw value 最大带宽占用限制(KB/s): 限制扫描发包的最大速率 与PPS的换算关系为: PPS=带宽*1024/60 (info-live) (default: 2000) --Pn 禁用主机存活探测: 端口扫描之前不进行主机存活探测 (info-live) (default: false) -p value 需要探测的TCP端口 (info-live) --help, -h show help (default: false) [ERRO] 2023-05-24 14:22:34 flag provided but not defined: -html [cli.go:41]

chinaykc commented 1 year ago

提示部分有误,造成了误导,抱歉。实际上是使用-o result.json或者-o result.html进行结果的输出。 在0.0.2版本已经修复该问题,可以通过xpoc upgrade命令进行升级。感谢支持。