mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-17 19:45:28 +00:00
* Check if the variables are override by other means - you can override the template variable value using command line flags * Update lazy eval logic - previously, we were checking any function/expression in variable - now, update the logic, lazy eval only if variable contains any protocol variable(global) * add integration tests * Add test to check the dsl function working in variable * gather all generate variables logic in utils * go mod update * Refactor the generate variables function * go mod update+ fix typo --------- Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io> Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com> Co-authored-by: Tarun Koyalwar <tarun@projectdiscovery.io>
21 lines
296 B
YAML
21 lines
296 B
YAML
id: basic-example
|
|
|
|
info:
|
|
name: Test HTTP Template
|
|
author: pdteam
|
|
severity: info
|
|
|
|
variables:
|
|
a1: "{{to_lower(rand_base(5))}}"
|
|
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/?x={{a1}}"
|
|
- "{{BaseURL}}/?x={{a1}}"
|
|
|
|
extractors:
|
|
- type: dsl
|
|
dsl:
|
|
- a1 |