You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
529 B

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'
# }
# }
# ret = Filter.filte(info)
# print(ret)
url = 'vmess://1b1757d2-2ff1-4e8d-b62e-4e74c06f1325@1.1.1.1:443'
ret = Decoder.decode(url)
print(ret)
status, ret = Filter.filte(ret, isExtra = True)
print(status)
print(ret)