about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/security/ntlmrecon/default.nix
blob: 10a564706c9a5dbfe76ae3008b2abf3e17373997 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ lib
, fetchFromGitHub
, python3
}:

python3.pkgs.buildPythonApplication rec {
  pname = "ntlmrecon";
  version = "0.4";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "pwnfoo";
    repo = "NTLMRecon";
    rev = "refs/tags/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";
    mainProgram = "ntlmrecon";
    homepage = "https://github.com/pwnfoo/NTLMRecon";
    changelog = "https://github.com/pwnfoo/NTLMRecon/releases/tag/v-${version}";
    license = with licenses; [ mit ];
    maintainers = with maintainers; [ fab ];
  };
}