From bac10f202ba3ac18070734b50a4cad58fd259895 Mon Sep 17 00:00:00 2001 From: purpole <101905225+purpole@users.noreply.github.com> Date: Sat, 2 Nov 2024 14:18:33 +0100 Subject: [PATCH 1/2] maintainers: Add purpole --- maintainers/maintainer-list.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 6fd827cd72b9..8d46fd50c9d1 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -17673,6 +17673,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"; From fd8506f99748a18b4f177e240c4782ea1918d097 Mon Sep 17 00:00:00 2001 From: purpole <101905225+purpole@users.noreply.github.com> Date: Sat, 2 Nov 2024 14:14:03 +0100 Subject: [PATCH 2/2] sccmhunter: init at 1.0.6-unstable-2024-11-07 --- pkgs/by-name/sc/sccmhunter/package.nix | 49 ++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 pkgs/by-name/sc/sccmhunter/package.nix 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 ]; + }; +}