crackmapexec: remove

Unmaintained and does not work with Python >= 3.12
This commit is contained in:
Fabian Affolter 2024-08-11 17:58:43 +02:00
parent 10dc1b23fe
commit de1203f7a0
3 changed files with 1 additions and 67 deletions

View File

@ -1,65 +0,0 @@
{ 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";
};
}

View File

@ -265,6 +265,7 @@ mapAliases ({
connmanPackages = throw "'connmanPackages' was removed and their subpackages/attributes were promoted to top level."; # Added 2023-10-08
containerpilot = throw "'containerpilot' has been removed from nixpkgs, as it was broken and unmaintained"; # Added 2024-06-09
convoy = throw "'convoy' has been removed from nixpkgs, as it was archived upstream"; # Added 2023-12-27
crackmapexec = throw "'crackmapexec' has been removed as it was unmaintained. Use 'netexec' instead"; # 2024-08-11
crda = throw "'crda' has been removed from nixpkgs, as it is needed only for kernels before 4.16"; # Added 2024-02-06
cups-kyodialog3 = cups-kyodialog; # Added 2022-11-12
cvs_fast_export = cvs-fast-export; # Added 2021-06-10

View File

@ -6928,8 +6928,6 @@ with pkgs;
cpufetch = callPackage ../tools/misc/cpufetch { };
crackmapexec = callPackage ../tools/security/crackmapexec { };
crackxls = callPackage ../tools/security/crackxls { };
crd2pulumi = callPackage ../development/tools/crd2pulumi { };