| Module | Msf::Handler::ReverseTcpDouble |
| In: |
lib/msf/core/handler/reverse_tcp_double.rb
|
This module implements the reverse double TCP handler. This means that it listens on a port waiting for a two connections, one connection is treated as stdin, the other as stdout.
This handler depends on having a local host and port to listen on.
Initializes the reverse TCP handler and ads the options that are required for all reverse TCP payloads, like local host and local port.
Accept two sockets and determine which one is the input and which is the output. This method assumes that these sockets pipe to a remote shell, it should overridden if this is not the case.