depot/third_party/nixpkgs/pkgs/tools/security/traitor/default.nix
Default email bfd56a1002 Project import generated by Copybara.
GitOrigin-RevId: 0a5f5bab0e08e968ef25cff393312aa51a3512cf
2021-04-19 05:05:28 +02:00

30 lines
781 B
Nix

{ lib
, buildGoModule
, fetchFromGitHub
}:
buildGoModule rec {
pname = "traitor";
version = "0.0.3";
src = fetchFromGitHub {
owner = "liamg";
repo = pname;
rev = "v${version}";
sha256 = "0mffh4k87ybl0mpglgi2yfwksygrh62mcmkcmfcbszlh5pagsch1";
};
vendorSha256 = null;
meta = with lib; {
description = "Automatic Linux privilege escalation";
longDescription = ''
Automatically exploit low-hanging fruit to pop a root shell. Traitor packages
up a bunch of methods to exploit local misconfigurations and vulnerabilities
(including most of GTFOBins) in order to pop a root shell.
'';
homepage = "https://github.com/liamg/traitor";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}