Skip to content

nuclei&pythoncode #6649

Description

@vkusrorof

https://docs.projectdiscovery.io/templates/protocols/code

Image

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")
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions