Merge pull request #138028 from applePrincess/add-kerbrute
This commit is contained in:
commit
6dd2392ab3
3 changed files with 33 additions and 2 deletions
|
@ -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
|
||||
|
|
29
pkgs/tools/security/kerbrute/default.nix
Normal file
29
pkgs/tools/security/kerbrute/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue