2021-11-08 22:28:12 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "certipy";
|
2022-02-28 02:42:42 +00:00
|
|
|
version = "2.0.9";
|
2021-11-08 22:28:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ly4k";
|
|
|
|
repo = "Certipy";
|
2022-02-20 14:26:01 +00:00
|
|
|
rev = version;
|
2022-02-28 02:42:42 +00:00
|
|
|
hash = "sha256-84nGRKZ0UlMDAZ1Wo5Hgy9XSAyEh0Tio9+3OZVFZG5k=";
|
2021-11-08 22:28:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
asn1crypto
|
2022-02-20 14:26:01 +00:00
|
|
|
dnspython
|
|
|
|
dsinternals
|
2021-11-08 22:28:12 +00:00
|
|
|
impacket
|
|
|
|
ldap3
|
|
|
|
pyasn1
|
2022-02-20 14:26:01 +00:00
|
|
|
pycryptodome
|
2021-11-08 22:28:12 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|