Merge pull request #124128 from fabaff/gosh
This commit is contained in:
commit
f59e8fec7d
2 changed files with 33 additions and 0 deletions
31
pkgs/tools/security/gosh/default.nix
Normal file
31
pkgs/tools/security/gosh/default.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{ lib
|
||||
, buildGoModule
|
||||
, fetchFromGitHub
|
||||
}:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gosh";
|
||||
# https://github.com/redcode-labs/GoSH/issues/4
|
||||
version = "2020523-${lib.strings.substring 0 7 rev}";
|
||||
rev = "7ccb068279cded1121eacc5a962c14b2064a1859";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "redcode-labs";
|
||||
repo = "GoSH";
|
||||
inherit rev;
|
||||
sha256 = "143ig0lqnkpnydhl8gnfzhg613x4wc38ibdbikkqwfyijlr6sgzd";
|
||||
};
|
||||
|
||||
vendorSha256 = "06j6cj4m0w6n9vl7sxlxpsgk77k941npq9767rdzzgy2srfqlskq";
|
||||
|
||||
runVend = true;
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Reverse/bind shell generator";
|
||||
homepage = "https://github.com/redcode-labs/GoSH";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
|
@ -1619,6 +1619,8 @@ in
|
|||
|
||||
git-credential-gopass = callPackage ../tools/security/gopass/git-credential.nix { };
|
||||
|
||||
gosh = callPackage ../tools/security/gosh { };
|
||||
|
||||
gospider = callPackage ../tools/security/gospider { };
|
||||
|
||||
browserpass = callPackage ../tools/security/browserpass { };
|
||||
|
|
Loading…
Reference in a new issue