"Autocleaner":{# Some gurbage is collecting in g settings. So you can configure autocleaner to periodically clear gSettings
"IntervalSecFloat":10,# Sec float to periodically clear gsettings
},
"Client":{# Settings about client web orchestrator
"Session":{# Settings about web session. Session algorythms works only for special requests (URL in ServerSettings)
"LifetimeSecFloat":10.0,# Client Session lifetime in seconds. after this time server will forget about this client session
"LifetimeRequestSecFloat":15.0,# 1 client request lifetime in server in seconds
"ControlPanelRefreshIntervalSecFloat":1.5,# Interval to refresh control panels for session,
"TechnicalSessionGUIDCache":{# TEchnical cache. Fills when web browser is requesting
#"SessionGUIDStr":{ # Session with some GUID str. On client session guid stored in cookie "SessionGUIDStr"
# "InitDatetime": None, # Datetime when session GUID was created
# "DatasetLast": {
# "ControlPanel": {
# "Data": None, # Struct to check with new iterations. None if starts
# "ReturnBool": False # flag to return, close request and return data as json
# }
# },
# "ClientRequestHandler": None, # Last client request handler
# "UserADStr": None, # User, who connect. None if user is not exists
# "DomainADStr": None, # Domain of the user who connect. None if user is not exists
#}
}
}
},
"Server":{
"Server":{
"ListenPort_":"Порт, по которому можно подключиться к демону",
"ListenPort_":"Порт, по которому можно подключиться к демону",
"ListenPort":80,
"ListenPort":80,
@ -245,25 +269,25 @@ def Settings():
# # # # # # # # # # # # # #
# # # # # # # # # # # # # #
"RobotRDPActive":{
"RobotRDPActive":{
"RDPList":{
"RDPList":{
"RDPSessionKey":{
#"RDPSessionKey":{
"Host": "77.77.22.22", # Host address
# "Host": "77.77.22.22", # Host address
"Port": "3389", # RDP Port
# "Port": "3389", # RDP Port
"Login": "test", # Login
# "Login": "test", # Login
"Password": "test", # Password
# "Password": "test", # Password
"Screen": {
# "Screen": {
"Width": 1680, # Width of the remote desktop in pixels
# "Width": 1680, # Width of the remote desktop in pixels
"Height": 1050, # Height of the remote desktop in pixels
# "Height": 1050, # Height of the remote desktop in pixels
# "640x480" or "1680x1050" or "FullScreen". If Resolution not exists set full screen
# # "640x480" or "1680x1050" or "FullScreen". If Resolution not exists set full screen
"FlagUseAllMonitors": False, # True or False
# "FlagUseAllMonitors": False, # True or False
"DepthBit": "32" # "32" or "24" or "16" or "15"
# "DepthBit": "32" # "32" or "24" or "16" or "15"
},
# },
"SharedDriveList": ["c"], # List of the Root sesion hard drives
# "SharedDriveList": ["c"], # List of the Root sesion hard drives
###### Will updated in program ############
# ###### Will updated in program ############
"SessionHex": "", # Hex is created when robot runs
# "SessionHex": "", # Hex is created when robot runs
"SessionIsWindowExistBool": False, # Flag if the RDP window is exist, old name "FlagSessionIsActive". Check every n seconds
# "SessionIsWindowExistBool": False, # Flag if the RDP window is exist, old name "FlagSessionIsActive". Check every n seconds
"SessionIsWindowResponsibleBool": False, # Flag if RDP window is responsible (recieve commands). Check every nn seconds. If window is Responsible - window is Exist too
# "SessionIsWindowResponsibleBool": False, # Flag if RDP window is responsible (recieve commands). Check every nn seconds. If window is Responsible - window is Exist too
"SessionIsIgnoredBool": False # Flag to ignore RDP window False - dont ignore, True - ignore
# "SessionIsIgnoredBool": False # Flag to ignore RDP window False - dont ignore, True - ignore
}
#}
},
},
"ResponsibilityCheckIntervalSec":None,
"ResponsibilityCheckIntervalSec":None,
# Seconds interval when Robot check the RDP responsibility. if None - dont check
# Seconds interval when Robot check the RDP responsibility. if None - dont check