nixpkgs/pkgs/development/tools/misc/one_gadget/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
633 B
Nix
Raw Normal View History

2023-09-17 18:28:00 +00:00
{ lib, binutils, bundlerApp, bundlerUpdateScript, makeWrapper }:
2019-01-28 20:05:02 +00:00
bundlerApp {
pname = "one_gadget";
gemdir = ./.;
exes = [ "one_gadget" ];
2023-09-17 18:28:00 +00:00
nativeBuildInputs = [ makeWrapper ];
postBuild = ''
wrapProgram $out/bin/one_gadget --prefix PATH : ${binutils}/bin
'';
passthru.updateScript = bundlerUpdateScript "one_gadget";
2019-01-28 20:05:02 +00:00
meta = with lib; {
description = "The best tool for finding one gadget RCE in libc.so.6";
homepage = "https://github.com/david942j/one_gadget";
2019-01-28 20:05:02 +00:00
license = licenses.mit;
maintainers = with maintainers; [ artemist nicknovitski ];
2019-01-28 20:05:02 +00:00
platforms = platforms.unix;
};
}