-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a960cf1
Showing
5 changed files
with
141 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Burp-Suite-Pro | ||
|
||
# Burp Suite Professional Installation steps for Windows | ||
--> Downloaded [windows.ps1](./windows.ps1) file to C:\Burp. | ||
Make new directory "Burp" in C Drive for faster access. | ||
--> Open Powershell in the created directory and execute below command to set Script Execution Policy. | ||
Set-ExecutionPolicy -ExecutionPolicy bypass -Scope process | ||
--> Now Execute Windows_Setup.ps1 file in Powershell to Complete Installation. | ||
./Windows_Setup.ps1 | ||
--> Right click on `burpsuitepro.bat` and select to Send to Desktop Create Shortcut | ||
--> For Start Menu Entry, copy the created file in Desktop to | ||
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ | ||
|
||
|
||
# Burp Suite Professional Installation steps for Kali-Linux | ||
curl -sL https://github.com/sudoshell/bsp/raw/e31c944/linux.sh | sudo bash | ||
|
||
# Burp Suite Pro Activation Steps | ||
1. Modify License String like "license to xxxxxxxx" | ||
2. Copy License key from loader.jar(Keygenerator) and paste in Burp Suite Pro and click Next. | ||
3. Select Manual Activation Option on your bottom Right in Burp Suite Pro. | ||
4. Copy License Request from BurpSuite_Pro and paste in Keygenerator. | ||
5. Copy license response from Keygenerator and paste in Burp Suite Pro, then next and Done. | ||
|
||
# Executing Burp Suite Profession after Activation | ||
--> Windows :-: You can start Burp Suite Professional from Start Menu. | ||
--> Kali Linux :-: You can start Burp Suite Professional from Start Menu. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[Desktop Entry] | ||
Name=Burp Professional | ||
Encoding=UTF-8 | ||
Exec=/usr/share/burpsuite/burpsuitepro.sh | ||
Icon=kali-burpsuite | ||
StartupNotify=false | ||
Terminal=false | ||
Type=Application | ||
Categories=03-webapp-analysis;03-06-web-application-proxies; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
#!/bin/bash | ||
OR='\e[38;5;202m' | ||
GR='\e[32m' | ||
NL='\e[0m' | ||
WH='\e[97m' | ||
BL='\e[34m' | ||
GH="https://github.com/sudoshell/bsp/raw/main" | ||
# # Check if Java JDK 19 is installed | ||
# if ! command -v javac >/dev/null 2>&1; then | ||
# echo "Java JDK 19 is not installed, installing" | ||
# mkdir -p /usr/local/java | ||
# mkdir -p /usr/local/java/jdk19 | ||
# curl -L https://download.oracle.com/java/19/archive/jdk-19_linux-x64_bin.tar.gz -o jdk19.tar.gz | ||
# tar -xf jdk19.tar.gz -C /usr/local/java/jdk19 --strip-components=1 | ||
# rm jdk19.tar.gz | ||
# echo "export JAVA_HOME=/usr/local/java/jdk19" | sudo tee -a /etc/environment | ||
# echo "export PATH=$PATH:$JAVA_HOME/bin" | sudo tee -a /etc/environment #by @ricardev2023 | ||
# sudo update-alternatives --install /usr/bin/java java /usr/local/java/jdk19/bin/java 1 | ||
# sudo update-alternatives --install /usr/bin/javac javac /usr/local/java/jdk19/bin/javac 1 | ||
# source /etc/profile | ||
# echo "Java JDK 19 downloaded and installed successfully" | ||
# fi | ||
|
||
# # Check if Java JRE 8 is installed | ||
# if ! command -v java >/dev/null 2>&1; then | ||
# jre8_url=https://javadl.oracle.com/webapps/download/AutoDL?BundleId=247938_0ae14417abb444ebb02b9815e2103550 | ||
# sudo mkdir -p /usr/local/java/jre8 | ||
# sudo curl -L -o /usr/local/java/jre8/jre8.tar.gz $jre8_url | ||
# sudo tar -xzf /usr/local/java/jre8/jre8.tar.gz -C /usr/local/java/jre8 | ||
# sudo rm /usr/local/java/jre8/jre8.tar.gz | ||
# sudo update-alternatives --install /usr/bin/java java /usr/local/java/jre8/jre1.8.0_361/bin/java 1 | ||
# sudo update-alternatives --install /usr/bin/javac javac /usr/local/java/jre8/jre1.8.0_361/bin/javac 1 | ||
# sudo update-alternatives --set java /usr/local/java/jre8/jre1.8.0_361/bin/java 1 | ||
# sudo update-alternatives --set javac /usr/local/java/jre8/jre1.8.0_361/bin/javac 1 | ||
# echo "Java JRE 8 downloaded and installed successfully" | ||
# fi | ||
|
||
# Download Burp Suite Profesional Latet Version | ||
echo 'Downloading Burp Suite Professional ....' | ||
sudo mkdir -p /usr/share/burpsuite | ||
cd /usr/share/burpsuite/ | ||
Link="$GH/loader.jar" | ||
sudo wget -c "$Link" -O loader.jar --quiet --show-progress | ||
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&version=&type=jar" | ||
echo $version | ||
wget -c "$Link" -O burpsuite_pro.jar --quiet --show-progress | ||
sleep 2 | ||
# Execute Burp Suite Professional with Keyloader | ||
echo 'Executing Burp Suite Professional with Keyloader' | ||
sudo 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.jar" > burpsuitepro.sh | ||
sudo chmod 755 burpsuitepro.sh | ||
# execute Keygenerator | ||
echo 'Starting Keygenerator' | ||
java -jar loader.jar | ||
echo 'Creating Desktop Entries' | ||
cd /usr/share/applications/ | ||
sudo wget "$GH/burp.desktop" -O burp-professional.desktop --quiet --show-progress |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Set Wget Progress to Silent, Becuase it slows down Downloading by 50x | ||
echo "Setting Wget Progress to Silent, Becuase it slows down Downloading by 50x`n" | ||
$ProgressPreference = 'SilentlyContinue' | ||
|
||
# Check JDK-18 or 19 Availability or Download JDK-18 or 19 | ||
$jdk19 = Get-WmiObject -Class Win32_Product -filter "Vendor='Oracle Corporation'" |where Caption -clike "Java(TM) SE Development Kit 19*" | ||
if (!($jdk19)){ | ||
echo "`t`tDownnloading Java JDK-19 ...." | ||
wget "https://download.oracle.com/java/19/archive/jdk-19_windows-x64_bin.exe" -O jdk-19.exe | ||
echo "`n`t`tJDK-19 Downloaded, lets start the Installation process" | ||
start -wait jdk-19.exe | ||
rm jdk-19.exe | ||
}else{ | ||
echo "Required JDK-19 is Installed" | ||
$jdk19 | ||
} | ||
|
||
# Check JRE-8 Availability or Download JRE-8 | ||
$jre8 = Get-WmiObject -Class Win32_Product -filter "Vendor='Oracle Corporation'" |where Caption -clike "Java 8 Update *" | ||
if (!($jre8)){ | ||
echo "`n`t`tDownloading Java JRE ...." | ||
wget "https://javadl.oracle.com/webapps/download/AutoDL?BundleId=247947_0ae14417abb444ebb02b9815e2103550" -O jre-8.exe | ||
echo "`n`t`tJRE-8 Downloaded, lets start the Installation process" | ||
start -wait jre-8.exe | ||
rm jre-8.exe | ||
}else{ | ||
echo "`n`nRequired JRE-8 is Installed`n" | ||
$jre8 | ||
} | ||
|
||
# Downloading Burp Suite Professional | ||
echo "`n`t`tDownloading Latest Burp Suite Professional ...." | ||
$version = (Invoke-WebRequest -Uri "https://portswigger.net/burp/releases/community/latest" -UseBasicParsing).Links.href | Select-String -Pattern "product=pro&version=*" | Select-Object -First 1 | ForEach-Object { [regex]::Match($_, '\d+\.\d+\.\d+').Value } | ||
wget "https://portswigger-cdn.net/burp/releases/download?product=pro&version=&type=jar" -O "burpsuite_pro_v$version.jar" | ||
echo "`nBurp Suite Professional is Downloaded.`n" | ||
|
||
# Creating Burp.bat file with command for execution | ||
$path = "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`"" | ||
$path | add-content -path burpsuitepro.bat | ||
echo "`nburpsuitepro.bat file is created" | ||
|
||
# Lets Activate Burp Suite Professional with keygenerator and Keyloader | ||
echo "Reloading Environment Variables ...." | ||
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") | ||
echo "`n`nStarting Keygenerator ...." | ||
start-process java.exe -argumentlist "-jar loader.jar" |