sshmitm.apps.mosh module
- class sshmitm.apps.mosh.UdpProxy(key: str, target_ip: str, target_port: int, listen_ip: str = '', listen_port: int = 0, buf_size: int = 1024)
Bases:
object
- check_pairing(addr: Tuple[str, int]) Tuple[str, int]
- static format_hex(data: bytes, hexwidth: int = 19) str
- get_bind_port() int
- receive(buff_size: int) None
- start() None
- thread_receive() None
- sshmitm.apps.mosh.handle_mosh(session: Session, traffic: bytes, isclient: bool) bytes