crackmapexec: 5.2.2 -> 5.3.0
This commit is contained in:
parent
50fc8533e1
commit
7c3a458ef5
1 changed files with 7 additions and 15 deletions
|
@ -1,19 +1,18 @@
|
||||||
{ lib
|
{ lib
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
|
||||||
, python3
|
, python3
|
||||||
}:
|
}:
|
||||||
|
|
||||||
python3.pkgs.buildPythonApplication rec {
|
python3.pkgs.buildPythonApplication rec {
|
||||||
pname = "crackmapexec";
|
pname = "crackmapexec";
|
||||||
version = "5.2.2";
|
version = "5.3.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "byt3bl33d3r";
|
owner = "byt3bl33d3r";
|
||||||
repo = "CrackMapExec";
|
repo = "CrackMapExec";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-IgD8RjwVEoEXmnHU3DR3wzUdJDWIbFw9sES5qYg30a8=";
|
hash = "sha256-wPS1PCvR9Ffp0r9lZZkFATt+i+eR5ap16HzLWDZbJKI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
|
@ -23,6 +22,7 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
|
|
||||||
propagatedBuildInputs = with python3.pkgs; [
|
propagatedBuildInputs = with python3.pkgs; [
|
||||||
aioconsole
|
aioconsole
|
||||||
|
aardwolf
|
||||||
beautifulsoup4
|
beautifulsoup4
|
||||||
dsinternals
|
dsinternals
|
||||||
impacket
|
impacket
|
||||||
|
@ -40,21 +40,13 @@ python3.pkgs.buildPythonApplication rec {
|
||||||
xmltodict
|
xmltodict
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = [
|
postPatch = ''
|
||||||
# Switch to poetry-core, https://github.com/byt3bl33d3r/CrackMapExec/pull/580
|
substituteInPlace pyproject.toml \
|
||||||
(fetchpatch {
|
--replace '{ git = "https://github.com/mpgn/impacket.git", branch = "master" }' '"x"'
|
||||||
name = "switch-to-poetry-core.patch";
|
'';
|
||||||
url = "https://github.com/byt3bl33d3r/CrackMapExec/commit/e5c6c2b5c7110035b34ea7a080defa6d42d21dd4.patch";
|
|
||||||
hash = "sha256-5SpoQD+uSYLM6Rdq0/NTbyEv4RsBUuawNNsknS71I9M=";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonRelaxDeps = true;
|
pythonRelaxDeps = true;
|
||||||
|
|
||||||
pythonRemoveDeps = [
|
|
||||||
"bs4"
|
|
||||||
];
|
|
||||||
|
|
||||||
# Project has no tests
|
# Project has no tests
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue