about summary refs log tree commit diff
path: root/pkgs/tools/security/silenthound
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2022-09-20 10:59:34 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2022-09-20 10:59:34 +0200
commit575d83db506213021948b7a4530b579883c35eac (patch)
tree9f1fa4a1521928c0dc87614ffa45db89f1968e94 /pkgs/tools/security/silenthound
parent634ccbcbc784b6bfb95f74bda587efce6d1c7780 (diff)
silenthound: init at unstable-2022-09-02
Diffstat (limited to 'pkgs/tools/security/silenthound')
-rw-r--r--pkgs/tools/security/silenthound/default.nix43
1 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/tools/security/silenthound/default.nix b/pkgs/tools/security/silenthound/default.nix
new file mode 100644
index 0000000000000..d1a86adf01894
--- /dev/null
+++ b/pkgs/tools/security/silenthound/default.nix
@@ -0,0 +1,43 @@
+{ lib
+, fetchFromGitHub
+, python3
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "silenthound";
+  version = "unstable-2022-09-02";
+  format = "other";
+
+  src = fetchFromGitHub {
+    owner = "layer8secure";
+    repo = "SilentHound";
+    rev = "44d361f6c95b79bd848603c8050af86db3d072b0";
+    hash = "sha256-6JcU6FIE+9fsMawI1RSNQyx9ubjxmchEKmeg6/kmI4s=";
+  };
+
+  propagatedBuildInputs = with python3.pkgs; [
+    colorama
+    ldap
+  ];
+
+  dontBuild = true;
+
+  installPhase = ''
+    runHook preInstall
+
+    install -vD $pname.py $out/bin/$pname
+
+    runHook postInstall
+  '';
+
+  # Only script available
+  doCheck = false;
+
+  meta = with lib; {
+    description = "Tool to enumerate an Active Directory Domain";
+    homepage = "https://github.com/layer8secure/SilentHound";
+    # Unknown license, https://github.com/layer8secure/SilentHound/issues/1
+    license = licenses.unfree;
+    maintainers = with maintainers; [ fab ];
+  };
+}