Naming conventions

In a sizeable penetration test scenario, we may get a large number of system and Meterpreter shells. In such cases, it is better to name all the shells for easy identification. Consider the following scenario:

We can name a shell using the -n switch, as shown in the following screenshot:

The naming seems better and easy to remember, as we can see in the preceding screenshot.

Get Mastering Metasploit - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.