blob: 0a72fdff89aaeb8cd7f44a036f22c8200f1a749a (
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
59
60
61
62
63
64
65
|
{ lib
, fetchFromGitHub
, python3
}:
python3.pkgs.buildPythonApplication rec {
pname = "crackmapexec";
version = "5.4.0";
format = "pyproject";
src = fetchFromGitHub {
owner = "Porchetta-Industries";
repo = "CrackMapExec";
rev = "refs/tags/v${version}";
hash = "sha256-V2n840QyLofTfQE4vtFYGfQwl65sklp+KfNS9RCLvI8=";
};
nativeBuildInputs = with python3.pkgs; [
poetry-core
];
propagatedBuildInputs = with python3.pkgs; [
aioconsole
aardwolf
beautifulsoup4
dsinternals
impacket
lsassy
masky
msgpack
neo4j
paramiko
pylnk3
pypsrp
pywerview
requests
requests-ntlm
termcolor
terminaltables
xmltodict
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace '{ git = "https://github.com/mpgn/impacket.git", branch = "master" }' '"x"'
'';
pythonRelaxDeps = true;
# Project has no tests
doCheck = false;
pythonImportsCheck = [
"cme"
];
meta = with lib; {
description = "Tool for pentesting networks";
homepage = "https://github.com/Porchetta-Industries/CrackMapExec";
changelog = "https://github.com/Porchetta-Industries/CrackMapExec/releases/tag/v${version}";
license = with licenses; [ bsd2 ];
maintainers = with maintainers; [ fab ];
mainProgram = "cme";
};
}
|