mirror of https://github.com/daffainfo/nuclei.git
34 lines
511 B
YAML
34 lines
511 B
YAML
id: flow-iterate-one-value-flow
|
|
|
|
info:
|
|
name: Test Flow Iterate One Value Flow
|
|
author: pdteam
|
|
severity: info
|
|
|
|
flow: |
|
|
http(1)
|
|
for(let value of template.extracted){
|
|
set("value", value)
|
|
http(2)
|
|
}
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
extractors:
|
|
- type: regex
|
|
name: extracted
|
|
internal: true
|
|
regex:
|
|
- "[ok]+"
|
|
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/{{value}}"
|
|
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "ok" |