1 { lib, fetchurl, jdk, buildFHSEnv, unzip, makeDesktopItem, proEdition ? false }:
3 version = "2024.1.1.4";
5 product = if proEdition then {
7 productDesktop = "Burp Suite Professional Edition";
8 hash = "sha256-jJUTsNF7Jy2VbFBIW7ha/ty9ZwVyVX1cTKNZJgD7zg4=";
10 productName = "community";
11 productDesktop = "Burp Suite Community Edition";
12 hash = "sha256-VkrI1M4lCdCuQypHSd2W5X6LyqLUhnbKZKMVj0w4THE=";
16 name = "burpsuite.jar";
18 "https://portswigger-cdn.net/burp/releases/download?product=${product.productName}&version=${version}&type=Jar"
19 "https://portswigger.net/burp/releases/download?product=${product.productName}&version=${version}&type=Jar"
20 "https://web.archive.org/web/https://portswigger.net/burp/releases/download?product=${product.productName}&version=${version}&type=Jar"
26 description = "An integrated platform for performing security testing of web applications";
27 desktopItem = makeDesktopItem {
31 desktopName = product.productDesktop;
32 comment = description;
33 categories = [ "Development" "Security" "System" ];
38 inherit pname version;
40 runScript = "${jdk}/bin/java -jar ${src}";
42 targetPkgs = pkgs: with pkgs; [
69 extraInstallCommands = ''
70 mkdir -p "$out/share/pixmaps"
71 ${lib.getBin unzip}/bin/unzip -p ${src} resources/Media/icon64${product.productName}.png > "$out/share/pixmaps/burpsuite.png"
72 cp -r ${desktopItem}/share/applications $out/share
78 Burp Suite is an integrated platform for performing security testing of web applications.
79 Its various tools work seamlessly together to support the entire testing process, from
80 initial mapping and analysis of an application's attack surface, through to finding and
81 exploiting security vulnerabilities.
83 homepage = "https://portswigger.net/burp/";
84 sourceProvenance = with sourceTypes; [ binaryBytecode ];
85 license = licenses.unfree;
86 platforms = jdk.meta.platforms;
88 maintainers = with maintainers; [ arcayr bennofs ];
89 mainProgram = "burpsuite";