nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at litex 32 lines 823 B view raw
1{ stdenv 2, lib 3, buildGoModule 4, fetchFromGitHub 5}: 6 7buildGoModule rec { 8 pname = "traitor"; 9 version = "0.0.14"; 10 11 src = fetchFromGitHub { 12 owner = "liamg"; 13 repo = pname; 14 rev = "v${version}"; 15 sha256 = "sha256-LQfKdjZaTm5z8DUt6He/RJHbOUCUwP3CV3Fyt5rJIfU="; 16 }; 17 18 vendorSha256 = null; 19 20 meta = with lib; { 21 description = "Automatic Linux privilege escalation"; 22 longDescription = '' 23 Automatically exploit low-hanging fruit to pop a root shell. Traitor packages 24 up a bunch of methods to exploit local misconfigurations and vulnerabilities 25 (including most of GTFOBins) in order to pop a root shell. 26 ''; 27 homepage = "https://github.com/liamg/traitor"; 28 platforms = platforms.linux; 29 license = with licenses; [ mit ]; 30 maintainers = with maintainers; [ fab ]; 31 }; 32}