nuclei
nuclei copied to clipboard
Conditional named matchers in workflows
I have written multiple fingerprint templates I want to execute a vulnerability scan when I execute a workflow template that satisfies any one of the features of this set of fingerprints. But as it stands, I have to write multiple fingerprints side by side, which generates a lot of extra requests
Current template situation
id: finger-scan
info:
name: finger-scan
author: capiton
workflows:
- template: technologies/tech-detect.yaml
matchers:
- name: spring-boot
subtemplates:
- tags: springboot
- tags: spring
- name: spring
subtemplates:
- tags: springboot
- tags: spring
- name: spring-framework
subtemplates:
- tags: spring
What I want to achieve
workflows:
- template: technologies/tech-detect.yaml
matchers:
- names:
- spring-boot
- spring
- spring-framework
condition: or
subtemplates:
- tags: springboot
- tags: spring
@capiton0, this is indeed useful, thanks for creating this feature request.
@capiton0, thanks again, this is now supported into dev version, here is an example run: https://github.com/projectdiscovery/nuclei/pull/2594#pullrequestreview-1112087485
Your team is great developers!