From c0543037df443a6eb61a63e3e5fd07070716c38d Mon Sep 17 00:00:00 2001 From: fangdingjun Date: Tue, 31 Jul 2018 18:10:12 +0800 Subject: [PATCH] update README --- README.md | 4 ++-- obfsshd/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2aad11a..c88ae75 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ server usage example var l net.Listener var err error - if useTLS{ + if useTLS { cert, err := tls.LoadX509KeyPair(certFile, keyFile) l, err = tls.Listen("tcp", ":2022", &tls.Config{ Certificates: []tls.Certificate{cert}, @@ -57,7 +57,7 @@ client usage example var c net.Conn var err error - if useTLS{ + if useTLS { c, err = tls.Dial("tcp", addr, &tls.Config{ ServerName: "localhost", InsecureSkipVerify: true, diff --git a/obfsshd/README.md b/obfsshd/README.md index 7856a29..81008b8 100644 --- a/obfsshd/README.md +++ b/obfsshd/README.md @@ -24,6 +24,6 @@ run client go get github.com/fangdingjun/obfssh/obfssh - $GOPATH/bin/obfssh_client -N -D :1234 -p 2022 -l user2 -pw user2 localhost + $GOPATH/bin/obfssh -N -D :1234 -p 2022 -l user2 -pw user2 localhost this will create a socks proxy on :1234