docs.rs failed to build rust-metasploit-1.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
rust-metasploit-1.2.0
rs-metasploit
Overview
Rust Metasploit is a rust library used to make communication with Metasploit RPC Server.This module uses reqwest and rmp dependencies for communication.
Example
Let's have a glance at a simple code
use Client;
let client= new;
print;
A practical example of this library can be found at rust-metasploit-example
Installation
In your Cargo.toml add the following
[]
="1.0.1"
How To Use
How to setup metasploit RPC Server
Metasploit RPC can be setup two ways
With msfrpcd
msfrpcd -U <username> -P <password> -p <port> -a <IP Address>
For example
msfrpcd -U user -P password -p 55552 -a 127.0.0.1
With msfconsole
msf6 > load msgrpc Pass=<password> Username=<username>
For example
msf6 > load msgrpc Pass=password Username=user
When you start metasploit RPC Server from console,the ssl value should be false.Like,
let client= new;
How to use the library
All details about the library have been written in docs.rs
v1.0.1
- Removed unwanted parameters of modules
- Changed String parameters to str