1

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

2 Answers 2

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.

2
  • @shroeder sorry for not being clear earlier.
    – void_in
    Oct 1, 2019 at 8:18
  • @void_in it's all clear now :)
    – schroeder
    Oct 1, 2019 at 8:20
-2

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

Reference:- RHOSTS Service Enum

1
  • 1
    RHOSTS is for specifying targets, not incoming connections
    – schroeder
    Oct 1, 2019 at 6:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.