Merge pull request #287796 from D3vil0p3r/patch-5
mimikatz: init at 2.2.0-20220919
This commit is contained in:
commit
afa610b882
1 changed files with 31 additions and 0 deletions
31
pkgs/by-name/mi/mimikatz/package.nix
Normal file
31
pkgs/by-name/mi/mimikatz/package.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ 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";
|
||||
description = "A little tool to play with Windows security";
|
||||
license = with lib.licenses; [ cc-by-40 ];
|
||||
maintainers = with lib.maintainers; [ d3vil0p3r ];
|
||||
platforms = lib.platforms.all;
|
||||
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
|
||||
};
|
||||
})
|
Loading…
Reference in a new issue