Workflow extractor values in sub templates - indexed? #3766
Unanswered
bbbates-tl
asked this question in
Q&A
Replies: 2 comments 7 replies
-
I wonder if matchers automatically operate as an array... These are our current docs on workflows. Not sure if there's an answer somewhere in here: https://nuclei.projectdiscovery.io/templating-guide/workflows/#conditional-workflows |
Beta Was this translation helpful? Give feedback.
6 replies
-
@bbbates-tl Follow #2106 for updates; currently, accessing a specific index is not possible. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am working on a workflow that begins with a "detect" template, and conditionally selects between two templates based on the value of a matcher. The "detect" template also uses an extractor for a value used in the subtemplates.
The workflow:
The "detect" template:
The p2-login template:
The problem - when I try and use the extracted value in the subtemplates, the values appear to be wrapped in an "array".
Interestingly, if I don't use a conditional matcher in the workflow (see below), the extracted value "works" as expected.
Any ideas? Have I missed something?
Beta Was this translation helpful? Give feedback.
All reactions