diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 5b7e54b22198..b7842f942bc5 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -17984,6 +17984,12 @@ githubId = 5636; name = "Steve Purcell"; }; + purpole = { + email = "mail@purpole.io"; + github = "purpole"; + githubId = 101905225; + name = "David Schneider"; + }; purrpurrn = { email = "scrcpynovideoaudiocodecraw+nixpkgs@gmail.com"; github = "purrpurrn"; 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 ]; + }; +}