xiv3r / Burpsuite-Professional

Latest Burpsuite Professional v2024.5.*
https://portswigger-cdn.net/burp/releases/download?product=pro&type=Jar&version=&
227 stars 87 forks source link

Burp.bat error and install.ps1 minor version problem #5

Open elin1023 opened 2 months ago

elin1023 commented 2 months ago

The Powershell script on Windows 10 does not run properly due to the version string not being able to save properly. I manually edited the bat file with the name of my burpsuite jar file in order to open it, and it led to the next problem.

Output for the powershell script:

PS C:\Burp> ./install.ps1
Setting Wget Progress to Silent, Becuase it slows down Downloading by 50x

Required JDK-19 is Installed

IdentifyingNumber : {8736CE40-4C2A-5E97-8F4F-03FAB07DD8D4}
Name              : Java(TM) SE Development Kit 19 (64-bit)
Vendor            : Oracle Corporation
Version           : 19.0.0.0
Caption           : Java(TM) SE Development Kit 19 (64-bit)

Required JRE-8 is Installed

IdentifyingNumber : {26A24AE4-039D-4CA4-87B4-2F64180361F0}
Name              : Java 8 Update 361 (64-bit)
Vendor            : Oracle Corporation
Version           : 8.0.3610.9
Caption           : Java 8 Update 361 (64-bit)

Burp Suite Professional JAR file is available.
Checking its Integrity ....
File Looks fine. Lets proceed for Execution

Burp.bat file is created

Burp-Suite-Pro.vbs file is created.
rm : Cannot find path 'C:\Burp\Linux_setup.sh' because it does not exist.
At C:\Burp\install.ps1:63 char:1
+ rm Linux_setup.sh
+ ~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Burp\Linux_setup.sh:String) [Remove-Item], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand

del : Cannot find path 'C:\Burp\.github\' because it does not exist.
At C:\Burp\install.ps1:64 char:1
+ del -Recurse -Force .\.github\
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Burp\.github\:String) [Remove-Item], ItemNotFoundException
    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand

Reloading Environment Variables ....

Starting Keygenerator ....

Starting Burp Suite Professional
Error: Unable to access jarfile burpsuite_pro_v.jar

PS C:\Burp>

Output for the bat file:

C:\Burp>java --add-opens=java.desktop/javax.swing=ALL-UNNAMED--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED --add-opens=java.base/jdk.internal.org.objectweb.asm.tree=ALL-UNNAMED --add-opens=java.base/jdk.internal.org.objectweb.asm.Opcodes=ALL-UNNAMED -javaagent:"C:\Burp\loader.jar" -noverify -jar "C:\Burp\burpsuite_pro_v2024.7.6.jar"
Java HotSpot(TM) 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
WARNING: Unknown module: ALL-UNNAMED--add-opens=java.base/java.lang=ALL-UNNAMED specified to --add-opens
WARNING: package jdk.internal.org.objectweb.asm.Opcodes not in java.base
    ____                      __                    __             __ __
   / __ )__  ___________     / /   ____  ____ _____/ /__  _____   / //_/__  __  ______ ____  ____
  / __  / / / / ___/ __ \   / /   / __ \/ __ `/ __  / _ \/ ___/  / ,< / _ \/ / / / __ `/ _ \/ __ \
 / /_/ / /_/ / /  / /_/ /  / /___/ /_/ / /_/ / /_/ /  __/ /     / /| /  __/ /_/ / /_/ /  __/ / / /
/_____/\__,_/_/  / .___/  /_____/\____/\__,_/\__,_/\___/_/     /_/ |_\___/\__, /\__, /\___/_/ /_/
                /_/                                                      /____//____/
Github: https://github.com/h3110w0r1d-y/BurpLoaderKeygen ????????????
Error: LinkageError occurred while loading main class burp.StartBurp
        java.lang.UnsupportedClassVersionError: burp/StartBurp has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 63.0

C:\Burp>
elin1023 commented 2 months ago

I updated the Java version to 21.0.4 instead of 19 and the install.ps1/bat file works now.