sshmitm.plugins.tunnel.injectservertunnel module

class sshmitm.plugins.tunnel.injectservertunnel.InjectableRemotePortForwardingForwarder(session, server_interface, destination)

Bases: RemotePortForwardingForwarder

For each server port forwarding request open a local port to inject traffic into the port-forward

The Handler is still the same as the RemotePortForwardingForwarder, only a tcp server is added

Parameters:
handle_request(listenaddr, client, addr)
Parameters:
  • listenaddr (Tuple[str, int])

  • client (Union[socket, Channel])

  • addr (Tuple[str, int])

Return type:

None

classmethod parser_arguments()
Return type:

None