From 2e0dc26070c33a2a84275ea0fef827f5b1b88c75 Mon Sep 17 00:00:00 2001 From: Enno Richter Date: Thu, 30 Sep 2021 21:09:38 +0200 Subject: [PATCH] metasploit: add wrappers for pattern_create/offset --- pkgs/tools/security/metasploit/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/security/metasploit/default.nix b/pkgs/tools/security/metasploit/default.nix index afd852f106e5..0d9216b95f2d 100644 --- a/pkgs/tools/security/metasploit/default.nix +++ b/pkgs/tools/security/metasploit/default.nix @@ -40,6 +40,11 @@ in stdenv.mkDerivation rec { done ) + makeWrapper ${env}/bin/bundle $out/bin/msf-pattern_create \ + --add-flags "exec ${ruby}/bin/ruby $out/share/msf/tools/exploit/pattern_create.rb" + + makeWrapper ${env}/bin/bundle $out/bin/msf-pattern_offset \ + --add-flags "exec ${ruby}/bin/ruby $out/share/msf/tools/exploit/pattern_offset.rb" ''; # run with: nix-shell maintainers/scripts/update.nix --argstr path metasploit