3
0
Fork 0
forked from mirrors/nixpkgs

add thy-hydra: very fast network logon cracker which support many different services

This commit is contained in:
Jaka Hudoklin 2014-09-21 01:50:43 +02:00
parent bc55a057e7
commit 1a87e651e9
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ stdenv, fetchurl, openssl, libidn, ncurses, pcre, libssh }:
with stdenv.lib;
stdenv.mkDerivation rec {
name = "hydra-7.5";
src = fetchurl {
url = "http://www.thc.org/releases/${name}.tar.gz";
sha256 = "1dhavbn2mcm6c2c1qw29ipbpmczax3vhhlxzwn49c8cq471yg4vj";
};
preConfigure = ''
substituteInPlace configure --replace "\$LIBDIRS" "${openssl}/lib ${pcre}/lib ${libssh}/lib"
substituteInPlace configure --replace "\$INCDIRS" "${openssl}/include ${pcre}/include ${libssh}/include"
'';
buildInputs = [ openssl libidn ncurses pcre libssh ];
meta = {
description = "A very fast network logon cracker which support many different services";
license = licenses.agpl3;
homepage = https://www.thc.org/thc-hydra/;
maintainers = with maintainers; [offline];
platforms = with platforms; unix;
};
}

View file

@ -2311,6 +2311,8 @@ let
texstudio = callPackage ../applications/editors/texstudio { };
thc-hydra = callPackage ../tools/security/thc-hydra { };
tiled-qt = callPackage ../applications/editors/tiled-qt { qt = qt4; };
tinc = callPackage ../tools/networking/tinc { };