Skip to content
Discussion options

You must be logged in to vote

In Nuclei, matchers are always applied per-request, not globally across multiple requests.

That means your understanding #1 is correct

  • The engine will send both requests (/static?... and /concat?...).
  • Each response is evaluated independently against the matcher group.
  • For a template to succeed, one single response must satisfy all matchers under the and condition (status = 200, header includes application/xml, and body includes both </web-app> and java.sun.com).
  • If request #1 meets all conditions → template matches.
  • If request #2 meets all conditions → template matches.
  • If request #1 and #2 “split” the matchers (one has the header, the other has the body, etc.), the template will not match.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zhangyuchaoxjtu
Comment options

Answer selected by dwisiswant0
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