diff --git a/pkgs/by-name/sc/sccmhunter/package.nix b/pkgs/by-name/sc/sccmhunter/package.nix new file mode 100644 index 000000000000..62ced9ce2af8 --- /dev/null +++ b/pkgs/by-name/sc/sccmhunter/package.nix @@ -0,0 +1,49 @@ +{ + lib, + fetchFromGitHub, + python3Packages, +}: +python3Packages.buildPythonApplication rec { + pname = "sccmhunter"; + version = "1.0.6-unstable-2024-11-07"; + pyproject = true; + + src = fetchFromGitHub { + owner = "garrettfoster13"; + repo = "sccmhunter"; + rev = "33c23f0d71e48127a0b03b06a019148df71049ef"; + hash = "sha256-mU3GKgX8gcuJ+YT3xL0/dDds34uhFD+Rc3m15W7zoKc="; + }; + + build-system = with python3Packages; [ + setuptools + ]; + + dependencies = with python3Packages; [ + 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.rev}/changelog.md"; + license = lib.licenses.mit; + mainProgram = "sccmhunter.py"; + maintainers = with lib.maintainers; [ purpole ]; + }; +}