Shell to Meterpreter using Session Command

In the previous article, we have seen how to upgrade a command shell into meterpreter using Post exploitation in Metasploit. Again we are going to perform the same task using a different technique.

Let’s Begin

In the following screenshot, you can perceive that it is showing the TYPE for session 1: shell.

Once you got the reverse connection of remote system and access its command shell through Metasploit now you can manipulate your active sessions.  You just need to type sessions command inside Metasploit, this help command will display the multiple options which can be utilized with an active session.

 So in the following screenshot, you can perceive that the highlighted option is used to upgrade a command shell into meterpreter session.

Since we have command shell so here we can use “-u” (option) with the session ID for upgrading our shell into meterpreter session. Execute the following command for session manipulation.

When you will execute the above command you will get meterpreter session as session 2. Now enjoy your meterpreter session and execute its command.

Author: Aarti Singh is a Researcher and Technical Writer at Hacking Articles an Information Security Consultant Social Media Lover and Gadgets. Contact here

Leave a Reply

Your email address will not be published. Required fields are marked *