2021-12-06 16:07:01 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, python3
|
|
|
|
}:
|
|
|
|
|
|
|
|
python3.pkgs.buildPythonApplication rec {
|
|
|
|
pname = "certipy";
|
2023-02-09 11:40:11 +00:00
|
|
|
version = "4.3.0";
|
|
|
|
format = "setuptools";
|
2021-12-06 16:07:01 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "ly4k";
|
|
|
|
repo = "Certipy";
|
2023-02-09 11:40:11 +00:00
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
hash = "sha256-vwlWAbA4ExYAPRInhEsjRCNuL2wqMhAmYKO78Vi4OGo=";
|
2021-12-06 16:07:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
|
|
asn1crypto
|
2022-02-21 08:47:16 +00:00
|
|
|
dnspython
|
|
|
|
dsinternals
|
2021-12-06 16:07:01 +00:00
|
|
|
impacket
|
|
|
|
ldap3
|
|
|
|
pyasn1
|
2022-02-21 08:47:16 +00:00
|
|
|
pycryptodome
|
2023-02-09 11:40:11 +00:00
|
|
|
requests_ntlm
|
2021-12-06 16:07:01 +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";
|
2023-02-09 11:40:11 +00:00
|
|
|
changelog = "https://github.com/ly4k/Certipy/releases/tag/${version}";
|
2021-12-06 16:07:01 +00:00
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|