Burp Suite User Forum

Create new post

trouble installing

Daniel | Last updated: Nov 25, 2020 07:00PM UTC

Hello, Trying to run Burpsuite on Kali (Pi4b, Cortex-A72), running the latest Open-JDK and I keep running into issues. If I run the JAR i get: "invalid file (bad magic number): Exec format error" and if I run the installer I get the same "Exec format error" Unpacking JRE ... Starting Installer ... ./burpsuite_community_linux_v2020_11.sh: 596: /home/***/Downloads/burpsuite_community_linux_v2020_11.sh.132071.dir/jre/bin/java: Exec format error I've googled this to death.. and I'm running out ideas. Any suggestions?

Daniel | Last updated: Nov 25, 2020 07:06PM UTC

I would like to add that I am running a 64bit version of Kali. I have tried install/reinstalling/varying versions thereof of Open-JDK, and I am running both the jar and install script with sufficient permissions. :-)

Michelle, PortSwigger Agent | Last updated: Nov 26, 2020 09:28AM UTC

Could you send us the output from uname -a, please? Also, which versions of java did you try during all your testing? Did they all give the same error when you tried to launch the JAR file?

Daniel | Last updated: Nov 26, 2020 04:24PM UTC

Linux kali 4.19.118-Re4son-v81+ #1 SMP PREEMPT Thu May 7 02:54:03 UT 2020 aarch64 GNU/Linux The jar gives "Bad Magic Number", the script just gives "Exec format error" but doesn't elaborate. I'm guessing it's the same? My java version is currently: openjdk version 11.0.9.1" 2020-11-04 OpenJDK Runtime Environment (build 11.0.9.1+1-post-Debian-1) OpenJDK 64-Bit Server VM (build 11.0.9.1+1-post-Debian-1, mixed mode) thank you for following up with me :-)

Michelle, PortSwigger Agent | Last updated: Nov 27, 2020 11:47AM UTC

We've been doing some investigation and other users with a similar setup to yourself have sometimes found that they've had issues getting the installer to run but have been able to start Burp using the JAR file, so it's probably worth us doing a few more tests using that method. The issues we've had reported have generally seemed to relate to the version of Java being used. I know you've already tested a number of different versions of java but could you give it a try using Java 14 and the JAR file, and check if that gives the same result, please? If it does, could you check what versions of Java you have installed ('sudo update-alternatives --config java' will give us a list) and send over the details, please?

Michelle, PortSwigger Agent | Last updated: Nov 27, 2020 12:20PM UTC

Would you mind running a specific test with Java 15 too (https://jdk.java.net/15/), please?

Stefan | Last updated: May 05, 2022 01:38PM UTC

I have the same issue: java -version openjdk version "11.0.14.1" 2022-02-08 OpenJDK Runtime Environment (build 11.0.14.1+1-post-Debian-1) OpenJDK 64-Bit Server VM (build 11.0.14.1+1-post-Debian-1, mixed mode, sharing) (root????kali)-[/bin] └─# burpsuite invalid file (bad magic number): Exec format error

Ben, PortSwigger Agent | Last updated: May 06, 2022 06:53AM UTC

Hi Stefan, Have you update the version of Burp on your Kali machine and, if so, how did you carry this out?

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