1

Can we listen for 10 connections at once using any options present in Metasploit.

schroeder
  • 123,438
  • 55
  • 284
  • 319
Solo Trench
  • 41
  • 1
  • 3

2 Answers2

2

The concept you are looking for is "sessions". Metasploit supports multiple sessions by default.

Make sure you use set ExitOnSession false to ensure that the handler does not exit once it handles a session.

I cannot quickly find the maximum number of sessions Metasploit can handle by default, but I found one reference where a user was able to trigger 300 sessions. The suggestion is that the limit is an OS limit and not a limit imposed by Metasploit.

schroeder
  • 123,438
  • 55
  • 284
  • 319
-2

Use RHOSTS instead of RHOST to engage with multiple targets at once.

Reference:- RHOSTS Service Enum

Aayush
  • 557
  • 6
  • 17