Merge pull request #140065 from elohmeier/metasploit

metasploit: add wrappers for pattern_create/offset
This commit is contained in:
Fabian Affolter 2021-10-02 10:55:51 +02:00 committed by GitHub
commit 84408081bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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