2019-02-26 12:45:54 +01:00
|
|
|
{ stdenv, fetchurl, jre, runtimeShell }:
|
2016-10-01 14:26:34 +02:00
|
|
|
|
|
|
|
let
|
2020-02-13 10:33:26 +01:00
|
|
|
version = "2020.1";
|
2016-10-01 14:26:34 +02:00
|
|
|
jar = fetchurl {
|
|
|
|
name = "burpsuite.jar";
|
|
|
|
url = "https://portswigger.net/Burp/Releases/Download?productId=100&version=${version}&type=Jar";
|
2020-02-13 10:33:26 +01:00
|
|
|
sha256 = "12awfy0f8fyqjc0kza1gkmdx1g8bniw1xqaps2dhjimi6s0lq5jx";
|
2016-10-01 14:26:34 +02:00
|
|
|
};
|
|
|
|
launcher = ''
|
2019-02-26 12:45:54 +01:00
|
|
|
#!${runtimeShell}
|
2016-10-01 14:26:34 +02:00
|
|
|
exec ${jre}/bin/java -jar ${jar} "$@"
|
|
|
|
'';
|
|
|
|
in stdenv.mkDerivation {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "burpsuite";
|
|
|
|
inherit version;
|
2016-10-01 14:26:34 +02:00
|
|
|
buildCommand = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
echo "${launcher}" > $out/bin/burpsuite
|
|
|
|
chmod +x $out/bin/burpsuite
|
|
|
|
'';
|
|
|
|
|
2017-12-05 23:20:11 +01:00
|
|
|
preferLocalBuild = true;
|
|
|
|
|
2016-10-01 14:26:34 +02:00
|
|
|
meta = {
|
|
|
|
description = "An integrated platform for performing security testing of web applications";
|
|
|
|
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.
|
|
|
|
'';
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://portswigger.net/burp/";
|
2016-10-01 14:26:34 +02:00
|
|
|
downloadPage = "https://portswigger.net/burp/freedownload";
|
|
|
|
license = [ stdenv.lib.licenses.unfree ];
|
|
|
|
platforms = jre.meta.platforms;
|
|
|
|
hydraPlatforms = [];
|
2020-01-25 22:16:59 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ bennofs ];
|
2016-10-01 14:26:34 +02:00
|
|
|
};
|
|
|
|
}
|