Crate metasploit[−][src]
Expand description
This is a metasploit RPC library which makes a HTTP Connection with the Metasploit RCP Server. All the modules and functions are written on the basis of Metasploit RPC Guide.
Example
use metasploit::client::Client;
let client=Client::new("127.0.0.1",55552,"msf","password",true);
println!("{}",client.gettoken());
The above one is a simple example code where an connection is made with RPC Server and the token is printed
Modules
This module is to initialize and maintain the connection
This module is to handle all error responses from RPC Server and to handle Connection Error.
The module which contain all the necessary modules to communicate with RPC Server
This module is to process the raw data from RPC Server.