Burp Suite User Forum

Create new post

Turbo Intruder Race.py script missing?

Saeed | Last updated: Aug 15, 2023 02:25PM UTC

Hello, Turbo Intruders example scripts use to have a script called examples/race.py which I can no longer find? How do I run Turbo Intruder without any wordlists? I just want to send the same request?

Hannah, PortSwigger Agent | Last updated: Aug 15, 2023 03:39PM UTC

Hi

The race.py example was removed when the new race condition scripts were added. You can see this in the commit history here.

If you'd like the content of the script, please find it pasted below:
def queueRequests(target, wordlists):
    engine = RequestEngine(endpoint=target.endpoint,
                           concurrentConnections=30,
                           requestsPerConnection=100,
                           pipeline=False
                           )

    # the 'gate' argument blocks the final byte of each request until openGate is invoked
    for i in range(30):
        engine.queue(target.req, target.baseInput, gate='race1')

    # wait until every 'race1' tagged request is ready
    # then send the final byte of each request
    # (this method is non-blocking, just like queue)
    engine.openGate('race1')

    engine.complete(timeout=60)


def handleResponse(req, interesting):
    table.add(req)

Saeed | Last updated: Aug 15, 2023 07:27PM UTC

Thank you very much

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.