about summary refs log tree commit diff
path: root/pkgs/tools/security/kerbrute/default.nix
blob: c020e0e5c4bc2bdee16c6b9e5df6ba56bb724fa7 (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
{ lib, python3, fetchPypi }:

python3.pkgs.buildPythonApplication rec {
  pname = "kerbrute";
  version = "0.0.2";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-ok/yttRSkCaEdV4aM2670qERjgDBll6Oi3L5TV5YEEA=";
  };

  # This package does not have any tests
  doCheck = false;

  propagatedBuildInputs = with python3.pkgs; [
    impacket
  ];

  installChechPhase = ''
    $out/bin/kerbrute --version
  '';

  meta = {
    homepage = "https://github.com/TarlogicSecurity/kerbrute";
    description = "Kerberos bruteforce utility";
    mainProgram = "kerbrute";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ applePrincess ];
  };
}