mirror of https://github.com/dnomd343/ProxyC
Dnomd343
3 years ago
2 changed files with 37 additions and 26 deletions
@ -1,23 +1,25 @@ |
|||
import ProxyDecoder as Decoder |
|||
import ProxyFilter as Filter |
|||
|
|||
info = { |
|||
'type': 'vless', |
|||
'server': '127.0.0.1', |
|||
'port': 12345, |
|||
'id': '1b1757d2-2ff1-4e8d-b62e-4e74c06f1325', |
|||
'stream': { |
|||
'type': 'grpc', |
|||
'service': 'dnomd343' |
|||
} |
|||
} |
|||
# info = { |
|||
# 'type': 'vless', |
|||
# 'server': '127.0.0.1', |
|||
# 'port': 12345, |
|||
# 'id': '1b1757d2-2ff1-4e8d-b62e-4e74c06f1325', |
|||
# 'stream': { |
|||
# 'type': 'grpc', |
|||
# 'service': 'dnomd343' |
|||
# } |
|||
# } |
|||
|
|||
ret = Filter.filte(info) |
|||
# ret = Filter.filte(info) |
|||
# print(ret) |
|||
|
|||
url = 'vmess://1b1757d2-2ff1-4e8d-b62e-4e74c06f1325@1.1.1.1:443' |
|||
|
|||
ret = Decoder.decode(url) |
|||
print(ret) |
|||
|
|||
# ret = Decoder.decode(url) |
|||
# print(ret) |
|||
# |
|||
# status, ret = Filter.filte(ret, isExtra = True) |
|||
# print(status) |
|||
# print(ret) |
|||
status, ret = Filter.filte(ret, isExtra = True) |
|||
print(status) |
|||
print(ret) |
|||
|
Loading…
Reference in new issue