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.
29 lines
513 B
29 lines
513 B
import time
|
|
|
|
import ProxyBuilder as Builder
|
|
import ProxyDecoder as Decoder
|
|
import ProxyFilter as Filter
|
|
import Check as Checker
|
|
|
|
# ret = Decoder.decode(url)
|
|
# print(ret)
|
|
|
|
info = {
|
|
'type': 'hysteria',
|
|
'server': '127.0.0.1',
|
|
'port': 443,
|
|
'protocol': 'faketcp',
|
|
'obfs': '770091573',
|
|
'auth': 'dnomd343',
|
|
'sni': 'local.343.re'
|
|
}
|
|
|
|
status, ret = Filter.filte(info, isExtra = True)
|
|
print(status)
|
|
print(ret)
|
|
|
|
result = Checker.proxyTest({
|
|
'check': ['http'],
|
|
'info': ret
|
|
})
|
|
print(result)
|
|
|