diff options
author | Jaka Hudoklin <jakahudoklin@gmail.com> | 2014-09-21 01:50:43 +0200 |
---|---|---|
committer | Jaka Hudoklin <jakahudoklin@gmail.com> | 2014-09-21 01:50:43 +0200 |
commit | 1a87e651e9ea964b6fa1428619be349d3a1dacd6 (patch) | |
tree | 4634f240b4425fa3db3d70afacbf831a76f87246 /pkgs/tools | |
parent | bc55a057e73feaf541d1bc193bfd6c0819f82ecc (diff) |
add thy-hydra: very fast network logon cracker which support many different services
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/security/thc-hydra/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/tools/security/thc-hydra/default.nix b/pkgs/tools/security/thc-hydra/default.nix new file mode 100644 index 0000000000000..71f7d25155f33 --- /dev/null +++ b/pkgs/tools/security/thc-hydra/default.nix @@ -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; + }; +} |