All these templates not running. Can you let me know the solution?
Is there an existing issue for this?
- [x] I have searched the existing issues.
Current Behavior
Expected Behavior
I run nuclei for specific template like : /home/kali/nuclei-templates/workflows/wordpress-workflow.yaml
Showing an error "Could not run nuclei: no templates provided for scan"
Steps To Reproduce
- nuclei -d example.com -t /home/kali/nuclei-templates/workflows/wordpress-workflow.yaml
- Respond me:
- INF] Current nuclei version: v3.3.2 (outdated) [INF] Current nuclei-templates version: v10.0.4 (latest) [WRN] Scan results upload to cloud is disabled. [INF] Targets loaded for current scan: 3 [INF] No results found. Better luck next time! [FTL] Could not run nuclei: no templates provided for scan
Relevant log output
Environment
- Nuclei: 3.3.2
Anything else?
No response
Not a bug. I recommend reading https://docs.projectdiscovery.io/templates/introduction but if you can't sit still long enough, try nuclei -h | grep workflow. 👍🏻
I am also facing the same issue
@rabiu-101 the first warning tells you what the issue is. It is a file template (or a folder just containing one file template). File templates check local files for vulnerability indicators, not websites and you have to pass -file flag to activate them, which you didn't. As a result, there is no template to use. Even with the flag, your target is a website, not a file.
Please refer to https://docs.projectdiscovery.io/templates/introduction and https://docs.projectdiscovery.io/tools/nuclei/running for more detailed information.
tl;dr; https://docs.projectdiscovery.io/tools/nuclei/running#executing-template-workflows
Closing this. Feel free to reopen if you have any other questions.