PortSwigger / turbo-intruder

Turbo Intruder is a Burp Suite extension for sending large numbers of HTTP requests and analyzing the results.
https://portswigger.net/blog/turbo-intruder-embracing-the-billion-request-attack
Apache License 2.0
1.42k stars 207 forks source link

Manual Build Failed #134

Closed BigFish2086 closed 10 months ago

BigFish2086 commented 10 months ago

I tried to build the master branch manually using ./gradew build fatjar however i got the following error image

with this configuration for java & gradle for this ubuntu:18.04 docker instance: image

It seems to me that the last version I can build is this commit: f30d741 i.e v1.32 and any other version after that can't be built manually

albinowax commented 10 months ago

Sorry about this, I believe you can make compilation work by editing the build.gradle and replacing compileOnly files('montoya-api-2023.7-13-BLACKHAT.jar') with implementation net.portswigger.burp.extensions:montoya-api:2023.9.

I'll land a proper fix once I escape vegas.

BigFish2086 commented 10 months ago

This line almost fixed the problem. I changed it and got the following error: turbo-needs-jvm-17

I changed the lines at the start of the file build.gradle to the following:

sourceCompatibility = 17
targetCompatibility = 17

It worked now by changing also the JDK version from 11 to 17 but with these warnings src-17-target-17

I actually wanted to try it with older versions of burp, but I think it's not compatible. Anyways, thanks for your help. Enjoy yourself in vegas.

albinowax commented 10 months ago

Thanks, yep that looks about right and I've pushed an update with a similar fix.

You're correct that this won't work in older versions of Burp, as it uses a new API to perform the single-packet attack via Burp's network stack.