blob: de71010ccba5909e3ae9b0fc2a96007b30d0ea57 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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;
};
}
|