2014-09-20 23:50:43 +00:00
|
|
|
{ stdenv, fetchurl, openssl, libidn, ncurses, pcre, libssh }:
|
|
|
|
|
|
|
|
with stdenv.lib;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2014-10-12 15:34:41 +00:00
|
|
|
name = "thc-hydra-7.5";
|
2014-09-20 23:50:43 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|