sshmitm.plugins.tunnel.injectservertunnel module
- class sshmitm.plugins.tunnel.injectservertunnel.InjectableRemotePortForwardingForwarder(session: Session, server_interface: ServerInterface, destination: Optional[Tuple[str, int]])
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
- handle_request(listenaddr: Tuple[str, int], client: Union[socket, Channel], addr: Tuple[str, int]) None
- classmethod parser_arguments() None