mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2025-12-18 03:35:27 +00:00
make the extracted variables available in subsequence templates when executing in a workflow fix projectdiscovery/nuclei#4797
22 lines
518 B
YAML
22 lines
518 B
YAML
id: code-template-1
|
|
|
|
info:
|
|
name: code-template-1
|
|
author: tovask
|
|
severity: info
|
|
tags: code
|
|
|
|
code:
|
|
- engine:
|
|
- py
|
|
- python3
|
|
- python
|
|
source: |
|
|
print("hello from first")
|
|
extractors:
|
|
- type: regex
|
|
name: extracted
|
|
regex:
|
|
- 'hello from (.*)'
|
|
group: 1
|
|
# digest: 490a0046304402202c63d47bb0acdd40b3b852d95490d492ff5741b84071b2a8a40371be7797c13602202b6b977e157edf2ef70a402a2e57d4eb5a67c5ca91f0a2f9a10a966e8485ebaf:4a3eb6b4988d95847d4203be25ed1d46 |