module

Metasploit RPC Console Command Execution

Disclosed
May 22, 2011
Created
May 30, 2018

Description

This module connects to a specified Metasploit RPC server and
uses the 'console.write' procedure to execute operating
system commands. Valid credentials are required to access the
RPC interface.

This module has been tested successfully on Metasploit 4.15
on Kali 1.0.6; Metasploit 4.14 on Kali 2017.1; and Metasploit
4.14 on Windows 7 SP1.

Author

Platform

Ruby,Unix,Windows

Architectures

ruby, cmd

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/multi/misc/msf_rpc_console
msf exploit(msf_rpc_console) > show targets
...targets...
msf exploit(msf_rpc_console) > set TARGET < target-id >
msf exploit(msf_rpc_console) > show options
...show and set options...
msf exploit(msf_rpc_console) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.