2021-06-01 10:57:12 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "gosh";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "1.0.0";
|
2021-06-01 10:57:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "redcode-labs";
|
|
|
|
repo = "GoSH";
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
hash = "sha256-h4WqaN2okAeaU/+0fs8zLYDtyQLuLkCDdGrkGz8rdhg=";
|
2021-06-01 10:57:12 +00:00
|
|
|
};
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
vendorHash = "sha256-ITz6nkhttG6bsIZLsp03rcbEBHUQ7pFl4H6FOHTXIU4=";
|
2021-06-01 10:57:12 +00:00
|
|
|
|
|
|
|
subPackages = [ "." ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Reverse/bind shell generator";
|
|
|
|
homepage = "https://github.com/redcode-labs/GoSH";
|
|
|
|
license = licenses.mit;
|
2021-12-19 01:06:50 +00:00
|
|
|
maintainers = with maintainers; [ fab ] ++ teams.redcodelabs.members;
|
2022-04-27 09:35:20 +00:00
|
|
|
mainProgram = "GoSH";
|
2021-06-01 10:57:12 +00:00
|
|
|
};
|
|
|
|
}
|