Rapid7 Vulnerability & Exploit Database

RPyC 4.1.0 through 4.1.1 Remote Command Execution

Back to Search

RPyC 4.1.0 through 4.1.1 Remote Command Execution



This module allows remote command execution on RPyC versions 4.1.0 and 4.1.1. You will be able to execute a specified command on the target machine as the user running the RPyC service and view the output.


  • Aaron Meese <@ajmeese7>
  • Jamie Hill-Daniel <@clubby789>


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 auxiliary/scanner/http/rpyc_rce
msf auxiliary(rpyc_rce) > show actions
msf auxiliary(rpyc_rce) > set ACTION < action-name >
msf auxiliary(rpyc_rce) > show options
    ...show and set options...
msf auxiliary(rpyc_rce) > run 

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security