Update install.sh

This commit is contained in:
x!v3r
2024-09-24 19:20:41 +08:00
committed by GitHub
parent c7260be7a5
commit bd20ffc3bd

View File

@@ -6,15 +6,13 @@
# Cloning
echo 'Cloning Xiv3r Burpsuite Professional'
mkdir -p /home/*/
cd /home/*/
git clone https://github.com/xiv3r/Burpsuite-Professional.git
# Download Burpsuite Professional Latest.
echo 'Downloading Burpsuite Professional Latest...'
cd /home/*/Burpsuite-Professional
cd Burpsuite-Professional
mkdir -p /usr/share/burpsuitepro
cp -r /home/*/Burpsuite-Professional/loader.jar /usr/share/burpsuitepro
cp -r loader.jar /usr/share/burpsuitepro
html=$(curl -s https://portswigger.net/burp/releases)
version=$(echo $html | grep -Po '(?<=/burp/releases/professional-community-)[0-9]+\-[0-9]+\-[0-9]+' | head -n 1)
Link="https://portswigger-cdn.net/burp/releases/download?product=pro&type=Jar&version=&"