Projects STRLCPY reverse_ssh Commits 4be0ea3e
🤬
  • ■ ■ ■ ■ ■ ■
    README.md
    skipped 52 lines
    53 53   - [Windows Service Integration](#windows-service-integration)
    54 54   - [Full Windows Shell Support](#full-windows-shell-support)
    55 55   - [Webhooks](#webhooks)
    56  - - [Tuntap](#tuntap)
    57 56   - [Executable Downloading](#executable-downloading)
    58 57   - [Supported URI Schemes](#supported-uri-schemes)
    59 58  - [Help](#help)
    skipped 266 lines
    326 325   
    327 326   
    328 327  As an additional note, please use the `/slack` endpoint if connecting this to discord.
    329  - 
    330  -### Tuntap
    331  - 
    332  -RSSH and SSH support creating tuntap interfaces that allow you to route traffic and create pseudo-VPN.
    333  -It does take a bit more setup than just a local or remote forward (`-L`, `-R`), but in this mode you can send `UDP` and `ICMP`.
    334  - 
    335  - 
    336  -First set up a tun (layer 3) device on your local machine.
    337  -```
    338  -sudo ip tuntap add dev tun0 mode tun
    339  -sudo ip addr add 172.16.0.1/24 dev tun0
    340  -sudo ip link set dev tun0 up
    341  - 
    342  -# This will defaultly route all non-local network traffic through the tunnel
    343  -sudo ip route add 0.0.0.0/0 via 172.16.0.1 dev tun0
    344  -```
    345  - 
    346  -Install a client on a *remote* machine, this **will not work** if you have your RSSH client on the same host as your tun device.
    347  -```
    348  -ssh -J your.rssh.server.com:3232 user.wombo -w 0:any
    349  -```
    350  - 
    351  - 
    352  -This has some limitations, it is only able to send UDP/TCP/ICMP, and not arbitrary layer 3 protocols. ICMP is best effort and may use the remote hosts `ping` tool, as ICMP sockets are privileged on most machines.
    353  -This also does not support `tap` devices, e.g layer 2 VPN, as this would require administrative access.
    354 328   
    355 329  ### Executable Downloading
    356 330   
    skipped 66 lines
  • ■ ■ ■ ■ ■ ■
    go.mod
    skipped 6 lines
    7 7   github.com/creack/pty v1.1.18
    8 8   github.com/justincormack/go-memfd v0.0.0-20170219213707-6e4af0518993
    9 9   github.com/pkg/sftp v1.13.5
    10  - golang.org/x/crypto v0.4.0
    11  - golang.org/x/sys v0.3.0
     10 + golang.org/x/crypto v0.7.0
     11 + golang.org/x/sys v0.6.0
    12 12  )
    13 13   
    14 14  require (
    15  - github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
     15 + github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
    16 16   github.com/davecgh/go-spew v1.1.1 // indirect
    17 17   github.com/kr/fs v0.1.0 // indirect
    18 18   github.com/stretchr/testify v1.7.1 // indirect
    skipped 2 lines
  • ■ ■ ■ ■ ■ ■
    go.sum
    skipped 2 lines
    3 3  github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
    4 4  github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 h1:UQHMgLO+TxOElx5B5HZ4hJQsoJ/PvUvKRhJHDQXO8P8=
    5 5  github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E=
     6 +github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 h1:L/gRVlceqvL25UVaW/CKtUDjefjrs0SPonmDGUVOYP0=
     7 +github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E=
    6 8  github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY=
    7 9  github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=
    8 10  github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
    skipped 17 lines
    26 28  golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
    27 29  golang.org/x/crypto v0.4.0 h1:UVQgzMY87xqpKNgb+kDsll2Igd33HszWHFLmpaRMq/8=
    28 30  golang.org/x/crypto v0.4.0/go.mod h1:3quD/ATkf6oY+rnes5c3ExXTbLc8mueNue5/DoinL80=
     31 +golang.org/x/crypto v0.7.0 h1:AvwMYaRytfdeVt3u6mLaxYtErKYjxA2OXjJ1HHq6t3A=
     32 +golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
    29 33  golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
    30 34  golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
    31 35  golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
    skipped 13 lines
    45 49  golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
    46 50  golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ=
    47 51  golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
     52 +golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ=
     53 +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
    48 54  golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
    49 55  golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
    50 56  golang.org/x/term v0.3.0 h1:qoo4akIqOcDME5bhc/NgxUdovd6BSS2uMsVjB56q1xI=
    51 57  golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA=
     58 +golang.org/x/term v0.6.0 h1:clScbb1cHjoCkyRbWwBEUZ5H/tIFu5TAXIqaZD0Gcjw=
    52 59  golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
    53 60  golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
    54 61  golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
    skipped 10 lines
Please wait...
Page is in error, reload to recover