Repository navigation
Expand file tree
/
Copy pathvariables.py
More file actions
78 lines (67 loc) · 2.53 KB
/
Copy pathvariables.py
File metadata and controls
78 lines (67 loc) · 2.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
class OFVariables:
ofPluginVersion = "1.4.0"
userSessionID: str = ""
userAuthorization: str = ""
userInfo = {}
nodeListData = []
loginData = []
newProxyData = []
userProxiesData = []
configuringNodeIndex = None
configuringNodeMinPort: int = 1
configuringNodeMaxPort: int = 65535
configuringNodeID: int = 0
configuringProxyName: str = ""
configuringProxyType: str = ""
configuringProxyLocalAddr: str = ""
configuringProxyDomainBind: str = ""
configuringProxyHostRewrite: str = ""
configuringProxyRequestFrom: str = ""
configuringProxyCustom: str = ""
configuringProxyURLRoute: str = ""
configuringRequestPass: str = ""
configuringProxyLocalPort: int = 0
configuringProxyRemotePort: int = 0
configuringProxyDataEncrypt: bool = False
configuringProxyDataGZip: bool = False
removeProxyID: int = 0
removeProxyData = []
class FrpcConsoleVariables:
processList = ["PlaceHolder"]
handlerList = ["PlaceHolder"]
totalLogList = []
singleLogList = ["PlaceHolder"]
switchBtnList = ["PlaceHolder"]
def switchBtnStat(frpcProcessListId):
FrpcConsoleVariables.switchBtnList[frpcProcessListId].setChecked(False)
FrpcConsoleVariables.switchBtnList.pop(frpcProcessListId)
def variablesLogout():
OFVariables.userSessionID: str = ""
OFVariables.userAuthorization: str = ""
OFVariables.userName: str = ""
OFVariables.userPassword: str = ""
OFVariables.userInfo = {}
def clearNewProxyConfig():
OFVariables.configuringNodeIndex = None
OFVariables.configuringNodeMinPort: int = 0
OFVariables.configuringNodeMaxPort: int = 0
OFVariables.configuringNodeID: int = 0
OFVariables.configuringProxyName: str = ""
OFVariables.configuringProxyType: str = ""
OFVariables.configuringProxyLocalAddr: str = ""
OFVariables.configuringProxyDomainBind: str = ""
OFVariables.configuringProxyHostRewrite: str = ""
OFVariables.configuringProxyRequestFrom: str = ""
OFVariables.configuringProxyCustom: str = ""
OFVariables.configuringProxyURLRoute: str = ""
OFVariables.configuringRequestPass: str = ""
OFVariables.configuringProxyLocalPort: int = 0
OFVariables.configuringProxyRemotePort: int = 0
OFVariables.configuringProxyDataEncrypt: bool = False
OFVariables.configuringProxyDataGZip: bool = False
OFVariables.newProxyData = []
def clearUserProxiesData():
OFVariables.userProxiesData = []
def clearRemoveProxyID():
OFVariables.removeProxyID: int = 0
OFVariables.removeProxyData = []