Merge pull request #138028 from applePrincess/add-kerbrute

This commit is contained in:
Sandro 2021-09-21 22:05:59 +02:00 committed by GitHub
commit 6dd2392ab3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ lib, buildPythonPackage, fetchPypi, flask, ldapdomaindump, pycryptodomex, pyasn1, pyopenssl, chardet }:
{ lib, buildPythonPackage, fetchPypi, flask, ldapdomaindump, pycryptodomex, pyasn1, pyopenssl, chardet, setuptools }:
buildPythonPackage rec {
pname = "impacket";
@ -9,7 +9,7 @@ buildPythonPackage rec {
sha256 = "1c1be8a50cdbe3cffc566ba64f552b1b28bcc79b7a406b833956b49c56d77184";
};
propagatedBuildInputs = [ flask ldapdomaindump pycryptodomex pyasn1 pyopenssl chardet ];
propagatedBuildInputs = [ flask ldapdomaindump pycryptodomex pyasn1 pyopenssl chardet setuptools ];
# fail with:
# RecursionError: maximum recursion depth exceeded

View file

@ -0,0 +1,29 @@
{ lib, python3 }:
python3.pkgs.buildPythonApplication rec {
pname = "kerbrute";
version = "0.0.2";
src = python3.pkgs.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";
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [ applePrincess ];
};
}

View file

@ -24087,6 +24087,8 @@ with pkgs;
keepass-otpkeyprov = callPackage ../applications/misc/keepass-plugins/otpkeyprov { };
kerbrute = callPackage ../tools/security/kerbrute { };
exrdisplay = callPackage ../applications/graphics/exrdisplay { };
exrtools = callPackage ../applications/graphics/exrtools { };