hashpump: init at 1.2.0 (#240091)
This commit is contained in:
parent
05a3064ec6
commit
c3332ad377
2 changed files with 38 additions and 0 deletions
36
pkgs/tools/misc/hashpump/default.nix
Normal file
36
pkgs/tools/misc/hashpump/default.nix
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
{ stdenv, fetchFromGitHub, openssl, lib }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
pname = "hashpump";
|
||||||
|
version = "1.2.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "bwall";
|
||||||
|
repo = "HashPump";
|
||||||
|
rev = "v${finalAttrs.version}";
|
||||||
|
hash = "sha256-xL/1os17agwFtdq0snS3ZJzwJhk22ujxfWLH65IMMEM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
makeFlags = [ "INSTALLLOCATION=${placeholder "out"}/bin/" ];
|
||||||
|
|
||||||
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
checkPhase = ''
|
||||||
|
runHook preCheck
|
||||||
|
./hashpump --test
|
||||||
|
runHook postCheck
|
||||||
|
'';
|
||||||
|
|
||||||
|
preInstall = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A tool to exploit the hash length extension attack in various hashing algorithms";
|
||||||
|
homepage = "https://github.com/bwall/HashPump";
|
||||||
|
license = lib.licenses.mit;
|
||||||
|
maintainers = with lib.maintainers; [ t4ccer ];
|
||||||
|
platforms = lib.platforms.linux;
|
||||||
|
};
|
||||||
|
})
|
|
@ -39455,6 +39455,8 @@ with pkgs;
|
||||||
|
|
||||||
gummy = callPackage ../tools/misc/gummy { };
|
gummy = callPackage ../tools/misc/gummy { };
|
||||||
|
|
||||||
|
hashpump = callPackage ../tools/misc/hashpump { };
|
||||||
|
|
||||||
hck = callPackage ../tools/text/hck { };
|
hck = callPackage ../tools/text/hck { };
|
||||||
|
|
||||||
helm = callPackage ../applications/audio/helm { };
|
helm = callPackage ../applications/audio/helm { };
|
||||||
|
|
Loading…
Reference in a new issue