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.
22 lines
480 B
22 lines
480 B
import ProxyFilter as Filter
|
|
|
|
info = {
|
|
'type': 'ss',
|
|
'remark': 'ok',
|
|
'server': b'127.0.0.1 ',
|
|
'port': b"12345",
|
|
'method': 'aes-128_gcm',
|
|
'passwd': 'dnomd343',
|
|
'protocol': 'auth_chain-a',
|
|
'protocolParam': '123',
|
|
# 'obfs': b"http-simple",
|
|
'obfsParam': b'123',
|
|
'plugin': {
|
|
'type': 'OBFS_server',
|
|
'param': 'obfs=tls'
|
|
}
|
|
}
|
|
|
|
status, data = Filter.filte(info, isExtra = True)
|
|
print(status)
|
|
print(data)
|
|
|