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
462 B

#!/usr/bin/env python
from pprint import pprint
from Basis.Filter import Filter
from Basis.Filter import filterObject
from Filter.Shadowsocks import ssObject
# pprint(ssObject, sort_dicts = False)
# pprint(filterObject, sort_dicts = False)
ssProxy = {
'server': '1.1.1.1',
'port': '12345',
'method': 'none',
'passwd': 'dnomd343',
'plugin': {
'type': 'obfs',
}
}
ret = Filter(ssProxy, ssObject)
pprint(ret, sort_dicts = False)