From 200194a0da2b0a21a528a005f60a987b0e9dc2b7 Mon Sep 17 00:00:00 2001 From: Toyo Date: Mon, 1 May 2017 19:16:55 +0800 Subject: [PATCH] =?UTF-8?q?#=20v2.0.17=20=E4=BF=AE=E5=A4=8D=20=E9=83=A8?= =?UTF-8?q?=E5=88=86=E5=AE=A2=E6=88=B7=E7=AB=AF=E6=97=A0=E6=B3=95=E8=AF=86?= =?UTF-8?q?=E5=88=AB=20SS/SSR=E8=BF=9E=E6=8E=A5=E5=92=8C=E4=BA=8C=E7=BB=B4?= =?UTF-8?q?=E7=A0=81=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ssr.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ssr.sh b/ssr.sh index 0d64baf..508f6f7 100644 --- a/ssr.sh +++ b/ssr.sh @@ -5,12 +5,12 @@ export PATH #================================================= # System Required: CentOS 6+/Debian 6+/Ubuntu 14.04+ # Description: Install the ShadowsocksR server -# Version: 2.0.16 +# Version: 2.0.17 # Author: Toyo # Blog: https://doub.io/ss-jc42/ #================================================= -sh_ver="2.0.16" +sh_ver="2.0.17" ssr_folder="/usr/local/shadowsocksr" ssr_ss_file="${ssr_folder}/shadowsocks" config_file="${ssr_folder}/config.json" @@ -123,7 +123,7 @@ Get_User(){ connect_verbose_info=`${jq_file} '.connect_verbose_info' ${config_user_file}` } ss_link_qr(){ - SSbase64=`echo -n "${method}:${password}@${ip}:${port}" | base64 | sed ':a;N;s/\n/ /g;ta' | sed 's/ //g'` + SSbase64=`echo -n "${method}:${password}@${ip}:${port}" | base64 | sed ':a;N;s/\n/ /g;ta' | sed 's/ //g;s/=//g'` SSurl="ss://"${SSbase64} SSQRcode="http://doub.pw/qr/qr.php?text="${SSurl} ss_link=" SS 链接 : ${Green_font_prefix}${SSurl}${Font_color_suffix} \n SS 二维码 : ${Green_font_prefix}${SSQRcode}${Font_color_suffix}" @@ -132,7 +132,7 @@ ssr_link_qr(){ SSRprotocol=`echo ${protocol} | sed 's/_compatible//g'` SSRobfs=`echo ${obfs} | sed 's/_compatible//g'` SSRPWDbase64=`echo -n "${password}" | base64 | sed ':a;N;s/\n/ /g;ta' | sed 's/ //g'` - SSRbase64=`echo -n "${ip}:${port}:${SSRprotocol}:${method}:${SSRobfs}:${SSRPWDbase64}" | base64 | sed ':a;N;s/\n/ /g;ta' | sed 's/ //g'` + SSRbase64=`echo -n "${ip}:${port}:${SSRprotocol}:${method}:${SSRobfs}:${SSRPWDbase64}" | base64 | sed ':a;N;s/\n/ /g;ta' | sed 's/ //g;s/=//g'` SSRurl="ssr://"${SSRbase64} SSRQRcode="http://doub.pw/qr/qr.php?text="${SSRurl} ssr_link=" SSR 链接 : ${Red_font_prefix}${SSRurl}${Font_color_suffix} \n SSR 二维码 : ${Red_font_prefix}${SSRQRcode}${Font_color_suffix} \n "