From e81c9b78ff6ee120e3995bd3f0686c5482e65da7 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Fri, 25 Sep 2020 18:15:58 +0200 Subject: [PATCH] thc-ipv6: init at 3.6 --- pkgs/tools/security/thc-ipv6/default.nix | 31 ++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 pkgs/tools/security/thc-ipv6/default.nix diff --git a/pkgs/tools/security/thc-ipv6/default.nix b/pkgs/tools/security/thc-ipv6/default.nix new file mode 100644 index 00000000000000..1bc7bc4ce6b7bf --- /dev/null +++ b/pkgs/tools/security/thc-ipv6/default.nix @@ -0,0 +1,31 @@ +{ stdenv, fetchFromGitHub, libpcap, openssl, libnetfilter_queue, libnfnetlink }: +stdenv.mkDerivation rec { + pname = "thc-ipv6"; + version = "3.6"; + + src = fetchFromGitHub { + owner = "vanhauser-thc"; + repo = pname; + rev = "v${version}"; + sha256 = "1xjg30z0wzm3xvccv9cgh000i1m79p3m8f0b3s741k0mzyrk8lln"; + }; + + buildInputs = [ + libpcap + openssl + libnetfilter_queue + libnfnetlink + ]; + + makeFlags = [ + "PREFIX=$(out)" + ]; + + meta = with stdenv.lib; { + description = "IPv6 attack toolkit"; + homepage = "https://github.com/vanhauser-thc/thc-ipv6"; + maintainers = with maintainers; [ ajs124 ]; + platforms = platforms.linux; + license = licenses.agpl3Only; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ae19e77cadb87f..bb9704c9225599 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -7329,6 +7329,8 @@ in thc-hydra = callPackage ../tools/security/thc-hydra { }; + thc-ipv6 = callPackage ../tools/security/thc-ipv6 { }; + theharvester = callPackage ../tools/security/theharvester { }; inherit (nodePackages) thelounge;