nuclei icon indicating copy to clipboard operation
nuclei copied to clipboard

race: send multiple requests in the same time not work

Open passwa11 opened this issue 1 year ago • 2 comments
trafficstars

Nuclei version:

v3.2.2

Current Behavior:

template:

id: race-test

info:
  name: race-test
  author: known


http:
  - raw:
      - |
        POST /upload/ HTTP/1.1
        Host: {{Hostname}}
        Content-Type: multipart/form-data; boundary={{randstr}}
 
        --{{randstr}}
        Content-Disposition: form-data; name="file"; filename="{{randstr_2}}.png"

        {{randstr_1}}
        --{{randstr}}--

      - |
        GET /upload/{{randstr_2}}.png HTTP/1.1
        Host: {{Hostname}}

    race: true
    race_count: 30
    matchers:
      - type: word
        part: body
        words:
          - "{{randstr_1}}"

only request http 1 . image

Expected Behavior:

request http 1 and http 2 together at the same time.

Steps To Reproduce:

Anything else:

passwa11 avatar Mar 18 '24 09:03 passwa11

I think this is the expected behavior as of now, single requests are sent in a race-fashion singularly. Are you looking into sending as a unique block the first request concatenated to the second one?

Mzack9999 avatar Mar 19 '24 14:03 Mzack9999

yes.

passwa11 avatar Mar 19 '24 14:03 passwa11