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