2021-12-19 16:30:19 +00:00
|
|
|
{ lib
|
|
|
|
, buildGoModule
|
|
|
|
, fetchFromGitHub
|
|
|
|
, libpcap
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "godspeed";
|
|
|
|
version = "unstable-2021-08-27";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "redcode-labs";
|
|
|
|
repo = "GodSpeed";
|
|
|
|
rev = "c02b184ab0fd304d1bd8cbe1566a3d3de727975e";
|
|
|
|
sha256 = "sha256-y/mCfNWe5ShdxEz8IUQ8zUzgVkUy/+5lX6rcJ3r6KoI=";
|
|
|
|
};
|
|
|
|
|
|
|
|
vendorSha256 = "sha256-MCr1ShhkxM9CeSmqqtgAW0qv0QaIPRSOzASj8gt2ZAg=";
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libpcap
|
|
|
|
];
|
|
|
|
|
|
|
|
postFixup = ''
|
|
|
|
mv $out/bin/GodSpeed $out/bin/${pname}
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Manager for reverse shells";
|
|
|
|
homepage = "https://github.com/redcode-labs/GodSpeed";
|
|
|
|
license = with licenses; [ mit ];
|
2021-12-21 08:51:29 +00:00
|
|
|
maintainers = with maintainers; [ fab ] ++ teams.redcodelabs.members;
|
2021-12-19 16:30:19 +00:00
|
|
|
};
|
|
|
|
}
|