ITADN

[BUG] "no templates provided for scan" error with valid YAML template

#7352Openpuja2057-source 创建于 2026-04-19
Type: Bug
P
puja2057-sourcecommented
### Is there an existing issue for this? - [x] I have searched the existing issues. ### Current Behavior When running nuclei with a specific template file that exists and contains valid YAML, I get the error: <img width="1972" height="594" alt="Image" src="https://github.com/user-attachments/assets/8fda2f74-4a8a-46dc-89f4-b0122ee2d252" /> ### Steps To Reproduce: ```bash # 1. Template file exists and is readable: ls -lah ~/nuclei-templates/http/cves/2017/CVE-2017-17562.yaml # 2. YAML syntax is valid: python3 -c "import yaml; yaml.safe_load(open('~/nuclei-templates/http/cves/2017/CVE-2017-17562.yaml'))" && echo "✓ Valid YAML" # Output: ✓ Valid YAML # 3. Run nuclei command: nuclei -duc -u http://hackerone.com \ -t ~/nuclei-templates/http/cves/2017/CVE-2017-17562.yaml \ -rl 3 -timeout 120 -retries 2 -silent -stats # 4. Error occurs: [FTL] Could not run nuclei: no templates provided for scan ### Expected Behavior The template should be loaded and the scan should execute normally. ### Steps To Reproduce nuclei -duc -u https://hackerone.com -t ~/nuclei-templates/http/cves/2017/CVE-2017-17562.yaml ### Relevant log output ```shell ``` ### Environment ```markdown - OS: Ubuntu 24.04 - Nuclei: v3.8.0 - Go: go1.25.6 ``` ### Anything else? _No response_
0 条评论