-
Notifications
You must be signed in to change notification settings - Fork 127
/
Copy pathupdate.sh
38 lines (25 loc) · 1.33 KB
/
update.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
# Remove old files
echo "Removing Old Files..."
sudo rm -rf /bin/burpsuitepro
# Installing Dependencies
echo "Installing Dependencies..."
sudo apt update
sudo apt install git wget openjdk-21-jre -y
# Cloning
git clone https://github.com/xiv3r/Burpsuite-Professional.git
cd Burpsuite-Professional
# Download Burpsuite Professional Latest.
Link="https://portswigger-cdn.net/burp/releases/download?product=pro&version=2024.11.1&type=Jar"
version=$(curl -s https://portswigger.net/burp/releases/professional/latest | grep -o '[0-9]\+-[0-9]\+-[0-9]\+' | head -1 | tr '-' '.')
echo "Downloading Burpsuite Professional v$version ..."
wget "$Link" -O burpsuite_pro_v$version.jar --quiet --show-progress
# Execute Key Generator.
echo "Starting Key loader.jar..."
(java -jar loader.jar) &
# Execute Burp Suite Professional
echo "Executing Burpsuite Professional..."
echo "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:$(pwd)/loader.jar -noverify -jar $(pwd)/burpsuite_pro_v$version.jar &" > burpsuitepro
chmod +x burpsuitepro
cp burpsuitepro /bin/burpsuitepro
(./burpsuitepro)