1{
2 lib,
3 buildPythonPackage,
4 cryptography,
5 fetchPypi,
6 impacket,
7 lxml,
8 poetry-core,
9 pyasn1,
10 pythonOlder,
11}:
12
13buildPythonPackage rec {
14 pname = "dploot";
15 version = "3.1.3";
16 pyproject = true;
17
18 disabled = pythonOlder "3.10";
19
20 src = fetchPypi {
21 inherit pname version;
22 hash = "sha256-xCw4mAP9CUtcTeQQ//4zI0BcQUmTai9hvYSZ9F9k4rc=";
23 };
24
25 pythonRelaxDeps = [
26 "cryptography"
27 "lxml"
28 "pyasn1"
29 ];
30
31 build-system = [ poetry-core ];
32
33 dependencies = [
34 impacket
35 cryptography
36 pyasn1
37 lxml
38 ];
39
40 pythonImportsCheck = [ "dploot" ];
41
42 # No tests
43 doCheck = false;
44
45 meta = with lib; {
46 description = "DPAPI looting remotely in Python";
47 homepage = "https://github.com/zblurx/dploot";
48 changelog = "https://github.com/zblurx/dploot/releases/tag/${version}";
49 license = licenses.mit;
50 maintainers = with maintainers; [ vncsb ];
51 mainProgram = "dploot";
52 };
53}