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

Regex match retrieval #79

Open
Sim4n6 opened this issue Aug 7, 2023 · 4 comments
Open

Regex match retrieval #79

Sim4n6 opened this issue Aug 7, 2023 · 4 comments
Labels
enhancement New feature or request

Comments

@Sim4n6
Copy link

Sim4n6 commented Aug 7, 2023

Hi,

I was wondering if there is a way when a match is being done using regex to retrieve that value.

Thank you

@Hannah-PortSwigger
Copy link
Contributor

Thanks for the feedback. It is not currently possible to retrieve the value of the regular expression. You can use it to evaluate an expression, or replace text that matches your regex.

Are you able to provide some more information on how you are trying to use this functionality? We may be able to suggest a workaround for you.

@Sim4n6
Copy link
Author

Sim4n6 commented Aug 7, 2023

I wanna extract emails identified by a regex. It is that simple. In the report issue part , I dont' know how to extract that.

@Hannah-PortSwigger
Copy link
Contributor

Thanks for the feedback! It's not possible to extract this value. However, you should find that the relevant portion is highlighted in the attached request and response for the issue. We've noted down your interest in this functionality.

We do have built-in scan checks for email addresses - you can find this detailed here: https://portswigger.net/kb/issues/00600200_email-addresses-disclosed

@Hannah-PortSwigger Hannah-PortSwigger added the enhancement New feature or request label Sep 21, 2023
@Hannah-PortSwigger
Copy link
Contributor

Reopening for better tracking of this feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants