1{ lib
2, asn1crypto
3, buildPythonPackage
4, colorama
5, cryptography
6, fetchFromGitHub
7, impacket
8, pyasn1
9, pythonOlder
10}:
11
12buildPythonPackage rec {
13 pname = "masky";
14 version = "0.2.0";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchFromGitHub {
20 owner = "Z4kSec";
21 repo = "Masky";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-npRuszHkxwjJ+B+q8eQywXPd0OX0zS+AfCro4TM83Uc=";
24 };
25
26 propagatedBuildInputs = [
27 asn1crypto
28 colorama
29 cryptography
30 impacket
31 pyasn1
32 ];
33
34 # Module has no tests
35 doCheck = false;
36
37 pythonImportsCheck = [
38 "masky"
39 ];
40
41 meta = with lib; {
42 description = "Library to remotely dump domain credentials";
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}