Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
1.2 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
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 ];
};
}