python311Packages.certipy-ad: make it usable as module
This commit is contained in:
parent
b7a9deb5bd
commit
f5dc7d877b
@ -1,13 +1,25 @@
|
||||
{ lib
|
||||
, asn1crypto
|
||||
, buildPythonPackage
|
||||
, dnspython
|
||||
, dsinternals
|
||||
, fetchFromGitHub
|
||||
, python3
|
||||
, impacket
|
||||
, ldap3
|
||||
, pyasn1
|
||||
, pycryptodome
|
||||
, pyopenssl
|
||||
, pythonOlder
|
||||
, requests_ntlm
|
||||
}:
|
||||
|
||||
python3.pkgs.buildPythonApplication rec {
|
||||
pname = "certipy";
|
||||
buildPythonPackage rec {
|
||||
pname = "certipy-ad";
|
||||
version = "4.4.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "ly4k";
|
||||
repo = "Certipy";
|
||||
@ -21,11 +33,12 @@ python3.pkgs.buildPythonApplication rec {
|
||||
--replace "pyasn1==0.4.8" "pyasn1"
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = with python3.pkgs; [
|
||||
propagatedBuildInputs = [
|
||||
asn1crypto
|
||||
dnspython
|
||||
dsinternals
|
||||
impacket
|
||||
pyopenssl
|
||||
ldap3
|
||||
pyasn1
|
||||
pycryptodome
|
||||
@ -40,7 +53,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tool to enumerate and abuse misconfigurations in Active Directory Certificate Services";
|
||||
description = "Library and CLI tool to enumerate and abuse misconfigurations in Active Directory Certificate Services";
|
||||
homepage = "https://github.com/ly4k/Certipy";
|
||||
changelog = "https://github.com/ly4k/Certipy/releases/tag/${version}";
|
||||
license = with licenses; [ mit ];
|
@ -3181,7 +3181,7 @@ with pkgs;
|
||||
|
||||
certigo = callPackage ../tools/admin/certigo { };
|
||||
|
||||
certipy = callPackage ../tools/security/certipy { };
|
||||
certipy = with python3Packages; toPythonApplication certipy-ad;
|
||||
|
||||
catcli = python3Packages.callPackage ../tools/filesystems/catcli { };
|
||||
|
||||
|
@ -1705,6 +1705,8 @@ self: super: with self; {
|
||||
|
||||
certipy = callPackage ../development/python-modules/certipy { };
|
||||
|
||||
certipy-ad = callPackage ../development/python-modules/certipy-ad { };
|
||||
|
||||
certomancer = callPackage ../development/python-modules/certomancer { };
|
||||
|
||||
certvalidator = callPackage ../development/python-modules/certvalidator { };
|
||||
|
Loading…
Reference in New Issue
Block a user