Merge pull request #485 from betaxab/update-surfboard

This commit is contained in:
tokumeikoi 2021-10-11 00:28:09 +09:00 committed by GitHub
commit ffd5eb269d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,12 +67,11 @@ class Surfboard
public static function buildShadowsocks($password, $server) public static function buildShadowsocks($password, $server)
{ {
$config = [ $config = [
"{$server['name']}=custom", "{$server['name']}=ss",
"{$server['host']}", "{$server['host']}",
"{$server['port']}", "{$server['port']}",
"{$server['cipher']}", "encrypt-method={$server['cipher']}",
"{$password}", "password={$password}",
'https://raw.githubusercontent.com/Hackl0us/proxy-tool-backup/master/SSEncrypt.module',
'tfo=true', 'tfo=true',
'udp-relay=true' 'udp-relay=true'
]; ];