This commit is contained in:
tokumeikoi 2021-10-11 21:46:45 +08:00
commit 53011cb95c

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'
]; ];