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

Golang Regex Match not working #233

Open
Buronn opened this issue Sep 8, 2023 · 4 comments
Open

Golang Regex Match not working #233

Buronn opened this issue Sep 8, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@Buronn
Copy link

Buronn commented Sep 8, 2023

Describe the bug
Match in Regex not working for Capture Data

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'New Test'
  2. Add a new step
  3. Add some regex, in my case is: name="_token" value="([^"]+)"
  4. Add Match (I tried with 3 different matches)
  5. Add a new step that uses thoe variables

Expected response
Just the token.

Screenshots
Step 1: CAPTURE
image

Step 2: Body with captured vars
image

Step 3: DEBUG
image

As you can see, match is not working at all.

System (please complete the following information):

  • OS: Linux
  • Ddosify Version Latest
@Buronn Buronn added the bug Something isn't working label Sep 8, 2023
@fatihbaltaci
Copy link
Member

Hello @Buronn, we will add a group number for the regular expression. Then you can use it without a problem. I'll let you know when this feature is ready.

@KshitijBharde
Copy link
Contributor

Hi, @fatihbaltaci can I take up this issue?

@fatihbaltaci
Copy link
Member

Hello @KshitijBharde, yes! If you need any assistance, please let me know. Thanks.

@KshitijBharde
Copy link
Contributor

Sure, @fatihbaltaci will let you know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants