anteon icon indicating copy to clipboard operation
anteon copied to clipboard

Golang Regex Match not working

Open Buronn opened this issue 2 years ago • 4 comments

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 avatar Sep 08 '23 17:09 Buronn

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.

fatihbaltaci avatar Sep 21 '23 13:09 fatihbaltaci

Hi, @fatihbaltaci can I take up this issue?

KshitijBharde avatar Sep 29 '23 17:09 KshitijBharde

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

fatihbaltaci avatar Sep 30 '23 13:09 fatihbaltaci

Sure, @fatihbaltaci will let you know.

KshitijBharde avatar Oct 02 '23 06:10 KshitijBharde