girsh: init at 0.41

This commit is contained in:
Fabian Affolter 2023-05-21 16:50:11 +02:00
parent b7a9deb5bd
commit 4d26725ab9
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "girsh";
version = "0.41";
src = fetchFromGitHub {
owner = "nodauf";
repo = "Girsh";
rev = "refs/tags/v${version}";
hash = "sha256-MgzIBag0Exoh0TXW/AD0lbSOj7PVkMeVYQ8v5jdCgAs=";
};
vendorHash = "sha256-8NPFohguMX/X1khEPF+noLBNe/MUoPpXS2PN6SiotL8=";
ldflags = [
"-s"
"-w"
];
postInstall = ''
mv $out/bin/src $out/bin/$pname
'';
meta = with lib; {
description = "Automatically spawn a reverse shell fully interactive for Linux or Windows victim";
homepage = "https://github.com/nodauf/Girsh";
changelog = "https://github.com/nodauf/Girsh/releases/tag/v${version}";
license = licenses.gpl2Only;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -5015,6 +5015,8 @@ with pkgs;
gir-rs = callPackage ../development/tools/gir { };
girsh = callPackage ../tools/networking/girsh { };
gist = callPackage ../tools/text/gist { };
gitjacker = callPackage ../tools/security/gitjacker { };