2024-02-07 01:22:34 +00:00
|
|
|
{ lib
|
|
|
|
, fetchFromGitHub
|
|
|
|
, stdenvNoCC
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenvNoCC.mkDerivation {
|
|
|
|
pname = "powersploit";
|
|
|
|
version = "3.0.0-unstable-2020-08-22";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "PowerShellMafia";
|
|
|
|
repo = "PowerSploit";
|
|
|
|
rev = "d943001a7defb5e0d1657085a77a0e78609be58f";
|
|
|
|
hash = "sha256-xVMCB8siyYc8JI7vjlUdO93jI3Qh054F/4CCZyGe75c=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2024-05-15 15:35:15 +00:00
|
|
|
mkdir -p $out/share/windows/powersploit
|
|
|
|
cp -a * $out/share/windows/powersploit
|
|
|
|
find $out/share/windows -type f -exec chmod -x {} \;
|
2024-02-07 01:22:34 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
changelog = "https://github.com/PowerShellMafia/PowerSploit/releases/";
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "PowerShell Post-Exploitation Framework";
|
2024-02-07 01:22:34 +00:00
|
|
|
license = with lib.licenses; [ bsd3 ];
|
|
|
|
maintainers = with lib.maintainers; [ shard7 ];
|
|
|
|
platforms = lib.platforms.all;
|
|
|
|
sourceProvenance = with lib.sourceTypes; [ fromSource ];
|
|
|
|
};
|
|
|
|
}
|