blob: 8123a9967e22c6038496a0cd08e4ea2b5ced0b8c (
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
57
58
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
impacket,
netaddr,
poetry-core,
pypykatz,
pythonOlder,
pythonRelaxDepsHook,
rich,
}:
buildPythonPackage rec {
pname = "lsassy";
version = "3.1.11";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "Hackndo";
repo = "lsassy";
rev = "refs/tags/v${version}";
hash = "sha256-boPFrmPqaHpezxXM3VM50i+n+n+gXkuwP4ErpMpN/AI=";
};
pythonRelaxDeps = [
"impacket"
"netaddr"
"rich"
];
nativeBuildInputs = [ pythonRelaxDepsHook ];
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";
};
}
|