Skip to content

How to disable printing root matcher with flow? #4614

Pinned Answered by tarunKoyalwar
j4vaovo asked this question in Q&A
Discussion options

You must be logged in to vote

@j4vaovo thank you for flagging this, this happens because change in behaviour introduced in v3.1.4

Earlier we only printed last result if template contains two request with matchers by ignoring previous ones but this caused issue with flow when we were using for loop (see: #4582)

so starting from Nuclei v3.1.4 you need to add internal: true to mark a request as internal. You can refer docs for more info on this https://docs.projectdiscovery.io/templates/protocols/flow#skip-internal-matchers-in-multiprotocol-flow-templates
https://docs.projectdiscovery.io/templates/reference/matchers#internal-matchers

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ehsandeep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4613 on January 10, 2024 13:34.