1{
2 lib,
3 asn1crypto,
4 buildPythonPackage,
5 colorama,
6 cryptography,
7 fetchFromGitHub,
8 impacket,
9 pyasn1,
10 pythonOlder,
11}:
12
13buildPythonPackage rec {
14 pname = "masky";
15 version = "0.2.0";
16 format = "setuptools";
17
18 disabled = pythonOlder "3.7";
19
20 src = fetchFromGitHub {
21 owner = "Z4kSec";
22 repo = "Masky";
23 tag = "v${version}";
24 hash = "sha256-npRuszHkxwjJ+B+q8eQywXPd0OX0zS+AfCro4TM83Uc=";
25 };
26
27 propagatedBuildInputs = [
28 asn1crypto
29 colorama
30 cryptography
31 impacket
32 pyasn1
33 ];
34
35 # Module has no tests
36 doCheck = false;
37
38 pythonImportsCheck = [ "masky" ];
39
40 meta = with lib; {
41 description = "Library to remotely dump domain credentials";
42 mainProgram = "masky";
43 homepage = "https://github.com/Z4kSec/Masky";
44 changelog = "https://github.com/Z4kSec/Masky/releases/tag/v${version}";
45 license = licenses.mit;
46 maintainers = with maintainers; [ elasticdog ];
47 };
48}