40 lines
790 B
Nix
40 lines
790 B
Nix
{ lib
|
|
, fetchFromGitHub
|
|
, python3
|
|
}:
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
pname = "certipy";
|
|
version = "2.0.9";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ly4k";
|
|
repo = "Certipy";
|
|
rev = version;
|
|
hash = "sha256-84nGRKZ0UlMDAZ1Wo5Hgy9XSAyEh0Tio9+3OZVFZG5k=";
|
|
};
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
asn1crypto
|
|
dnspython
|
|
dsinternals
|
|
impacket
|
|
ldap3
|
|
pyasn1
|
|
pycryptodome
|
|
];
|
|
|
|
# Project has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"certipy"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Tool to enumerate and abuse misconfigurations in Active Directory Certificate Services";
|
|
homepage = "https://github.com/ly4k/Certipy";
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|