diff --git a/runcli.bat b/runcli.bat index 9f5bb65..c1b425b 100644 --- a/runcli.bat +++ b/runcli.bat @@ -1 +1 @@ -ReverseProxy --tcpport=8284 --httpport=8080 --mode="client" --svraddr="127.0.0.1" --vkey="DKibZF5TXvic1g3kY" \ No newline at end of file +rproxy --tcpport=8284 --httpport=8080 --mode="client" --svraddr="127.0.0.1" --vkey="DKibZF5TXvic1g3kY" \ No newline at end of file diff --git a/runcli.sh b/runcli.sh index b9bd87f..a88e859 100644 --- a/runcli.sh +++ b/runcli.sh @@ -1 +1 @@ -./ReverseProxy --tcpport=8284 --httpport=8080 --mode="client" --svraddr="127.0.0.1" --vkey="DKibZF5TXvic1g3kY" \ No newline at end of file +./rproxy --tcpport=8284 --httpport=8080 --mode="client" --svraddr="127.0.0.1" --vkey="DKibZF5TXvic1g3kY" \ No newline at end of file diff --git a/runsvr.bat b/runsvr.bat index 3a32470..aa71fb6 100644 --- a/runsvr.bat +++ b/runsvr.bat @@ -1 +1 @@ -ReverseProxy --tcpport=8284 --httpport=8084 --mode="server" --vkey="DKibZF5TXvic1g3kY" \ No newline at end of file +rproxy --tcpport=8284 --httpport=8084 --mode="server" --vkey="DKibZF5TXvic1g3kY" \ No newline at end of file diff --git a/runsvr.sh b/runsvr.sh index b74573e..fcb477e 100644 --- a/runsvr.sh +++ b/runsvr.sh @@ -1 +1 @@ -./ReverseProxy --tcpport=8284 --httpport=8084 --mode="server" --vkey="DKibZF5TXvic1g3kY" \ No newline at end of file +./rproxy --tcpport=8284 --httpport=8084 --mode="server" --vkey="DKibZF5TXvic1g3kY" \ No newline at end of file diff --git a/server.go b/server.go index 4e4a27e..64ee381 100644 --- a/server.go +++ b/server.go @@ -67,7 +67,7 @@ func badRequest(w http.ResponseWriter) { } func (s *TRPServer) httpserver() { - // google总是要请求这个,这里不要了! + // chrome总是要请求这个,这里不要了! http.HandleFunc("/favicon.ico", func(w http.ResponseWriter, r *http.Request) { http.Error(w, http.StatusText(http.StatusNotFound), http.StatusNotFound) }) diff --git a/verify.go b/verify.go index 84e96b9..7caf856 100644 --- a/verify.go +++ b/verify.go @@ -7,6 +7,6 @@ import ( // 简单的一个校验值 func getverifyval() []byte { - b := sha1.Sum([]byte(time.Now().Format("2006-01-02 15:04") + *verifyKey)) + b := sha1.Sum([]byte(time.Now().Format("2006-01-02 15") + *verifyKey)) return b[:] }