Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/pkg/tmplexec/flow/testcases/noflow-request-condition.yaml
4538 views
1
id: noflow-request-condition
2
3
info:
4
name: No flow with request condition (3 raw requests)
5
author: test
6
severity: info
7
8
http:
9
- raw:
10
- |
11
GET /step1 HTTP/1.1
12
Host: {{Hostname}}
13
14
- |
15
GET /step2 HTTP/1.1
16
Host: {{Hostname}}
17
18
- |
19
GET /step3?token={{auth}} HTTP/1.1
20
Host: {{Hostname}}
21
22
matchers-condition: and
23
matchers:
24
- type: word
25
part: body_1
26
words:
27
- "step1-ok"
28
29
- type: word
30
part: body_2
31
words:
32
- "step2-ok"
33
34
- type: word
35
part: body_3
36
words:
37
- "step3-ok"
38
39
extractors:
40
- type: regex
41
name: auth
42
internal: true
43
part: body_2
44
group: 1
45
regex:
46
- 'token=([a-z0-9]+)'
47
48