blob: f85a1f134eba46db2a72d900a513da3822a2b2db (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
impacket,
netaddr,
poetry-core,
pypykatz,
pythonOlder,
rich,
}:
buildPythonPackage rec {
pname = "lsassy";
version = "3.1.12";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Hackndo";
repo = "lsassy";
rev = "refs/tags/v${version}";
hash = "sha256-Idel52GAzir+SVgKfMU+e8Z0EkMf+PBdIcaQd0o8qJE=";
};
pythonRelaxDeps = [
"impacket"
"netaddr"
"rich"
];
build-system = [ poetry-core ];
dependencies = [
impacket
netaddr
pypykatz
rich
];
# 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";
changelog = "https://github.com/Hackndo/lsassy/releases/tag/v${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
mainProgram = "lsassy";
};
}
|