Rust shim for the metasploit-framework
- Install cargo, the rust toolchain
- The
rust-script
subcommand for cargo (you can install this usingcargo install rust-script
once you have cargo installed.
-
Replace the bridge.rb file located in /lib/msf/core/modules/external/bridge.rb with the file provided in this repo.
-
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