mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
traitor: init at 0.0.3
This commit is contained in:
parent
96a4f3f97c
commit
1c038b1c5a
30
pkgs/tools/security/traitor/default.nix
Normal file
30
pkgs/tools/security/traitor/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ 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 ];
|
||||
};
|
||||
}
|
@ -9138,6 +9138,8 @@ in
|
||||
|
||||
tradcpp = callPackage ../development/tools/tradcpp { };
|
||||
|
||||
traitor = callPackage ../tools/security/traitor { };
|
||||
|
||||
tre = callPackage ../development/libraries/tre { };
|
||||
|
||||
tremor-rs = callPackage ../tools/misc/tremor-rs { };
|
||||
|
Loading…
Reference in New Issue
Block a user