Compare commits

37 Commits

Author SHA1 Message Date
rff ald
50287e78ee Merge pull request #54 from sammhansen/main
feat: add flake to simplify installation on NixOS
2025-06-13 09:45:11 +08:00
Hansen
2d07fc197d docs(README): add nixos installation guide 2025-06-12 03:46:17 +03:00
Hansen
588bc033b0 feat: add nix flake 2025-06-12 03:43:51 +03:00
rff ald
bdf9712ef2 Update README.md 2025-06-03 05:24:37 +08:00
rff ald
39ab12ed1a Update README.md 2025-06-03 05:19:02 +08:00
xiv3r
aa0a848b25 Update README.md 2025-05-07 13:52:39 +08:00
xiv3r
b52b0a4f62 Update README.md 2025-05-07 13:48:33 +08:00
xiv3r
48635150ce Update update.sh 2025-05-07 13:46:11 +08:00
xiv3r
8dcbf08d54 Update README.md 2025-04-19 16:47:20 +08:00
xiv3r
e5632b2554 Update install.ps1 2025-04-10 07:31:39 +08:00
xiv3r
68815af267 Update install.sh 2025-03-29 08:52:19 +08:00
xiv3r
7e104e5687 Update update.sh 2025-03-26 20:36:55 +08:00
xiv3r
439d960ab4 Update README.md 2025-03-25 15:37:52 +08:00
xiv3r
a48327fc82 Update README.md 2025-03-25 15:28:08 +08:00
xiv3r
3d1e7a4ffd Update install.sh 2025-03-11 06:28:54 +08:00
xiv3r
776d8d04f3 Update install.sh 2025-03-11 06:28:09 +08:00
xiv3r
ec11aae4af Update install.sh 2025-03-11 06:25:13 +08:00
xiv3r
caec77c8f0 Update install.sh 2025-03-11 05:35:11 +08:00
xiv3r
a8c746b43a Updated to 2025.1.4 2025-03-11 05:15:02 +08:00
xiv3r
e5d5486317 version=2025.1.4 2025-03-11 04:51:52 +08:00
xiv3r
eaeff8250d Merge pull request #28 from ruban-s/main
auto download latest without specific version
2025-03-11 04:47:00 +08:00
ruban-s
ef5aa1fd5d auto download latest without specific version 2025-03-10 16:20:52 +05:30
xiv3r
f6a4319e2d Updated to 2025.1.1 2025-02-25 19:11:28 +08:00
xiv3r
8f78768282 Updated to 2025.1.1 2025-02-25 19:10:44 +08:00
xiv3r
f9c180b2a5 Update install.ps1 2025-02-11 16:42:23 +08:00
xiv3r
5cbff51363 add openjdk-22 & 23-jre 2025-01-27 08:11:40 +08:00
xiv3r
23218244f7 Update burpsuitepro v2024.12.1 2025-01-27 07:27:59 +08:00
xiv3r
822922b3bf Update Burpsuitepro v2024.11.2 2025-01-19 07:14:35 +08:00
xiv3r
92119b67a1 Update install.sh 2025-01-19 07:09:56 +08:00
xiv3r
6f709dab09 Update install.sh 2025-01-19 07:06:14 +08:00
xiv3r
858c4b25e2 Merge pull request #22 from rabin-thami/main
Made A change to download latest version always
2025-01-19 07:01:01 +08:00
rabin-thami
df54e208e8 auto download latest version of burpsuite 2025-01-18 22:39:24 +05:45
rabin-thami
fa87c4c11d Always install latest version of BurpSuite 2025-01-18 22:14:10 +05:45
xiv3r
c3b0ab5a9e Update install.sh 2025-01-10 08:08:01 +08:00
xiv3r
97fedeb226 Update install.sh 2025-01-10 08:07:19 +08:00
xiv3r
d1ccac1449 Update install.sh 2025-01-10 08:06:37 +08:00
xiv3r
9f043cde32 Update README.md 2025-01-10 08:03:18 +08:00
7 changed files with 284 additions and 58 deletions

108
README.md
View File

