1、安装jdk11
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew update
brew install openjdk@11
echo 'export PATH="/opt/homebrew/opt/openjdk@11/bin:$PATH"' >> ~/.zshrc
source ~/.zshrc
java -version
openjdk version "11.0.25" 2024-10-15
OpenJDK Runtime Environment Homebrew (build 11.0.25+0)
OpenJDK 64-Bit Server VM Homebrew (build 11.0.25+0, mixed mode)
2、下载Bursuite_2024_11_2.dmz
https://portswigger.net/burp/releases
3、下载注册机
BurpLoaderKeygen.jar
4、安装bp并启动,然后关闭
5、进入bp安装目录把BurpLoaderKeygen.jar拷贝到bp安装目录的app目录下
6、返回到Contents目录,在vmoptions.txt末尾添加
--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:BurpLoaderKeygen.jar
-noverify
6、启动bp查看help-license显示激活成功
7、如果不行就进入bp安装目录的app目录下启动注册机并激活
Java -jar BurpLoaderKeygen.jar