Skip to content

xray使用“--config”指定配置文件不生效 #1838

@HugoWw

Description

@HugoWw

版本:1.9.11
现象:xray换到/usr/bin/目录下使用“--config”指定配置文件路径不生效,只能在当前目前下生成xray.yaml、module.xray.yaml、plugin.xray.yaml

操作如下:
./xray_linux_amd64 webscan --basic-crawler http://testphp.vulnweb.com/ --html-output xray-crawler-testphp.html --config /root/xray/config.yaml --log-level debug

____ .___. __. ..
\ / /_ __ \ / _ \ _
| |
\ / | _ / / /\ \ / | |
/ \ | | / | \ _
|
_
/\ \ || /_| / / _____/
_/ _/ _/ /

Version: 1.9.11/eb0c331d/COMMUNITY

config (xray.yaml) not found, gen xray.yaml/module.xray.yaml/plugin.xray.yaml .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions