diff options
author | Emily Trau <me@angus.ws> | 2022-08-03 16:02:27 +1000 |
---|---|---|
committer | Emily Trau <me@angus.ws> | 2022-08-07 02:48:49 +1000 |
commit | 4e4028d0d8a21d1a4bc789d8cb9a231f6d29914c (patch) | |
tree | a705d0a4651795c7dc857661b32ac40106e98510 /pkgs/tools/security/padbuster | |
parent | 438b4d640849065b6abf81e8c8775e4fdf9533b3 (diff) |
padbuster: init at 0.3.3
Diffstat (limited to 'pkgs/tools/security/padbuster')
-rw-r--r-- | pkgs/tools/security/padbuster/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/tools/security/padbuster/default.nix b/pkgs/tools/security/padbuster/default.nix new file mode 100644 index 0000000000000..de71010ccba59 --- /dev/null +++ b/pkgs/tools/security/padbuster/default.nix @@ -0,0 +1,34 @@ +{ lib, stdenv, fetchFromGitHub, perl }: + +stdenv.mkDerivation rec { + pname = "padbuster"; + version = "0.3.3"; + + src = fetchFromGitHub { + owner = "AonCyberLabs"; + repo = pname; + rev = "50e4a3e2bf5dfff5699440b3ebc61ed1b5c49bbe"; + sha256 = "VIvZ28MVnTSQru6l8flLVVqIIpxxXD8lCqzH81sPe/U="; + }; + + buildInputs = [ + (perl.withPackages (ps: with ps; [ LWP LWPProtocolHttps CryptSSLeay ])) + ]; + + installPhase = '' + runHook preInstall + + install -Dm755 padBuster.pl $out/bin/padBuster.pl + + runHook postInstall + ''; + + meta = with lib; { + description = "Automated script for performing Padding Oracle attacks"; + homepage = "https://www.gdssecurity.com/l/t.php"; + mainProgram = "padBuster.pl"; + maintainers = with maintainers; [ emilytrau ]; + license = licenses.asl20; + platforms = platforms.all; + }; +} |