5 releases

0.1.4 Oct 25, 2021
0.1.3 Jul 26, 2021
0.1.2 Jul 26, 2021
0.1.1 Jul 26, 2021
0.1.0 Jul 12, 2021

#176 in FFI

Custom license

15KB
390 lines

Metasploit Rust Shim

Rust shim for the metasploit-framework

Pre-requisites

  1. Install cargo, the rust toolchain
  2. The rust-script subcommand for cargo (you can install this using cargo install rust-script once you have cargo installed.

To Install

  1. Replace the bridge.rb file located in /lib/msf/core/modules/external/bridge.rb with the file provided in this repo.

  2. Place the example .crs file in ~/.msf4/modules/exploits/, or wherever you'd like to store your modules.

Note: the module file MUST use .crs as the extension, this is how the shim will determine this file. For more information on setting up dependencies for cargo-script check the repo for rust-script

Working:

rust-shim-working

Dependencies

~0.7–1.4MB
~33K SLoC