yebekhe / TelegramV2rayCollector

PHP script collects V2Ray subscription links from sources, saves to protocol-specific files
MIT License
1.06k stars 174 forks source link

باگ در تبدیل reality http2 #63

Closed Graveyard9988 closed 3 months ago

Graveyard9988 commented 10 months ago

درود کانفیگ زیر در مبدل شما به درستی تبدیل نمی شود vless://2ed69b6e-06a8-42df-9248-1f4ace590c00@127.0.0.1:443/?type=http&encryption=none&flow=&host=127.0.0.1&path=%2Fcc6ac00b&sni=www.yahoo.com&alpn=h2%2Chttp%2F1.1&fp=chrome&security=reality&pbk=kZKTtjbc_e7Hu9XMOLt3n2d7hdGsRs53Obx5zWFMFE0&sid=85e9eb946f76f3f0#Reality

قالب صحیح ان پس از تبدیل به شکل زیر است:

Graveyard9988 commented 10 months ago

{ "tag": "Reality | 2", "type": "vless", "server": "127.0.0.1", "server_port": 443, "uuid": "2ed69b6e-06a8-42df-9248-1f4ace590c00", "flow": "", "packet_encoding": "xudp", "multiplex": { "enabled": false, "protocol": "smux", "max_streams": 32 }, "transport": { "host": [ "127.0.0.1" ], "path": "/cc6ac00b", "type": "http" }, "tls": { "enabled": true, "server_name": "www.yahoo.com", "insecure": false, "utls": { "enabled": true, "fingerprint": "chrome" }, "reality": { "enabled": true, "public_key": "kZKTtjbc_e7Hu9XMOLt3n2d7hdGsRs53Obx5zWFMFE0", "short_id": "85e9eb946f76f3f0" } } },

Graveyard9988 commented 10 months ago

در صورت امکان لطفا الگوریتم مبدل را اصلاح نمایید

سپاس