Files
nixpkgs/pkgs/by-name/ad/adcskiller/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

47 lines
1.0 KiB
Nix

{
lib,
fetchFromGitHub,
python3,
coercer,
}:
python3.pkgs.buildPythonApplication {
pname = "adcskiller";
version = "0-unstable-2024-05-19";
format = "other";
src = fetchFromGitHub {
owner = "grimlockx";
repo = "ADCSKiller";
rev = "d74bfea91f24a09df74262998d60f213609b45c6";
hash = "sha256-ekyGDM9up3h6h21uLEstgn33x+KngX4tOLMhL4B6BA8=";
};
buildInputs = [
coercer
];
propagatedBuildInputs = with python3.pkgs; [
ldap3
certipy
];
installPhase = ''
runHook preInstall
install -vD $pname.py $out/bin/$pname
substituteInPlace $out/bin/$pname --replace '"Coercer"' '"coercer"'
runHook postInstall
'';
meta = {
description = "Python-based tool designed to automate the process of discovering and exploiting Active Directory Certificate Services (ADCS) vulnerabilities";
homepage = "https://github.com/grimlockx/ADCSKiller";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ exploitoverload ];
mainProgram = "ADCSKiller";
};
}