nuclei/integration_tests/flow/iterate-values-flow.yaml

35 lines
558 B
YAML
Raw Normal View History

id: extract-emails
info:
name: Extract Email IDs from Response
author: pdteam
severity: info
flow: |
http(1)
for(let email of template["emails"]) {
set("email",email);
http(2);
}
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
name: emails
internal: true
regex:
- '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}'
- method: GET
path:
- "{{BaseURL}}/user/{{base64(email)}}"
matchers:
- type: word
words:
- "Welcome"