[BUG] -t template.yaml returns "no templates provided" #6775
-
Is there an existing issue for this?
Current BehaviorTemplates passed with Resulting in: [FTL] Could not run nuclei: no templates provided for scanExpected BehaviorRun exactly the template(s) specified Expected:
Steps To Reproduce┌──(loca㉿loca)-[~]
└─$ nuclei -t <file>.yaml -u https://example.com
__ _
____ __ _______/ /__ (_)
/ __ \/ / / / ___/ / _ \/ /
/ / / / /_/ / /__/ / __/ /
/_/ /_/\__,_/\___/_/\___/_/ v3.6.2
projectdiscovery.io
[INF] Current nuclei version: v3.6.2 (latest)
[INF] Current nuclei-templates version: v10.3.7 (latest)
[INF] Targets loaded for current scan: 1
[INF] Scan completed in 1.826714ms. No results found.
[FTL] Could not run nuclei: no templates provided for scan
┌──(loca㉿loca)-[~]
└─$ nuclei -t <fullpath/file>.yaml -u https://example.com
__ _
____ __ _______/ /__ (_)
/ __ \/ / / / ___/ / _ \/ /
/ / / / /_/ / /__/ / __/ /
/_/ /_/\__,_/\___/_/\___/_/ v3.6.2
projectdiscovery.io
[INF] Current nuclei version: v3.6.2 (latest)
[INF] Current nuclei-templates version: v10.3.7 (latest)
[INF] Targets loaded for current scan: 1
[INF] Scan completed in 300.702µs. No results found.
[FTL] Could not run nuclei: no templates provided for scanRelevant log outputEnvironment- OS: kali linux
- Nuclei: v3.6.2
- Go: go1.24.9Anything else?No response |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
How's the template looks like? |
Beta Was this translation helpful? Give feedback.
-
|
I couldn't repro this -moving it to discussion, btw. id: test
info:
name: test
author: pdteam
severity: medium
description: Searches for the pattern /.git/config on passed URLs.
http:
- method: GET
path:
- "{{BaseURL}}/.git/config"
matchers:
- type: word
words:
- "[core]"$ nuclei -t test.yaml -u https://example.com -v
__ _
____ __ _______/ /__ (_)
/ __ \/ / / / ___/ / _ \/ /
/ / / / /_/ / /__/ / __/ /
/_/ /_/\__,_/\___/_/\___/_/ v3.6.1
projectdiscovery.io
[VER] Started metrics server at localhost:9092
[VER] Saved 11728 templates to metadata cache
[INF] Current nuclei version: v3.6.1 (outdated)
[INF] Current nuclei-templates version: v10.3.6 (outdated)
[WRN] Scan results upload to cloud is disabled.
[INF] New templates added in latest release: 176
[INF] Templates loaded for current scan: 1
[WRN] Loading 1 unsigned templates for scan. Use with caution.
[INF] Targets loaded for current scan: 1
[VER] [test] Sent HTTP request to https://example.com/.git/config
[INF] Scan completed in 424.007583ms. No results found. |
Beta Was this translation helpful? Give feedback.
-
|
I think you most prolly wrote a template that was invalid so nuclei silently rejected it (i faced the same wrong assumption when i wrote my first template): try: nuclei -t your_template.yaml -validate |
Beta Was this translation helpful? Give feedback.

Looks like your template is tagged "fuzz", which is disabled by default, see
~/.config/nuclei/.nuclei-ignore. You can run it by passing-itags/-include-tagsflag.Hope that helps!