about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-04-22 17:14:46 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-04-22 17:14:46 +0200
commit279b943182c44ec75a4ce396d19a524a2b78705f (patch)
treeb84b5e0d344a9e05fcfcb10cb8371429af40d882
parent155101e356be577a362bbdabce95efc32d10e55b (diff)
downloadnixlib-279b943182c44ec75a4ce396d19a524a2b78705f.tar
nixlib-279b943182c44ec75a4ce396d19a524a2b78705f.tar.gz
nixlib-279b943182c44ec75a4ce396d19a524a2b78705f.tar.bz2
nixlib-279b943182c44ec75a4ce396d19a524a2b78705f.tar.lz
nixlib-279b943182c44ec75a4ce396d19a524a2b78705f.tar.xz
nixlib-279b943182c44ec75a4ce396d19a524a2b78705f.tar.zst
nixlib-279b943182c44ec75a4ce396d19a524a2b78705f.zip
ntlmrecon: init at 0.4
-rw-r--r--pkgs/tools/security/ntlmrecon/default.nix35
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 37 insertions, 0 deletions
diff --git a/pkgs/tools/security/ntlmrecon/default.nix b/pkgs/tools/security/ntlmrecon/default.nix
new file mode 100644
index 000000000000..d24d4ed4d683
--- /dev/null
+++ b/pkgs/tools/security/ntlmrecon/default.nix
@@ -0,0 +1,35 @@
+{ lib
+, fetchFromGitHub
+, python3
+}:
+
+python3.pkgs.buildPythonApplication rec {
+  pname = "ntlmrecon";
+  version = "0.4";
+  disabled = python3.pythonOlder "3.6";
+
+  src = fetchFromGitHub {
+    owner = "pwnfoo";
+    repo = "NTLMRecon";
+    rev = "v-${version}";
+    sha256 = "0rrx49li2l9xlcax84qxjf60nbzp3fgq77c36yqmsp0pc9i89ah6";
+  };
+
+  propagatedBuildInputs = with python3.pkgs; [
+    colorama
+    iptools
+    requests
+    termcolor
+  ];
+
+  # Project has no tests
+  doCheck = false;
+  pythonImportsCheck = [ "ntlmrecon" ];
+
+  meta = with lib; {
+    description = "Information enumerator for NTLM authentication enabled web endpoints";
+    homepage = "https://github.com/pwnfoo/NTLMRecon";
+    license = with licenses; [ mit ];
+    maintainers = with maintainers; [ fab ];
+  };
+}
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index dd92369eaba2..659c14a4e9eb 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -6928,6 +6928,8 @@ in
 
   notable = callPackage ../applications/misc/notable { };
 
+  ntlmrecon = callPackage ../tools/security/ntlmrecon { };
+
   nvchecker = with python3Packages; toPythonApplication nvchecker;
 
   miller = callPackage ../tools/text/miller { };