@@ -1,40 +1,50 @@
<p align="center"> <img src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fxiv3r%2FBurpsuite-Professional&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=%F0%9F%91%81%EF%B8%8F+++%F0%9F%91%81%EF%B8%8F&edge_flat=false">
![Screenshot_2024-09-19_17_45_09](https://github.com/user-attachments/assets/873ef98a-48e0-445b-b5dc-eb5959ad5b34)
# <h1 align="center"> Burpsuite Professional v2024 latest </h1>
# <h1 align="center">Burpsuite Professional v2025 latest</h1>
<p align="center"> Burp Suite Professional is the web security tester's toolkit of choice. Use it to automate repetitive testing tasks - then dig deeper with its expert-designed manual and semi-automated security testing tools. Burp Suite Professional can help you to test for OWASP Top 10 vulnerabilities - as well as the very latest hacking techniques. Advanced manual and automated features empower users to find lurking vulnerabilities more quickly. Burp Suite is designed and used by the industry's best.</p>
<h1 align="center">
<h3 align="center">
[Overview](https://portswigger.net/burp/pro)
</h1>
</h3>
<br></br>
<h1 align="center"> Linux Installation </h1>
<br></br>
- ### Java Version [ stable: openjdk-21-jre ]
# Linux Installation
```sh
sudo update-alternatives --config java
```
- ### Auto Install
```sh
wget -qO- https://raw.githubusercontent.com/xiv3r/Burpsuite-Professional/main/install.sh | sudo sh
wget -qO- https://raw.githubusercontent.com/xiv3r/Burpsuite-Professional/main/install.sh | sudo bash
```
- ### Run
## Run
```sh
burpsuitepro
```
<details><summary>
- ### Update [Optional]
## Update
</summary>
> optional
```sh
cd && rm -rf Burpsuite-Professional && wget -qO- https://raw.githubusercontent.com/xiv3r/Burpsuite-Professional/refs/heads/main/update.sh | sudo sh
cd
```
- ### Setup Licenses
```
rm -rf Burpsuite-Professional && wget -qO- https://raw.githubusercontent.com/xiv3r/Burpsuite-Professional/refs/heads/main/update.sh | sudo bash
```
</details>
<details><summary>
## Java Version
</summary>
> select the default java version
```sh
sudo update-alternatives --config java
```
</details>
## Setup Licenses
<div align="center">
@@ -43,15 +53,60 @@ https://github.com/xiv3r/Burpsuite-Professional/assets/117867334/c25831a4-68a2-4
Note: Copy the license from loader to the burpsuite > manual activation > copy burpsuite request key to loader request > copy response key to the burpsuite.
- ### Create a Launcher (xfce)
<br>
right click the desktop -> create a launcher name it Burpsuite Professional, add command `burpsuitepro` and select burpsuite community icon.
## Shortcut Launcher - (xfce)
right click the desktop -> create a launcher name it Burpsuite Professional, add command `burpsuitepro` and select burpsuite community icon.
<div align="center">
<img width="500" height="500" src="https://github.com/xiv3r/Burpsuite-Professional/blob/main/Launcher.jpg">
</div>
# <h1 align="center"> Windows Installation</h1>
---------
# NixOS Installation
## Add this repo's flake to your flake inputs
```
# flake.nix
{
# ...
inputs = {
burpsuitepro = {
type = "github";
owner = "xiv3r";
repo = "Burpsuite-Professional";
inputs.nixpkgs.follows = "nixpkgs";
};
};
# ...
}
```
## Installing the package provided by the flake
### You can install it with either `environment.systemPackages` or `home.packages`
> With `environment.systemPackages` (nixosModules)
```
{ inputs, ... }: {
environment.systemPackages = [
inputs.burpsuitepro.packages.${system}.default
];
}
```
> With `home.packages` (home-manager)
```
{ inputs, ... }: {
home.packages = [
inputs.burpsuitepro.packages.${system}.default
];
}
```
NOTE: `loader.jar` is symlinked to `burpsuite.jar` so burpsuite recognizes the license keys. You can access the `loader` command from the terminal only
# Windows Installation
<br>
@@ -86,14 +141,9 @@ Note: Copy the license from loader to the burpsuite > manual activation > copy b
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
<h1 align="center" >
<details><summary>Credits 👇</summary>
<details><summary>Credit</summary>
* Loader.jar 👉 [h3110w0r1d-y](https://github.com/h3110w0r1d-y/BurpLoaderKeygen)
* Modified 👉 [cyb3rzest](https://github.com/cyb3rzest/Burp-Suite-Pro)
* Script 👉 [cyb3rzest](https://github.com/cyb3rzest/Burp-Suite-Pro)
</details>
</h1>

118
default.nix Normal file
View File

@@ -0,0 +1,118 @@
{
lib,
pkgs,
buildFHSEnv,
fetchurl,
jdk,
makeDesktopItem,
unzip,
}: let
version = "2025.1.1";
productName = "pro";
productDesktop = "BurpSuite Professional";
burpHash = "sha256-17COQ9deYkzmaXBbg1arD3BQY7l3WZ9FakLXzTxgmr8=";
burpSrc = fetchurl {
name = "burpsuite.jar";
urls = [
"https://portswigger-cdn.net/burp/releases/download?product=${productName}&version=${version}&type=Jar"
"https://portswigger.net/burp/releases/download?product=${productName}&version=${version}&type=Jar"
"https://web.archive.org/web/https://portswigger.net/burp/releases/download?product=${productName}&version=${version}&type=Jar"
];
hash = burpHash;
};
loaderSrc = ./.;
pname = "burpsuitepro";
description = "An integrated platform for performing security testing of web applications";
desktopItem = makeDesktopItem {
name = "burpsuitepro";
exec = pname;
icon = pname;
desktopName = productDesktop;
comment = description;
categories = [
"Development"
"Security"
"System"
];
};
in
buildFHSEnv {
inherit pname version;
runScript = "${jdk}/bin/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:${loaderSrc}/loader.jar -noverify -jar ${burpSrc} &";
targetPkgs = pkgs:
with pkgs; [
alsa-lib
at-spi2-core
cairo
cups
dbus
expat
glib
gtk3
gtk3-x11
jython
libcanberra-gtk3
libdrm
udev
libxkbcommon
libgbm
nspr
nss
pango
xorg.libX11
xorg.libxcb
xorg.libXcomposite
xorg.libXdamage
xorg.libXext
xorg.libXfixes
xorg.libXrandr
];
extraInstallCommands = ''
mkdir -p $out/share/pixmaps
mkdir -p $out/share
${lib.getBin unzip}/bin/unzip -p ${burpSrc} resources/Media/icon64${productName}.png > $out/share/pixmaps/burpsuitepro.png
cp ${burpSrc} $out/share/burpsuite_pro_v${version}.jar
cp ${loaderSrc}/loader.jar $out/share/loader.jar
# Create loader executable
mkdir -p $out/bin
echo "#!${pkgs.bash}/bin/bash" > $out/bin/loader
echo "\"${jdk}/bin/java\" -jar \"$out/share/loader.jar\" \"\$@\"" >> $out/bin/loader
chmod +x $out/bin/loader
cp -r ${desktopItem}/share/applications $out/share
'';
meta = with lib; {
inherit description;
longDescription = ''
Burp Suite is an integrated platform for performing security testing of web applications.
Its various tools work seamlessly together to support the entire testing process, from
initial mapping and analysis of an application's attack surface, through to finding and
exploiting security vulnerabilities.
'';
homepage = "https://github.com/sammhansen/Burpsuite-Professional.git";
changelog =
"https://portswigger.net/burp/releases/professional-community-"
+ replaceStrings ["."] ["-"] version;
sourceProvenance = with sourceTypes; [binaryBytecode];
license = licenses.unfree;
platforms = jdk.meta.platforms;
hydraPlatforms = [];
maintainers = with maintainers; [
bennofs
fab
];
mainProgram = "burpsuite";
};
}

27
flake.lock generated Normal file
View File

@@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1749285348,
"narHash": "sha256-frdhQvPbmDYaScPFiCnfdh3B/Vh81Uuoo0w5TkWmmjU=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "3e3afe5174c561dee0df6f2c2b2236990146329f",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

27
flake.nix Normal file
View File

@@ -0,0 +1,27 @@
{
description = "A nixos flake for burpsuite pro";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs = {
self,
nixpkgs,
}: let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
in {
packages.${system} = {
burpsuitepro =
pkgs.callPackage ./default.nix {
};
default = self.packages.${system}.burpsuitepro;
};
};
}

View File

@@ -3,7 +3,7 @@ echo "Setting Wget Progress to Silent, Becuase it slows down Downloading by 50x`
$ProgressPreference = 'SilentlyContinue'
# Check JDK-21 Availability or Download JDK-21
$jdk19 = Get-WmiObject -Class Win32_Product -filter "Vendor='Oracle Corporation'" |where Caption -clike "Java(TM) SE Development Kit 21*"
$jdk21 = Get-WmiObject -Class Win32_Product -filter "Vendor='Oracle Corporation'" |where Caption -clike "Java(TM) SE Development Kit 21*"
if (!($jdk21)){
echo "`t`tDownnloading Java JDK-21 ...."
wget "https://download.oracle.com/java/21/archive/jdk-21_windows-x64_bin.exe" -O jdk-21.exe
@@ -29,9 +29,12 @@ if (!($jre8)){
}
# Downloading Burp Suite Professional
echo "`n`t`tDownloading Latest Burp Suite Professional..."
$version = "2024.11.1"
Invoke-WebRequest -Uri "https://portswigger-cdn.net/burp/releases/download?product=pro&version=$version&type=Jar" `
$version = "latest"
# Invoke-WebRequest -Uri "https://portswigger-cdn.net/burp/releases/download?product=pro&version=$version&type=Jar" `
## Without Specific version it can auto downlaod latest version
Invoke-WebRequest -Uri "https://portswigger-cdn.net/burp/releases/download?product=pro&type=Jar" `
-OutFile "burpsuite_pro_v$version.jar"
echo "`nBurp Suite Professional is Downloaded.`n"
@@ -50,10 +53,19 @@ add-content Burp-Suite-Pro.vbs "WshShell.Run chr(34) & `"$pwd\Burp.bat`" & Chr(3
add-content Burp-Suite-Pro.vbs "Set WshShell = Nothing"
echo "`nBurp-Suite-Pro.vbs file is created."
# Download loader if it not exists
if (!(Test-Path loader.jar)){
echo "`nDownloading Loader ...."
Invoke-WebRequest -Uri "https://github.com/xiv3r/Burpsuite-Professional/raw/refs/heads/main/loader.jar" -OutFile loader.jar
echo "`nLoader is Downloaded"
}else{
echo "`nLoader is already Downloaded"
}
# 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"
echo "`n`nStarting Burp Suite Professional"
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:"loader.jar" -noverify -jar "burpsuite_pro_v$version.jar"
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:"loader.jar" -noverify -jar "burpsuite_pro_v$version.jar"

View File

@@ -2,25 +2,24 @@
# Installing Dependencies
echo "Installing Dependencies..."
sudo apt install git wget openjdk-21-jre -y
sudo apt update
sudo apt install git axel openjdk-21-jre openjdk-22-jre openjdk-23-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="2024.11.1"
# Download Burpsuite Professional
echo "Downloading Burpsuite Professional Latest..."
version=2025
url="https://portswigger-cdn.net/burp/releases/download?product=pro&type=Jar"
axel "$url" -o "burpsuite_pro_v$version.jar"
echo "Downloading Burpsuite Professional v$version ..."
wget "$Link" -O burpsuite_pro_v$version.jar --quiet --show-progress
# Execute Key Generator.
# Execute Key Generator
echo "Starting Key loader.jar..."
(java -jar loader.jar) &
# Execute Burp Suite Professional
# Execute Burpsuite 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

View File

@@ -2,36 +2,29 @@
# 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
sudo apt install git axel openjdk-21-jre openjdk-22-jre openjdk-23-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="2024.11.1"
# Download Burpsuite Professional
echo "Downloading Burpsuite Professional Latest..."
version=2025
url="https://portswigger-cdn.net/burp/releases/download?product=pro&type=Jar"
axel "$url" -o "burpsuite_pro_v$version.jar"
echo "Downloading Burpsuite Professional v$version ..."
wget "$Link" -O burpsuite_pro_v$version.jar --quiet --show-progress
# Execute Key Generator.
# Execute Key Generator
echo "Starting Key loader.jar..."
(java -jar loader.jar) &
# Execute Burp Suite Professional
# Execute Burpsuite 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