用的苹果好像没你这软件现在还无法链接国内
没有苹果手机研究不了 FearTight 发表于 2025-1-25 08:07
没有苹果手机研究不了
小火箭的百度直连Lua脚本改一改有可能可以吗 牛呀 mask 发表于 2025-1-25 08:54
小火箭的百度直连Lua脚本改一改有可能可以吗
发我一下代码或者给我看配置截图 FearTight 发表于 2025-1-25 11:12
发我一下代码或者给我看配置截图
-- file: lua/backend-baidu.lua
local http = require 'http'
local backend = require 'backend'
local char = string.char
local byte = string.byte
local find = string.find
local sub = string.sub
local ADDRESS = backend.ADDRESS
local PROXY = backend.PROXY
local DIRECT_WRITE = backend.SUPPORT.DIRECT_WRITE
local SUCCESS = backend.RESULT.SUCCESS
local HANDSHAKE = backend.RESULT.HANDSHAKE
local DIRECT = backend.RESULT.DIRECT
local ctx_uuid = backend.get_uuid
local ctx_proxy_type = backend.get_proxy_type
local ctx_address_type = backend.get_address_type
local ctx_address_host = backend.get_address_host
local ctx_address_bytes = backend.get_address_bytes
local ctx_address_port = backend.get_address_port
local ctx_write = backend.write
local ctx_free = backend.free
local ctx_debug = backend.debug
local flags = {}
local kHttpHeaderSent = 1
local kHttpHeaderRecived = 2
function wa_lua_on_flags_cb(ctx)
return DIRECT_WRITE
end
function wa_lua_on_handshake_cb(ctx)
local uuid = ctx_uuid(ctx)
if flags == kHttpHeaderRecived then
return true
end
if flags ~= kHttpHeaderSent then
local host = ctx_address_host(ctx)
local port = ctx_address_port(ctx)
local res = 'CONNECT ' .. host .. ':' .. port .. 'HTTP/1.1\r\n' ..
'Host: 180.101.50.208:443\r\n' ..
'Proxy-Connection: Keep-Alive\r\n'
ctx_write(ctx, res)
flags = kHttpHeaderSent
end
return false
end
function wa_lua_on_read_cb(ctx, buf)
ctx_debug('wa_lua_on_read_cb')
local uuid = ctx_uuid(ctx)
if flags == kHttpHeaderSent then
flags = kHttpHeaderRecived
return HANDSHAKE, nil
end
return DIRECT, buf
end
function wa_lua_on_write_cb(ctx, buf)
ctx_debug('wa_lua_on_write_cb')
return DIRECT, buf
end
function wa_lua_on_close_cb(ctx)
ctx_debug('wa_lua_on_close_cb')
local uuid = ctx_uuid(ctx)
flags = nil
ctx_free(ctx)
return SUCCESS
end 结果怎么样 在'Host: 180.101.50.208:443\r\n'下一行加入一句
'With-At: sdeweb.hkcsl.com' 试试 FearTight 发表于 2025-1-22 15:23
因为我用的不是ws的混淆方式,而是用的ss的obfs-local模式的节点作为前置,然后套的百度直连,软件是用的tp ...
大佬这是百度的吗钉钉的咋设置啊? FearTight 发表于 2025-1-22 19:04
github有 叫tpboxforAndroid
实测可以,非常感谢!留下面信息供后来人参考:
添加http代理,填入百度直连的ip,端口443。
勾选del_host,请求路径使用@符号+混淆,比如@a.189.cn,此处仅举例,自行替换。
tls和请求路径保持默认设置不用动。https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif FearTight 发表于 2025-1-22 15:23
因为我用的不是ws的混淆方式,而是用的ss的obfs-local模式的节点作为前置,然后套的百度直连,软件是用的tp ...
另外想请教,如果不使用ss obfs做前置。仅使用百度直连del host配合路径混淆,是可以使用的对吗。想把这个思路借鉴到其他卡种上,联通停机卡试验用这种方法不太行,但用自建的obfs或者vmess都可。https://cdn.jsdelivr.net/gh/master-of-forums/master-of-forums/public/images/patch.gif
页:
1
[2]