mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
3d1e82b6ce
It's in the description of the package: "Automatic Linux privilege escalation".
33 lines
823 B
Nix
33 lines
823 B
Nix
{ stdenv
|
|
, lib
|
|
, buildGoModule
|
|
, fetchFromGitHub
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "traitor";
|
|
version = "0.0.14";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "liamg";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-LQfKdjZaTm5z8DUt6He/RJHbOUCUwP3CV3Fyt5rJIfU=";
|
|
};
|
|
|
|
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";
|
|
platforms = platforms.linux;
|
|
license = with licenses; [ mit ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|