sshmitm.forwarders.base module

class sshmitm.forwarders.base.BaseForwarder(session)

Bases: SSHMITMBaseModule

base class for all forwarders.

Parameters:

session (Session)

BUF_LEN = 6553600
abstract property client_channel: Channel | None

Returns the client channel for the current plugin type

close_session(channel)
Parameters:

channel (Channel)

Return type:

None

abstractmethod forward()

Forwards data between the client and the server

Return type:

None

server_channel: Channel
session: Session