mirror of https://github.com/dnomd343/ProxyC
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
448 B
26 lines
448 B
#!/usr/bin/python
|
|
# -*- coding:utf-8 -*-
|
|
|
|
import ProxyFilter as Filter
|
|
|
|
info = {
|
|
'type': 'vless',
|
|
'server': '127.0.0.1',
|
|
'port': '12345',
|
|
'id': 'dnomd343',
|
|
'stream': {
|
|
'type': 'grpc',
|
|
'service': 'dnomd343',
|
|
'secure': {
|
|
'type': 'tls',
|
|
'sni': '',
|
|
'flow': 'xtls-origin',
|
|
'udp443': True
|
|
}
|
|
}
|
|
}
|
|
|
|
ret = Filter.filte(info)
|
|
|
|
print(ret[0])
|
|
print(ret[1])
|
|
|