Vulnerability & Exploit Database

Back to search

Shell to Meterpreter Upgrade

This module attempts to upgrade a command shell to meterpreter. The shell platform is automatically detected and the best version of meterpreter for the target is selected. Currently meterpreter/reverse_tcp is used on Windows and Linux, with 'python/meterpreter/reverse_tcp' used on all others.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

post/multi/manage/shell_to_meterpreter

Authors

  • Tom Sellers <tom [at] fadedcode.net>

Platforms

  • linux
  • osx
  • unix
  • solaris
  • bsd
  • windows

Reliability

Development

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 post/multi/manage/shell_to_meterpreter msf post(shell_to_meterpreter) > sessions ...sessions... msf post(shell_to_meterpreter) > set SESSION <session-id> msf post(shell_to_meterpreter) > show options ...show and set options... msf post(shell_to_meterpreter) > run