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

matchers: - type: regex part: body regex: - "(?<![\"'])<hacktivist1337>hacktivist1337<\/hacktivist1337>(?![\"'])" condition: and ``` #11375

Open
1 task done
Phoenix1112 opened this issue Dec 15, 2024 · 1 comment
Assignees
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@Phoenix1112
Copy link

Is there an existing issue for this?

  • I have searched the existing issues.

Current Behavior

Why am I getting escape errors even though I escape this regex?

    matchers:
      - type: regex
        part: body
        regex:
          - "(?<![\"'])<hacktivist1337>hacktivist1337<\/hacktivist1337>(?![\"'])"
        condition: and

Image

Expected Behavior

There is no error in the site "https://jsonformatter.org/yaml-validator".There doesn't seem to be anything related to yaml layout.

Steps To Reproduce

Add this method to any template. then test this


    matchers:
      - type: regex
        part: body
        regex:
          - "(?<![\"'])<hacktivist1337>hacktivist1337<\/hacktivist1337>(?![\"'])"
        condition: and

Relevant log output

Environment

- OS: 
- Nuclei: 
- Go:

Anything else?

No response

@Phoenix1112 Phoenix1112 added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Dec 15, 2024
@dwisiswant0
Copy link
Member

Transferring to nuclei-templates.

@dwisiswant0 dwisiswant0 transferred this issue from projectdiscovery/nuclei Dec 16, 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

No branches or pull requests

3 participants