Files
nixpkgs/pkgs/by-name/sc/sccmhunter/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

52 lines
1.2 KiB
Nix

{
lib,
fetchFromGitHub,
# Pinned to Python 3.12 because future-1.0.0 is not supported for Python 3.13:
# error: future-1.0.0 not supported for interpreter python3.13
python312Packages,
}:
python312Packages.buildPythonApplication rec {
pname = "sccmhunter";
version = "1.1.10";
pyproject = true;
src = fetchFromGitHub {
owner = "garrettfoster13";
repo = "sccmhunter";
tag = "v${version}";
hash = "sha256-657xwD5Sk8vU3MSGj7Yuu/lh7SRS25VFk/igKhq1pks=";
};
build-system = with python312Packages; [
setuptools
];
dependencies = with python312Packages; [
cmd2
cryptography
impacket
ldap3
pandas
pyasn1
pyasn1-modules
requests
requests-ntlm
requests-toolbelt
rich
tabulate
typer
urllib3
pyopenssl
pycryptodome
];
meta = {
description = "Post exploitation tool to identify and attack SCCM related assets in an Active Directory domain";
homepage = "https://github.com/garrettfoster13/sccmhunter";
changelog = "https://github.com/garrettfoster13/sccmhunter/blob/${src.tag}/changelog.md";
license = lib.licenses.mit;
mainProgram = "sccmhunter.py";
maintainers = with lib.maintainers; [ purpole ];
};
}