1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, impacket
5, netaddr
6, pypykatz
7}:
8
9buildPythonPackage rec {
10 pname = "lsassy";
11 version = "2.1.3";
12
13 src = fetchFromGitHub {
14 owner = "Hackndo";
15 repo = pname;
16 rev = "v${version}";
17 sha256 = "1zig34ymc1h18gjc2ji0w0711im5sm9xm6nydc01c13yfpvvj1rh";
18 };
19
20 propagatedBuildInputs = [
21 impacket
22 netaddr
23 pypykatz
24 ];
25
26 # Tests require an active domain controller
27 doCheck = false;
28 pythonImportsCheck = [ "lsassy" ];
29
30 meta = with lib; {
31 description = "Python module to extract data from Local Security Authority Subsystem Service (LSASS)";
32 homepage = "https://github.com/Hackndo/lsassy";
33 license = with licenses; [ mit ];
34 maintainers = with maintainers; [ fab ];
35 };
36}