mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 16:15:27 +00:00
25 lines
791 B
YAML
25 lines
791 B
YAML
#@ load("@ytt:data", "data")
|
|
#@ load("@ytt:json", "json")
|
|
|
|
#@ def get_value(key, default=""):
|
|
#@ if hasattr(data.values, key):
|
|
#@ return str(getattr(data.values, key))
|
|
#@ else:
|
|
#@ return default
|
|
#@ end
|
|
#@ end
|
|
|
|
timestamp: 2024-02-20T19:24:13+05:32
|
|
url: https://ginandjuice.shop/users/3
|
|
request:
|
|
#@yaml/text-templated-strings
|
|
raw: |+
|
|
POST /users/3 HTTP/1.1
|
|
Host: ginandjuice.shop
|
|
Authorization: Bearer (@= get_value("token") @)
|
|
Accept-Encoding: gzip
|
|
Content-Type: application/x-www-form-urlencoded
|
|
Connection: close
|
|
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36
|
|
|
|
foo=(@= get_value("foo") @)&bar=(@= get_value("bar") @)&debug=(@= get_value("debug", "false") @) |