From 22f80bc3f4c6047d7b19b950b5dbc568ebcd8683 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 26 Dec 2025 10:41:34 +0100 Subject: [PATCH] pywhisker: init at 0.1.0-unstable-2025-09-16 Tool for Shadow Credentials attacks https://github.com/ShutdownRepo/pywhisker --- pkgs/by-name/py/pywhisker/package.nix | 44 +++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 pkgs/by-name/py/pywhisker/package.nix diff --git a/pkgs/by-name/py/pywhisker/package.nix b/pkgs/by-name/py/pywhisker/package.nix new file mode 100644 index 000000000000..afcee1978bfb --- /dev/null +++ b/pkgs/by-name/py/pywhisker/package.nix @@ -0,0 +1,44 @@ +{ + lib, + fetchFromGitHub, + python3, +}: + +python3.pkgs.buildPythonApplication { + pname = "pywhisker"; + version = "0.1.0-unstable-2025-09-16"; + pyproject = true; + + src = fetchFromGitHub { + owner = "ShutdownRepo"; + repo = "pywhisker"; + rev = "dc35dba57bb4ad594f052d6598a855d192a37a3f"; + hash = "sha256-dXr/Vb7h+ZiO5VeOEx3tfXUq8sldrRofK5ENJDZcAb0="; + }; + + build-system = with python3.pkgs; [ setuptools ]; + + dependencies = with python3.pkgs; [ + cryptography + dsinternals + impacket + ldap3 + ldapdomaindump + pyasn1 + rich + six + ]; + + pythonImportsCheck = [ "pywhisker" ]; + + # Project has no tests + doCheck = false; + + meta = { + description = "Tool for Shadow Credentials attacks"; + homepage = "https://github.com/ShutdownRepo/pywhisker"; + license = lib.licenses.gpl3Only; + maintainers = with lib.maintainers; [ fab ]; + mainProgram = "pywhisker"; + }; +}