Burp Suite User Forum

Create new post

Community update fail. All my cmds should be correct.

Cat | Last updated: Jun 26, 2022 06:54AM UTC

Good day. I want to update my community version, and I follow this guide. https://www.cybrary.it/blog/0p3n/updating-burp-suite-in-kali-linux/ I believe I had done everything right, and when I try to open burpsuite in my terminal, I got this. └─$ sudo burpsuite /usr/bin/burpsuite: 1: PK: not found /usr/bin/burpsuite: 2e: not found /usr/bin/burpsuite: 2: �T: not found /usr/bin/burpsuite: 3: Syntax error: ")" unexpected OR, └─$ burpsuite zsh: exec format error: burpsuite This should not be the case, bec I checked my burpsuite directory, and the new JAR was indeed the only thing inside it. └─$ ls | grep burp burpsuite These are my previous cmds, and they all look just fine. └─$ sudo mv burpsuite_community_v2022.5.2.jar burpsuite └─$ chmod +x burpsuite 536808 -rwxr-xr-x 1 sidlord sidlord 549686250 Jun 26 01:32 burpsuite └─$ sudo mv burpsuite /usr/bin/burpsuite

Ben, PortSwigger Agent | Last updated: Jun 27, 2022 11:05AM UTC

Hi, The third party update guide that you have followed is out of date (due to some changes made by the creators of Kali Linux with regards to how Burp is preinstalled/preconfigured). The 'burpsuite' file under the /usr/bin directory on Kali Linux is actually a script file that is being used by Kali to launch Burp rather than being the Burp Jar file itself. Replacing this script file with the Jar file is the cause of the error that you are seeing (in essence the 'burpsuite' script is executed and then runs the Burp Jar file). The preinstalled Burp jar file is actually located in the /usr/share/burpsuite directory so this is the directory in which you would need to replace the existing 'burpsuite.jar' file with the updated version (whilst also renaming the updated Jar file to 'burpsuite.jar'). Do you still have an old version of the original 'burpsuite' script or have you removed it entirely?

Cat | Last updated: Jun 28, 2022 09:17AM UTC

Luckily I have a screenshot of my machine. Sadly I had to redownload the latest Jar again. That being said I still got the "out of date" error, even after moving the Jar to /usr/share/burpsuite. I had update, upgrade, change the Jar name, modchd, move it, then upgrade linux again, and lastly reboot. But it won't replace, and instead it just sit right next to the original burpsuite. Are you sure I should include the ".jar" extension? Could this error did this? Or maybe this is unrelated Hit:1 http://mirror.anigil.com/kali kali-rolling inRelease E: could not open lock file /var/lib/dpkg/lock-frontend - open (13: permission denied)

Ben, PortSwigger Agent | Last updated: Jun 28, 2022 12:32PM UTC

Hi, Just to confirm, what are you referring to when you mention the 'out of date' error? To clarify the process further, you should simply need to rename/delete/remove the existing 'burpsuite.jar' file that exists in the /usr/share/burpsuite directory and then copy and rename the new jar file to 'burpsuite.jar' - this should then allow you to launch the new version of Burp using the 'burpsuite' command. I have created some screenshots to better illustrate this process for you, as below. Screenshot of the 'burpsuite' script file located in /usr/bin - as you can see the script runs the 'burpsuite.jar' file located in the /usr/share/burpsuite directory: https://snipboard.io/m7CV9z.jpg Screenshot of the updated /usr/share/burpsuite directory. Note, I have changed the name of the original Jar file to 'burpsuite.jar.old' and copied and renamed the new Jar file from 'burpsuite_pro_v2022.5.2.jar' to 'burpsuite.jar' - you can do this using the mv command and, depending upon your setup you may well need to do this using sudo): https://snipboard.io/wKBTqg.jpg This then allows me to launch the new version of Burp whilst still using the 'burpsuite' terminal command: https://snipboard.io/B1J5i3.jpg

Cat | Last updated: Jun 28, 2022 10:25PM UTC

Burp Suite is out of date. This version of BP was released over 3 months ago. Please consider updating to benefit from enhancements and security fixes. There are only burpsuite.jar & burpsuite inside its directory. However, after typing 'la -ls', I notice that my burpsuite.jar is under 'root', instead of my current sudo account. I do not use root account to do my works, but instead I use the default sudo acc created by me. So this might be the cause of fail update? PS: I just replace the old jar replace, and did not rename the old file to 'old'.

Ben, PortSwigger Agent | Last updated: Jun 29, 2022 10:30AM UTC

Hi, It might be easier if you send us an email at support@portswigger.net and include some screenshots of exactly what you currently now have in place so that we can see this more clearly. The alternative to this would be to use the platform installer version of Burp (available via our release page here - https://portswigger.net/burp/releases), install Burp and then manage the updates through the product itself.

Cat | Last updated: Jun 29, 2022 11:23PM UTC

Done. I send the email. You said alternatively I can download a platform version of Burp to my kali linux. By that do you mean a desktop app is created, also do you mean the Linux 64bit?

Ben, PortSwigger Agent | Last updated: Jun 30, 2022 07:37AM UTC

Hi, Thanks - we have received your email and will follow up there in due course. The platform installer will create an installation directory and a menu item so that you can launch Burp via the menu system in Kali. On the releases page you have two drop down menus for each release - one allows you to select the edition (Professional or Community) and one allows you to select the installation type. For installing on Kali Linux you would need to select the 'Linux (64-bit)' option. I have supplied a screenshot to illustrate this: https://snipboard.io/Z7azwj.jpg

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