#Specify extractor of a subtemplate based on some external value

1 messages · Page 1 of 1 (latest)

zinc fern
#

I have a check I'm trying to write which has two parts, one to perform an action as a higher user and validate that it returns 200, and one to perform an action as a lower user which I expect to return a 401. How can I have nuclei check both, at the moment my workflow has two parent templates, one which logs in as a higher user and in a sub-template calls the template which makes the HTTP req, and another which logs in as the lower user and then calls the same sub-template which makes the HTTP req.

warped crystal
#

Have you looked at flow templates?

zinc fern
#

no, will look into that and report back