powersploit: init at 3.0.0-unstable-2020-08-22
This commit is contained in:
parent
0d1851c0c9
commit
d37cc3f3e6
1 changed files with 33 additions and 0 deletions
33
pkgs/by-name/po/powersploit/package.nix
Normal file
33
pkgs/by-name/po/powersploit/package.nix
Normal file
|
@ -0,0 +1,33 @@
|
|||
{ 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
|
||||
mkdir -p $out/share/powersploit
|
||||
cp -a * $out/share/powersploit
|
||||
find $out/share -type f -exec chmod -x {} \;
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = {
|
||||
changelog = "https://github.com/PowerShellMafia/PowerSploit/releases/";
|
||||
description = "A PowerShell Post-Exploitation Framework";
|
||||
license = with lib.licenses; [ bsd3 ];
|
||||
maintainers = with lib.maintainers; [ shard7 ];
|
||||
platforms = lib.platforms.all;
|
||||
sourceProvenance = with lib.sourceTypes; [ fromSource ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue