Skip to content

Commit

Permalink
Update mtproxy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chummumm authored Feb 16, 2020
1 parent 307f1c5 commit 683ef2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mtproxy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ else
sed -i "s/1973/$num/g" /etc/mtproxy/config.py
fi
fi &&
echo 正在随机生成secret &&
echo 正在随机生成secret...... &&
secret=$(head -c 16 /dev/urandom | xxd -ps) &&
sed -i "s/0000000054655212aa12221200000001/$secret/g" /etc/mtproxy/config.py &&
sed -i 's/"secure": False,/"secure": True,/g' /etc/mtproxy/config.py
Expand Down

0 comments on commit 683ef2c

Please sign in to comment.