2021-05-23 12:38:49 +02:00
|
|
|
{ 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";
|
|
|
|
};
|
|
|
|
|
2022-01-01 04:40:41 +01:00
|
|
|
vendorSha256 = "sha256-ITz6nkhttG6bsIZLsp03rcbEBHUQ7pFl4H6FOHTXIU4=";
|
2021-05-23 12:38:49 +02:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Reverse/bind shell generator";
|
|
|
|
homepage = "https://github.com/redcode-labs/GoSH";
|
|
|
|
license = licenses.mit;
|
2021-12-18 14:07:49 +01:00
|
|
|
maintainers = with maintainers; [ fab ] ++ teams.redcodelabs.members;
|
2022-04-01 21:34:55 +02:00
|
|
|
mainProgram = "GoSH";
|
2021-05-23 12:38:49 +02:00
|
|
|
};
|
|
|
|
}
|