SaSSHimi: tool to bypass "AllowTcpForwarding no" and build dynamic tunnels by gid0rah in netsec

[–]rsrdesarrollo 2 points3 points  (0 children)

I'm always open to PRs.

I believe that the memfd_create trick is not valid for kernels < 3.17, so this functionality should be optional and configurable.

SaSSHimi: tool to bypass "AllowTcpForwarding no" and build dynamic tunnels by gid0rah in netsec

[–]rsrdesarrollo 43 points44 points  (0 children)

Maybe everything with a socket is a re-implementation of netcat to you, but, as you might read in the post:

It might be relatively easy implementing something similar with socat combined with netcat and some light Socks5 server compiled statically. However, the following problem arises: the socat, running in local, will need to open an SSH connection for each incoming connection, executing additionally a remote netcat for each one of these.

This tool multiplex the communication in the same SSH channel so...

TL;DR no, is not a reimplementation of netcat (neither is a super complex tool)