2024-02-10 14:55:35 +00:00
|
|
|
{ lib
|
|
|
|
, fetchzip
|
|
|
|
, stdenvNoCC
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
|
|
pname = "mimikatz";
|
|
|
|
version = "2.2.0-20220919";
|
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://github.com/gentilkiwi/mimikatz/releases/download/${finalAttrs.version}/mimikatz_trunk.zip";
|
|
|
|
hash = "sha256-wmatI/rEMziBdNiA3HE3MJ0ckdpvsD+LdbB7SKOYdI0=";
|
|
|
|
stripRoot = false;
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/windows/mimikatz
|
|
|
|
cp -a * $out/share/windows/mimikatz/
|
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/gentilkiwi/mimikatz";
|
2024-06-07 07:46:46 +00:00
|
|
|
description = "Little tool to play with Windows security";
|
2024-02-10 14:55:35 +00:00
|
|
|
license = with lib.licenses; [ cc-by-40 ];
|
|
|
|
maintainers = with lib.maintainers; [ d3vil0p3r ];
|
|
|
|
platforms = lib.platforms.all;
|
|
|
|
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
|
|
|
};
|
|
|
|
})
|