metasploit: add wrappers for pattern_create/offset

This commit is contained in:
Enno Richter 2021-09-30 21:09:38 +02:00
parent b1c55743b6
commit 2e0dc26070

View File

@ -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