summaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
authorMartin Weinelt <mweinelt@users.noreply.github.com>2020-10-08 02:20:06 +0200
committerGitHub <noreply@github.com>2020-10-08 02:20:06 +0200
commit75bf9558a4b6ff0f3139b47c14124ceb100c0c32 (patch)
tree93159f2b1a30a7c8f40cdb9dbb4d86746a502ed0 /pkgs
parent02e2b63aa2ad8d8c49b90d253eb62235006047ef (diff)
parente81c9b78ff6ee120e3995bd3f0686c5482e65da7 (diff)
Merge pull request #98771 from helsinki-systems/init/thc-ipv6
thc-ipv6: init at 3.6
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/tools/security/thc-ipv6/default.nix31
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/security/thc-ipv6/default.nix b/pkgs/tools/security/thc-ipv6/default.nix
new file mode 100644
index 000000000000..1bc7bc4ce6b7
--- /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 ab0a1cf5c2f5..2219c7830f86 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -7353,6 +7353,8 @@ in
thc-hydra = callPackage ../tools/security/thc-hydra { };
+ thc-ipv6 = callPackage ../tools/security/thc-ipv6 { };
+
theharvester = callPackage ../tools/security/theharvester { };
inherit (nodePackages) thelounge;