Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variables sharing between two req sections of protocol is not working #4870

Closed
tarunKoyalwar opened this issue Mar 12, 2024 · 0 comments · Fixed by #4868
Closed

Variables sharing between two req sections of protocol is not working #4870

tarunKoyalwar opened this issue Mar 12, 2024 · 0 comments · Fixed by #4868
Assignees
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Milestone

Comments

@tarunKoyalwar
Copy link
Member

Nuclei version:

main | latest

Current Behavior:

id: basic-example

info:
  name: Test HTTP Template
  author: pdteam
  severity: info

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers:
      - type: word
        words:
          - "This is test matcher text"
        negative: true

    extractors:
      - type: dsl
        name: ffff
        dsl:
          - status_code
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/{{ffff}}"
  • This throws a unresolved variable error

Expected Behavior:

  • no error
@tarunKoyalwar tarunKoyalwar added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Mar 12, 2024
@tarunKoyalwar tarunKoyalwar self-assigned this Mar 12, 2024
@ehsandeep ehsandeep added this to the nuclei v3.2.0 milestone Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants