Merge pull request #119792 from fabaff/traitor

traitor: init at 0.0.3
This commit is contained in:
Sandro 2021-04-18 19:22:26 +02:00 committed by GitHub
commit c954ba9a83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 32 additions and 0 deletions

View 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 ];
};
}

View File

@ -9308,6 +9308,8 @@ in
tradcpp = callPackage ../development/tools/tradcpp { }; tradcpp = callPackage ../development/tools/tradcpp { };
traitor = callPackage ../tools/security/traitor { };
tre = callPackage ../development/libraries/tre { }; tre = callPackage ../development/libraries/tre { };
tremor-rs = callPackage ../tools/misc/tremor-rs { }; tremor-rs = callPackage ../tools/misc/tremor-rs { };