nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 46 lines 1.0 kB view raw
1{ 2 lib, 3 fetchFromGitHub, 4 python3, 5 coercer, 6}: 7 8python3.pkgs.buildPythonApplication { 9 pname = "adcskiller"; 10 version = "0-unstable-2024-05-19"; 11 pyproject = false; 12 13 src = fetchFromGitHub { 14 owner = "grimlockx"; 15 repo = "ADCSKiller"; 16 rev = "d74bfea91f24a09df74262998d60f213609b45c6"; 17 hash = "sha256-ekyGDM9up3h6h21uLEstgn33x+KngX4tOLMhL4B6BA8="; 18 }; 19 20 buildInputs = [ 21 coercer 22 ]; 23 24 propagatedBuildInputs = with python3.pkgs; [ 25 ldap3 26 certipy 27 ]; 28 29 installPhase = '' 30 runHook preInstall 31 32 install -vD $pname.py $out/bin/$pname 33 34 substituteInPlace $out/bin/$pname --replace '"Coercer"' '"coercer"' 35 36 runHook postInstall 37 ''; 38 39 meta = { 40 description = "Python-based tool designed to automate the process of discovering and exploiting Active Directory Certificate Services (ADCS) vulnerabilities"; 41 homepage = "https://github.com/grimlockx/ADCSKiller"; 42 license = lib.licenses.mit; 43 maintainers = with lib.maintainers; [ exploitoverload ]; 44 mainProgram = "ADCSKiller"; 45 }; 46}