From 194cf247953e3c7e3aa983dc2fb4a6890f3252e6 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 11 Jan 2021 09:13:50 +0100 Subject: [PATCH] python3Packages.lsassy: init at 2.1.3 --- .../python-modules/lsassy/default.nix | 37 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 6 +++ 2 files changed, 43 insertions(+) create mode 100644 pkgs/development/python-modules/lsassy/default.nix diff --git a/pkgs/development/python-modules/lsassy/default.nix b/pkgs/development/python-modules/lsassy/default.nix new file mode 100644 index 000000000000..6b1d5ec2bb4c --- /dev/null +++ b/pkgs/development/python-modules/lsassy/default.nix @@ -0,0 +1,37 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, impacket +, netaddr +, pypykatz +, pytestCheckHook +}: + +buildPythonPackage rec { + pname = "lsassy"; + version = "2.1.3"; + + src = fetchFromGitHub { + owner = "Hackndo"; + repo = pname; + rev = "v${version}"; + sha256 = "1zig34ymc1h18gjc2ji0w0711im5sm9xm6nydc01c13yfpvvj1rh"; + }; + + propagatedBuildInputs = [ + impacket + netaddr + pypykatz + ]; + + # Tests require an active domain controller + doCheck = false; + pythonImportsCheck = [ "lsassy" ]; + + meta = with lib; { + description = "Python module to extract data from Local Security Authority Subsystem Service (LSASS)"; + homepage = "https://github.com/Hackndo/lsassy"; + license = with licenses; [ mit ]; + maintainers = with maintainers; [ fab ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index a3afe73c4db4..2d2d53aedf2f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -3711,6 +3711,8 @@ in { lsi = callPackage ../development/python-modules/lsi { }; + lsassy = callPackage ../development/python-modules/lsassy { }; + ludios_wpull = callPackage ../development/python-modules/ludios_wpull { }; luftdaten = callPackage ../development/python-modules/luftdaten { }; @@ -4074,6 +4076,8 @@ in { msgpack-numpy = callPackage ../development/python-modules/msgpack-numpy { }; + msldap = callPackage ../development/python-modules/msldap { }; + mss = callPackage ../development/python-modules/mss { }; msrestazure = callPackage ../development/python-modules/msrestazure { }; @@ -5612,6 +5616,8 @@ in { pypugjs = callPackage ../development/python-modules/pypugjs { }; + pypykatz = callPackage ../development/python-modules/pypykatz { }; + pyqrcode = callPackage ../development/python-modules/pyqrcode { }; pyqt4 = callPackage ../development/python-modules/pyqt/4.x.nix { inherit (pkgs) pkgconfig; };