blob: ae9bf8f7cd511dfee2a082f2fe63c36eac143e1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
ShapeShifter library
--------------------
Heavily based on the shapeshifter-dispatcher:
https://github.com/OperatorFoundation/shapeshifter-dispatcher/
To use it:
```go
ss := ShapeShifter{
Cert: "cert",
Target: "ip:port",
SocksAddr: "127.0.0.1:4430",
}
err := ss.Open()
if err != nil {
return err
}
defer ss.Close()
```
And now you can tunnel your protocol into `127.0.0.1:4430`.
|