mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 10:12:58 +00:00
24 lines
633 B
Nix
24 lines
633 B
Nix
{ lib, binutils, bundlerApp, bundlerUpdateScript, makeWrapper }:
|
|
|
|
bundlerApp {
|
|
pname = "one_gadget";
|
|
gemdir = ./.;
|
|
exes = [ "one_gadget" ];
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
postBuild = ''
|
|
wrapProgram $out/bin/one_gadget --prefix PATH : ${binutils}/bin
|
|
'';
|
|
|
|
passthru.updateScript = bundlerUpdateScript "one_gadget";
|
|
|
|
meta = with lib; {
|
|
description = "The best tool for finding one gadget RCE in libc.so.6";
|
|
homepage = "https://github.com/david942j/one_gadget";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ artemist nicknovitski ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|