mirror of
https://github.com/Justuser3310/jetwork.git
synced 2025-03-12 13:39:47 +00:00
up
This commit is contained in:
parent
b6652cf5d6
commit
311cde3b15
8
proxy.py
8
proxy.py
@ -10,18 +10,18 @@ def proxy_http(port):
|
|||||||
global http_out
|
global http_out
|
||||||
os = read()['os']
|
os = read()['os']
|
||||||
if os == 'Linux':
|
if os == 'Linux':
|
||||||
http_out = system(f'./bore local 8000 --to bore.pub --port {port}')
|
http_out = system(f'./bore local 8000 --to bore.del.pw --port {port}')
|
||||||
elif os == 'Windows' or os == 'Android':
|
elif os == 'Windows' or os == 'Android':
|
||||||
http_out = system(f'bore local 8000 --to bore.pub --port {port}')
|
http_out = system(f'bore local 8000 --to bore.del.pw --port {port}')
|
||||||
|
|
||||||
global serv_out ; serv_out = None
|
global serv_out ; serv_out = None
|
||||||
def proxy_serv(port):
|
def proxy_serv(port):
|
||||||
global serv_out
|
global serv_out
|
||||||
os = read()['os']
|
os = read()['os']
|
||||||
if os == 'Linux':
|
if os == 'Linux':
|
||||||
http_out = system(f'./bore local 8001 --to bore.pub --port {port}')
|
http_out = system(f'./bore local 8001 --to bore.del.pw --port {port}')
|
||||||
elif os == 'Windows' or os == 'Android':
|
elif os == 'Windows' or os == 'Android':
|
||||||
http_out = system(f'bore local 8001 --to bore.pub --port {port}')
|
http_out = system(f'bore local 8001 --to bore.del.pw --port {port}')
|
||||||
|
|
||||||
|
|
||||||
def watch_http(port):
|
def watch_http(port):
|
||||||
|
Loading…
Reference in New Issue
Block a user