Skip to content

Commit

Permalink
Merge pull request #305101 from fabaff/gtfocli
Browse files Browse the repository at this point in the history
gtfocli: init at 0.0.4
  • Loading branch information
fabaff authored Apr 19, 2024
2 parents 1bfef60 + 7de6e52 commit afd8917
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions pkgs/by-name/gt/gtfocli/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
lib,
buildGoModule,
fetchFromGitHub,
}:

buildGoModule rec {
pname = "gtfocli";
version = "0.0.4";

src = fetchFromGitHub {
owner = "cmd-tools";
repo = "gtfocli";
rev = "refs/tags/${version}";
hash = "sha256-fSk/OyeUffYZOkHXM1m/a9traDxdllYBieMEfsv910Q=";
};

vendorHash = "sha256-yhN2Ve4mBw1HoC3zXYz+M8+2CimLGduG9lGTXi+rPNw=";

ldflags = [
"-s"
"-w"
];

meta = with lib; {
description = "GTFO Command Line Interface for search binaries commands to bypass local security restrictions";
homepage = "https://github.com/cmd-tools/gtfocli";
changelog = "https://github.com/cmd-tools/gtfocli/releases/tag/${version}";
license = licenses.asl20;
maintainers = with maintainers; [ fab ];
mainProgram = "gtfocli";
};
}

0 comments on commit afd8917

Please sign in to comment.