VscanPlus icon indicating copy to clipboard operation
VscanPlus copied to clipboard

Could not load template

Open XKaguya opened this issue 1 year ago • 5 comments

不好意思问的可能有点基础或者没脑子,但是我试了编译好的版本和自己编译的版本,都会报错:

[WRN] Could not load template nucleiFiles/cves/2023/CVE-2023-3848.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2017/CVE-2017-14524.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2021/CVE-2021-29006.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2020/CVE-2020-24223.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2021/CVE-2021-22205.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2021/CVE-2021-30151.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2022/CVE-2022-24265.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing

该如何解决呢?没看到 Issue 里面有人提过,readme也没找到,麻烦师傅解答一下了

XKaguya avatar May 27 '24 14:05 XKaguya

师傅的vscanplus是不是没有文件读取权限,或者exp文件内容有问题。这个是检测nuclei的exp文件时判断缺少了字段,可以尝试补充对应的字段,但是我看对应文件都是正常的

不好意思问的可能有点基础或者没脑子,但是我试了编译好的版本和自己编译的版本,都会报错:

[WRN] Could not load template nucleiFiles/cves/2023/CVE-2023-3848.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2017/CVE-2017-14524.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2021/CVE-2021-29006.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2020/CVE-2020-24223.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2021/CVE-2021-22205.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2021/CVE-2021-30151.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2022/CVE-2022-24265.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing

该如何解决呢?没看到 Issue 里面有人提过,readme也没找到,麻烦师傅解答一下了

师傅的vscanplus是不是没有文件读取权限,或者exp文件内容有问题。这个是检测nuclei的exp文件时判断缺少了字段,可以尝试补充对应的字段,但是我看对应文件都是正常的

youki992 avatar May 28 '24 02:05 youki992

师傅的vscanplus是不是没有文件读取权限,或者exp文件内容有问题。这个是检测nuclei的exp文件时判断缺少了字段,可以尝试补充对应的字段,但是我看对应文件都是正常的

不好意思问的可能有点基础或者没脑子,但是我试了编译好的版本和自己编译的版本,都会报错:

[WRN] Could not load template nucleiFiles/cves/2023/CVE-2023-3848.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2017/CVE-2017-14524.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2021/CVE-2021-29006.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2020/CVE-2020-24223.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2021/CVE-2021-22205.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2021/CVE-2021-30151.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2022/CVE-2022-24265.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing

该如何解决呢?没看到 Issue 里面有人提过,readme也没找到,麻烦师傅解答一下了

师傅的vscanplus是不是没有文件读取权限,或者exp文件内容有问题。这个是检测nuclei的exp文件时判断缺少了字段,可以尝试补充对应的字段,但是我看对应文件都是正常的

感觉不是吧?Windows和Linux环境我都尝试了,Linux下我是普通用户权限,没用su,但是Windows下我是Administrator,这个文件的附近就是对应文件夹,试了放编译时的、直接把nucleiFiles丢在附近,都是报这个错

XKaguya avatar May 28 '24 02:05 XKaguya

师傅的vscanplus是不是没有文件读取权限,或者exp文件内容有问题。这个是检测nuclei的exp文件时判断缺少了字段,可以尝试补充对应的字段,但是我看对应文件都是正常的

不好意思问的可能有点基础或者没脑子,但是我试了编译好的版本和自己编译的版本,都会报错:

[WRN] Could not load template nucleiFiles/cves/2023/CVE-2023-3848.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2017/CVE-2017-14524.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2021/CVE-2021-29006.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2020/CVE-2020-24223.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2021/CVE-2021-22205.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2021/CVE-2021-30151.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing
[WRN] Could not load template nucleiFiles/cves/2022/CVE-2022-24265.yaml: mandatory 'name' field is missing, mandatory 'author' field is missing, mandatory 'id' field is missing

该如何解决呢?没看到 Issue 里面有人提过,readme也没找到,麻烦师傅解答一下了

师傅的vscanplus是不是没有文件读取权限,或者exp文件内容有问题。这个是检测nuclei的exp文件时判断缺少了字段,可以尝试补充对应的字段,但是我看对应文件都是正常的

是的,对应字段是正常的,我去exp文件里面看了下,都是有的

XKaguya avatar May 28 '24 02:05 XKaguya