https://docs.projectdiscovery.io/templates/protocols/code
Currently, I have identified a vulnerability that requires verification; however, the process involves several cumbersome steps. I attempted to generate a YAML configuration using a Python script based on the official documentation, but the implementation failed to execute. Additionally, the -sign signature method described in the guide did not produce the expected results.
id: mtoken-generate-demo
info:
name: mToken generator from security.key
author: chatgpt
severity: info
http:
- id: step1
method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
name: securitykey
part: body
group: 1
regex:
- "security.key':\"(.*?)\""
code:
- id: step2
engine:
- py
- python3
source: |
print("Hello World")

https://docs.projectdiscovery.io/templates/protocols/code
Currently, I have identified a vulnerability that requires verification; however, the process involves several cumbersome steps. I attempted to generate a YAML configuration using a Python script based on the official documentation, but the implementation failed to execute. Additionally, the -sign signature method described in the guide did not produce the expected results.