Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
projectdiscovery
GitHub Repository: projectdiscovery/nuclei
Path: blob/dev/integration_tests/protocols/http/race-with-variables.yaml
2844 views
1
id: race-with-variables
2
3
info:
4
name: Race Condition with Variables
5
author: pdteam
6
severity: info
7
description: |
8
Test that variables and constants are properly resolved in race mode.
9
10
variables:
11
random_id: "{{rand_base(8)}}"
12
13
constants:
14
api_key: "racekey123"
15
16
http:
17
- raw:
18
- |
19
GET /race HTTP/1.1
20
Host: {{Hostname}}
21
X-Request-Id: {{random_id}}
22
X-API-Key: {{api_key}}
23
24
race: true
25
race_count: 3
26
27
matchers:
28
- type: word
29
words:
30
- "racekey123"
31
32