HTTP/1.1 200 OK
Cache-Control: private
Content-Length: 26304
Content-Type: text/html; charset=utf-8
Server: ScreenConnect/5.5.10444.5898-1825972619 Microsoft-HTTPAPI/2.0
P3P: CP="NON CUR OUR STP STA PRE"
Date: Thu, 07 Nov 2024 03:27:09 GMT
Connection: close
<!DOCTYPE html>
<html>
<head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<script>
function setTaggedSessionItem(map, tag, item) {
if (!item && map[tag]) {
delete map[tag];
SC.pagedata.notifyDirty();
} else if (map[tag] != item) {
map[tag] = item;
SC.pagedata.notifyDirty();
}
}
function setTaggedSessionCode(tag, sessionCode) {
window.setTaggedSessionItem(window._sessionCodesByTag, tag, sessionCode);
}
function getTaggedSessionCode(tag) {
return window._sessionCodesByTag[tag];
}
function setTaggedSessionID(tag, sessionID) {
window.setTaggedSessionItem(window._sessionIDsByTag, tag, sessionID);
}
</script>
<script src="Script.ashx?__Cache=3d1d18cb-875a-4ea6-b4e4-4f7ecacc0c23" id="defaultScript"></script>
<link href="App_Themes/SolidWithRed/Default.css?__Cache=12a578c2-d7fd-4e82-8f69-5fe3fe93aea1" type="text/css" rel="stylesheet" /><link href="FavIcon.axd?__Cache=816541c2-26f5-4329-b737-329b575b74fc" rel="shortcut icon" />
<script>SC.util.mergeIntoContext({"deferLoad":true,"userDisplayName":"","isUserAuthenticated":false,"isUserAdministrator":false,"loginUrl":"/Login","loginReturnUrlParameterName":"ReturnUrl","loginReasonParameterName":"Reason","pageBaseFileName":"Guest","guestPageUrl":"","hostPageUrl":"Host","administrationPageUrl":"Administration","notifyActivityFrequencyMilliseconds":600000,"loginAfterInactivityMilliseconds":0,"canChangePassword":false,"changePasswordUrl":"ChangePassword","controlPanelUrl":null,"pageType":"GuestPage","processType":2,"remainingEvaluationDayCount":null,"evaluationPurchaseUrl":null,"userAgentOverride":null});</script>
<script>SC.extension.addInitializeProc('2e5882e3-fb36-4ad4-bdf7-0f14f3bdcf7e', function (extensionContext) {
SC.event.addGlobalHandler(SC.event.PreRender, function (eventArgs) {
var logoImage = document.getElementById('logoImage');
if (extensionContext.settingValues.LogoImageLinkURL !== ''){
logoImage.onclick=function() {
window.open(SC.util.sanitizeUrl(extensionContext.settingValues.LogoImageLinkURL));
};
logoImage.onmouseover=function(){
logoImage.style.cursor = "pointer";
};
}
});
});</script>
<script>SC.extension.addInitializeProc('89ecb38c-f772-42da-85df-5b0838729254', function (extensionContext) {
/** Get Server Info v 1.2.0.0 **/
var extensionId = extensionContext.baseUrl.split("/").slice(-2)[0];
/***** Extension Help Option *****/
var helpLink = "http://forum.screenconnect.com/yaf_topics8_Tips-and-Tricks.aspx";
SC.event.addGlobalHandler(SC.event.QueryCommandButtonState, function(eventArgs){
switch(eventArgs.commandName) {
case 'EditExtensionSettings':
if (eventArgs.commandContext.extensionInfo.ExtensionID == extensionId && eventArgs.commandElement._commandName == "EditExtensionSettings"){
SC.ui.addElement(eventArgs.target.parentElement,"A",{href:"#",_commandName:'command_' + extensionId,_innerText:SC.res['Extension.GetServerInfo.CommandText']});
SC.ui.addElement(eventArgs.target.parentElement,"A",{href:"#",_commandName:'OpenHelpLink_' + extensionId,_innerText:SC.res['Command.Help.Text'].replace(" ▽","")});
}
break;
}
});
SC.event.addGlobalHandler(SC.event.ExecuteCommand, function(eventArgs){
switch (eventArgs.commandName) {
case 'ShowHelpLink_' + extensionId:
SC.dialog.showModalPage(SC.res['Command.Help.Text'].replace(" ▽",""), helpLink, null);
break;
case 'OpenHelpLink_' + extensionId:
window.open(helpLink, "_blank");
break;
}
});
/*********************************/
/***** FUNCTIONS *****/
var numberWithCommas = function(x) {
x = x.toString();
var pattern = /(-?\d+)(\d{3})/;
while (pattern.test(x))
x = x.replace(pattern, "$1,$2");
return x;
};
var getBestSizeFromBytes = function (sizeInBytes, decimals, useBinaryPrefix){
var bytes = parseFloat(sizeInBytes);
if (isNaN(bytes)) return null;
if (bytes <= 1) return bytes.toFixed(0) + ' Byte';
var sizes = useBinaryPrefix ? ['Bytes', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB'] : ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
var d = decimals || 3;
var k = useBinaryPrefix ? 1024 : 1000;
var i = Math.floor(Math.log(bytes) / Math.log(k));
return parseFloat((bytes / Math.pow(k,i)).toFixed(d)) + ' ' + sizes[i] + (bytes > k ? ' (' + numberWithCommas(bytes) + ' Bytes)' : '');
};
/*********************/
SC.event.addGlobalHandler(SC.event.QueryCommandButtons,function (eventArgs) {
switch (eventArgs.area) {
case 'HelpPopoutPanel':
if (SC.context.pageType == 'AdministrationPage') {
eventArgs.buttonDefinitions.push(
{ commandName: 'command_' + extensionId,
text: SC.res['Extension.GetServerInfo.CommandText']}
);
}
break;
}
});
SC.event.addGlobalHandler(SC.event.ExecuteCommand, function (eventArgs) {
switch(eventArgs.commandName)
{
case 'command_' + extensionId:
SC.util.includeStyleSheet(extensionContext.baseUrl + 'Style.css');
var isQuantity = function(item){ return item.indexOf("NumberOf") > -1 || item.indexOf("Count") > -1;};
var isSize = function(item){ return item.indexOf("Size") > -1 || item.indexOf("Memory") > -1;};
var showInMB = ["DatabaseSize","SessionFilesTotalSize","MemoryUsage","MemoryInUse","AllocatedMemory","PagedMemory","PrivateMemory"];
SC.dialog.showModalActivityBox(SC.res["Extension.GetServerInfo.LoadingLabel"],SC.res["Extension.GetServerInfo.LoadingText"]);
SC.service.GetServerInfo_89ecb38cf77242da85df5b0838729254(function(info){
SC.service.GetSessionDBConnectionString_89ecb38cf77242da85df5b0838729254(true, function(dbInfo){
SC.service.GetLicenseInfo(function (licenseInfo) {
var content = [];
var cbContent = [];
if (SC.res["Extension.GetServerInfo.Image.Show"] == "true")
content.push($div($div({className:"x89ecb38cImage"})));
var rows = [];
var sessionFilePath = "";
for (var i in info){
rows.push(
$div(
$div((SC.res["Extension.GetServerInfo.Label." + i] === undefined ? i.replace(/([a-z])([A-Z])/g, '$1 $2').replace(/([A-Z])([A-Z][a-z])/g, '$1 $2').replace("Screen Connect","ScreenConnect") : SC.res["Extension.GetServerInfo.Label." + i]) + ": "),
$div(isQuantity(i) ?
numberWithCommas(info[i]) :
(isSize(i) ?
getBestSizeFromBytes(info[i],3,i.indexOf("Memory") > -1) :
(info[i] == "Additional Permissions required to obtain DataBase Connection String." ?
dbInfo :
info[i]
)
)
)
)
);
cbContent.push(((SC.res["Extension.GetServerInfo.Label." + i] === undefined ? i.replace(/([a-z])([A-Z])/g, '$1 $2').replace(/([A-Z])([A-Z][a-z])/g, '$1 $2').replace("Screen Connect","ScreenConnect") : SC.res["Extension.GetServerInfo.Label." + i]) + ": ") +
(isQuantity(i) ?
numberWithCommas(info[i]) :
(isSize(i) ?
getBestSizeFromBytes(info[i],3,i.indexOf("Memory") > -1) :
info[i])));
}
var licenses = [];
var licenseString = "";
for (var l in licenseInfo.LicenseRuntimeInfos){
licenses.push($p(
$span(licenseInfo.LicenseRuntimeInfos[l].LicenseDescription),
$span(licenseInfo.LicenseRuntimeInfos[l].UsageReport !== "undefined" ? ' (Usage: ' + licenseInfo.LicenseRuntimeInfos[l].UsageReport + ')': ''),
$span((licenseInfo.LicenseRuntimeInfos[l].InitializationErrorMessage ? ' (ERROR: ' + licenseInfo.LicenseRuntimeInfos[l].InitializationErrorMessage + ')' : ''),{className:"Failure"})
));
licenseString += "\n" + licenseInfo.LicenseRuntimeInfos[l].LicenseDescription +
(licenseInfo.LicenseRuntimeInfos[l].UsageReport !== "undefined" ? ' (Usage: ' + licenseInfo.LicenseRuntimeInfos[l].UsageReport + ')': '') +
(licenseInfo.LicenseRuntimeInfos[l].InitializationErrorMessage ? ' (ERROR: ' + licenseInfo.LicenseRuntimeInfos[l].InitializationErrorMessage + ')' : '');
}
rows.push(
$div(
$div("License" + (licenseInfo.LicenseRuntimeInfos.length > 0 ? "s" : "") + ":"),
$div(licenses)
)
);
cbContent.push("License" + (licenseInfo.LicenseRuntimeInfos.length > 0 ? "s" : "") + ": " + licenseString );
var table = $div({className:"x89ecb38c"},rows);
content.push(table);
var titlePanel = SC.dialog.createTitlePanel(SC.res["Extension.GetServerInfo.DialogLabel"]);
var contentPanel = SC.dialog.createContentPanel(content);
var buttonPanel = SC.dialog.createButtonPanel();
SC.ui.addElement(buttonPanel,"input",{type:"button",value:"Copy Info",_commandName:"buttonClicked!!!",_commandArgument:cbContent.join("\n")});
SC.dialog.showModalDialogRaw("EditResource",[titlePanel,contentPanel,buttonPanel]);
});
});
});
break;
case "buttonClicked!!!":
var temp = SC.ui.createTextBox({value:eventArgs.commandArgument},true,false,"");
SC.ui.addContent(document.querySelector("body"),temp);
temp.select();
document.execCommand("Copy");
SC.ui.removeElement(temp);
break;
}
});
});</script>
<title>
ScreenConnect Remote Support Software
</title></head>
<body>
<script>
if (SC.context.deferLoad)
SC.ui.setVisible(document.body, false);
</script>
<div id="outerPanel">
<div id="headerPanel">
<div id="logoPanel">
</div>
<div id="navigationPanel">
</div>
<div id="evaluationPanel">
</div>
<div id="toolsPanel">
</div>
</div>
<div id="middlePanel">
<div>
<div id="welcomePanel"></div>
<div id="actionPanel"></div>
</div>
</div>
<div id="footerPanel">
</div>
</div>
<script>
SC.context.scriptBaseUrl = SC.util.getBaseUrl($('defaultScript').src);
</script>
<script>
SC.event.addGlobalHandler(SC.event.ExecuteCommand, function (eventArgs) {
var joinFilterFunc = null;
switch (eventArgs.commandName) {
case 'JoinBySessionID':
joinFilterFunc = function (s) { return s.SessionID == eventArgs.commandArgument; };
break;
case 'JoinByTag':
joinFilterFunc = function (s) { return s.Tag == eventArgs.commandArgument; };
break;
}
// IE only allows launching urls on actual clicks
if (joinFilterFunc != null && (SC.ui.doesClickDispatchCommand(eventArgs.commandElement) || !SC.util.isCapable(SC.util.Caps.InternetExplorer))) {
var sessions = SC.pagedata.get().Sessions.filter(joinFilterFunc);
if (sessions.length != 0) {
SC.launch.startJoinSession(
sessions[0],
function (sessionToken, promptFieldMap, onSuccess, onFailure) {
onSuccess(
SC.util.getClientLaunchParameters(
sessionToken.SessionID,
sessionToken.SessionType,
sessionToken.Name,
promptFieldMap.participantName.value,
null
)
);
},
SC.util.getSessionTypeBooleanResource('JoinPanel.{0}PromptVisible', sessions[0].SessionType),
SC.util.getSessionTypeResource('JoinPanel.{0}PromptMessage', sessions[0].SessionType),
{
participantName: {
labelText: SC.util.getSessionTypeResource('JoinPanel.{0}ParticipantNameLabelText', sessions[0].SessionType),
value: '',
visible: SC.util.getSessionTypeBooleanResource('JoinPanel.{0}PromptParticipantNameVisible', sessions[0].SessionType),
},
},
SC.util.getSessionTypeResource('JoinPanel.{0}PromptButtonText', sessions[0].SessionType)
);
}
}
});
SC.event.addGlobalHandler(SC.event.QueryParticipantJoinedCount, function (eventArgs) {
var sessionInfo = SC.pagedata.get();
var session = sessionInfo.Sessions.find(function (s) { return s.SessionID === eventArgs.clientLaunchParameters.s; });
if (session !== undefined)
eventArgs.participantJoinedCount = session.ActiveConnections.filter(function (ac) { return ac.ProcessType == SC.types.ProcessType.Guest && ac.ParticipantName == eventArgs.clientLaunchParameters.r; }).length;
});
SC.event.addGlobalHandler(SC.event.QueryPanels, function (eventArgs) {
switch (eventArgs.area) {
case 'GuestActionPanel':
eventArgs.panelDefinitions.push({
initProc: function (container) {
SC.ui.setContents(container, [
$div({ className: 'Loading' },
$div({ className: 'LoadingContent' })
)
]);
},
isVisibleProc: function (pass, previousPassVisibleCount, sessionInfo) {
return pass == 1 && sessionInfo == null;
}
});
eventArgs.panelDefinitions.push({
initProc: function (container) {
SC.ui.setContents(container, [
$a({ _commandName: 'JoinByTag', _commandArgument: 'DefaultSessionID', className: 'GoLink Medium' }),
$h2({ _htmlResource: 'GuestActionPanel.InvitationSession.Heading' }),
$p({ _htmlResource: 'GuestActionPanel.InvitationSession.Message' }),
]);
},
isVisibleProc: function (pass, previousPassVisibleCount, sessionInfo) {
return pass == 3 &&
previousPassVisibleCount == 0 &&
sessionInfo != null &&
sessionInfo.Sessions.find(function (s) { return s.Tag == 'DefaultSessionID'; });
}
});
eventArgs.panelDefinitions.push({
initProc: function (container) {
SC.ui.setContents(container, [
$h2({ _htmlResource: 'GuestActionPanel.CodeSession.Heading' }),
$p({ _htmlResource: 'GuestActionPanel.CodeSession.Message' }),
$a({ _commandName: 'JoinByTag', _commandArgument: 'DefaultCode', className: 'GoLink Medium' }),
$p(SC.ui.createSearchTextBox({ _commandName: 'JoinByTag', _commandArgument: 'DefaultCode', value: window.getTaggedSessionCode('DefaultCode') || '' })),
]);
SC.ui.addSearchHandler(SC.ui.findDescendentByTag(container, 'INPUT'), function (eventArgs) {
var sessionCode = SC.util.getTrimmedOrNull(SC.event.getElement(eventArgs).value);
window.setTaggedSessionCode('DefaultCode', sessionCode);
});
},
isVisibleProc: function (pass, previousPassVisibleCount, sessionInfo) {
return pass == 5 && previousPassVisibleCount == 0 && sessionInfo != null && sessionInfo.DoCodeSessionsExist;
},
refreshProc: function (container, sessionInfo, wasMadeVisible) {
SC.ui.setDisabled(
SC.ui.findDescendentByTag(container, 'A'),
!sessionInfo.Sessions.find(function (s) { return s.Tag == 'DefaultCode'; })
);
if (wasMadeVisible)
SC.ui.findDescendentByTag(container, 'INPUT').focus();
}
});
eventArgs.panelDefinitions.push({
initProc: function (container) {
SC.ui.setContents(container, [
$h2({ _htmlResource: 'GuestActionPanel.PublicSession.Heading' }),
$p({ _htmlResource: 'GuestActionPanel.PublicSession.Message' }),
$a({ _commandName: 'JoinBySessionID', className: 'GoLink Medium' }),
$p($select()),
]);
SC.event.addHandler(SC.ui.findDescendentByTag(container, 'SELECT'), 'change', function (eventArgs) {
var selectBox = SC.event.getElement(eventArgs);
SC.ui.findDescendentByTag(container, 'A')._commandArgument = selectBox.options[selectBox.selectedIndex].value;
});
},
isVisibleProc: function (pass, previousPassVisibleCount, sessionInfo) {
return pass == 5 && previousPassVisibleCount == 0 && sessionInfo != null && sessionInfo.Sessions.filter(function (s) { return s.IsPublic; }).length > 0;
},
refreshProc: function (container, sessionInfo, wasMadeVisible) {
var selectBox = SC.ui.findDescendentByTag(container, 'SELECT');
var link = SC.ui.findDescendentByTag(container, 'A');
SC.ui.setContents(selectBox,
sessionInfo.Sessions.filter(function (s) { return s.IsPublic; }).map(function (s) {
return $option({ value: s.SessionID }, s.Name)
})
);
var optionIndex = Array.prototype.findIndex.call(selectBox.options, function (o) { retu
{
"@category" : "datascan",
"@timestamp" : "2024-11-07T03:11:16.000Z",
"app" : {
"extract" : {
"domain" : [
"screenconnect.com"
],
"hostname" : [
"forum.screenconnect.com"
],
"ip" : [
"1.2.0.0"
],
"url" : [
"http://forum.screenconnect.com/yaf_topics8_Tips-and-Tricks.aspx"
]
},
"http" : {
"bodymd5" : "d3c5ef8f51b752dd25062b43bd65db41",
"bodymmh3" : 27925241,
"headermd5" : "88f604f1db13402dfb843b7340196a48",
"headermmh3" : 1802848889,
"title" : "ScreenConnect Remote Support Software"
},
"length" : 16384
},
"asn" : "AS9299",
"city" : "Taguig",
"country" : "PH",
"cpe" : "<enterprise field>: cpe",
"cpecount" : "<enterprise field>: cpecount",
"data" : "HTTP/1.1 200 OK\r\nCache-Control: private\r\nContent-Length: 26304\r\nContent-Type: text/html; charset=utf-8\r\nServer: ScreenConnect/5.5.10444.5898-1825972619 Microsoft-HTTPAPI/2.0\r\nP3P: CP=\"NON CUR OUR STP STA PRE\"\r\nDate: Thu, 07 Nov 2024 03:27:09 GMT\r\nConnection: close\r\n\r\n\r\n<!DOCTYPE html>\r\n<html>\r\n<head><meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" /><meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no\" />\r\n\t<script>\r\n\r\n\t\tfunction setTaggedSessionItem(map, tag, item) {\r\n\t\t\tif (!item && map[tag]) {\r\n\t\t\t\tdelete map[tag];\r\n\t\t\t\tSC.pagedata.notifyDirty();\r\n\t\t\t} else if (map[tag] != item) {\r\n\t\t\t\tmap[tag] = item;\r\n\t\t\t\tSC.pagedata.notifyDirty();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tfunction setTaggedSessionCode(tag, sessionCode) {\r\n\t\t\twindow.setTaggedSessionItem(window._sessionCodesByTag, tag, sessionCode);\r\n\t\t}\r\n\r\n\t\tfunction getTaggedSessionCode(tag) {\r\n\t\t\treturn window._sessionCodesByTag[tag];\r\n\t\t}\r\n\r\n\t\tfunction setTaggedSessionID(tag, sessionID) {\r\n\t\t\twindow.setTaggedSessionItem(window._sessionIDsByTag, tag, sessionID);\r\n\t\t}\r\n\r\n\t</script>\r\n<script src=\"Script.ashx?__Cache=3d1d18cb-875a-4ea6-b4e4-4f7ecacc0c23\" id=\"defaultScript\"></script>\r\n<link href=\"App_Themes/SolidWithRed/Default.css?__Cache=12a578c2-d7fd-4e82-8f69-5fe3fe93aea1\" type=\"text/css\" rel=\"stylesheet\" /><link href=\"FavIcon.axd?__Cache=816541c2-26f5-4329-b737-329b575b74fc\" rel=\"shortcut icon\" />\r\n<script>SC.util.mergeIntoContext({\"deferLoad\":true,\"userDisplayName\":\"\",\"isUserAuthenticated\":false,\"isUserAdministrator\":false,\"loginUrl\":\"/Login\",\"loginReturnUrlParameterName\":\"ReturnUrl\",\"loginReasonParameterName\":\"Reason\",\"pageBaseFileName\":\"Guest\",\"guestPageUrl\":\"\",\"hostPageUrl\":\"Host\",\"administrationPageUrl\":\"Administration\",\"notifyActivityFrequencyMilliseconds\":600000,\"loginAfterInactivityMilliseconds\":0,\"canChangePassword\":false,\"changePasswordUrl\":\"ChangePassword\",\"controlPanelUrl\":null,\"pageType\":\"GuestPage\",\"processType\":2,\"remainingEvaluationDayCount\":null,\"evaluationPurchaseUrl\":null,\"userAgentOverride\":null});</script>\r\n<script>SC.extension.addInitializeProc('2e5882e3-fb36-4ad4-bdf7-0f14f3bdcf7e', function (extensionContext) {\r\nSC.event.addGlobalHandler(SC.event.PreRender, function (eventArgs) {\r\n\tvar logoImage = document.getElementById('logoImage');\r\n\t\r\n\tif (extensionContext.settingValues.LogoImageLinkURL !== ''){\r\n\t\tlogoImage.onclick=function() {\r\n\t\t\twindow.open(SC.util.sanitizeUrl(extensionContext.settingValues.LogoImageLinkURL));\r\n\t\t};\r\n\t\tlogoImage.onmouseover=function(){\r\n\t\t\tlogoImage.style.cursor = \"pointer\";\r\n\t\t};\r\n\t}\r\n});\r\n});</script>\r\n<script>SC.extension.addInitializeProc('89ecb38c-f772-42da-85df-5b0838729254', function (extensionContext) {\r\n/** Get Server Info v 1.2.0.0 **/\nvar extensionId = extensionContext.baseUrl.split(\"/\").slice(-2)[0];\n\n/***** Extension Help Option *****/\nvar helpLink = \"http://forum.screenconnect.com/yaf_topics8_Tips-and-Tricks.aspx\";\n\nSC.event.addGlobalHandler(SC.event.QueryCommandButtonState, function(eventArgs){\n\tswitch(eventArgs.commandName) {\n\t\tcase 'EditExtensionSettings':\n\t\t\tif (eventArgs.commandContext.extensionInfo.ExtensionID == extensionId && eventArgs.commandElement._commandName == \"EditExtensionSettings\"){\n\t\t\t\tSC.ui.addElement(eventArgs.target.parentElement,\"A\",{href:\"#\",_commandName:'command_' + extensionId,_innerText:SC.res['Extension.GetServerInfo.CommandText']});\n\t\t\t\tSC.ui.addElement(eventArgs.target.parentElement,\"A\",{href:\"#\",_commandName:'OpenHelpLink_' + extensionId,_innerText:SC.res['Command.Help.Text'].replace(\" \u25bd\",\"\")});\n\t\t\t}\n\t\tbreak;\n\t}\n});\nSC.event.addGlobalHandler(SC.event.ExecuteCommand, function(eventArgs){\n\tswitch (eventArgs.commandName) {\n\t\tcase 'ShowHelpLink_' + extensionId:\n\t\t\tSC.dialog.showModalPage(SC.res['Command.Help.Text'].replace(\" \u25bd\",\"\"), helpLink, null);\n\t\tbreak;\n\t\tcase 'OpenHelpLink_' + extensionId:\n\t\t\twindow.open(helpLink, \"_blank\");\n\t\tbreak;\n\t}\n});\n/*********************************/\n\n/***** FUNCTIONS *****/\n\nvar numberWithCommas = function(x) {\n x = x.toString();\n var pattern = /(-?\\d+)(\\d{3})/;\n while (pattern.test(x))\n x = x.replace(pattern, \"$1,$2\");\n return x;\n};\n\nvar getBestSizeFromBytes = function (sizeInBytes, decimals, useBinaryPrefix){\n\tvar bytes = parseFloat(sizeInBytes);\n\tif (isNaN(bytes)) return null;\n\tif (bytes <= 1) return bytes.toFixed(0) + ' Byte';\n\tvar sizes = useBinaryPrefix ? ['Bytes', 'KiB', 'MiB', 'GiB', 'TiB', 'PiB', 'EiB', 'ZiB', 'YiB'] : ['Bytes', 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];\n\tvar d = decimals || 3;\n\tvar k = useBinaryPrefix ? 1024 : 1000;\n\tvar i = Math.floor(Math.log(bytes) / Math.log(k));\n\treturn parseFloat((bytes / Math.pow(k,i)).toFixed(d)) + ' ' + sizes[i] + (bytes > k ? ' (' + numberWithCommas(bytes) + ' Bytes)' : '');\n};\n/*********************/\n\n\nSC.event.addGlobalHandler(SC.event.QueryCommandButtons,function (eventArgs) {\n\tswitch (eventArgs.area) {\n\t\tcase 'HelpPopoutPanel':\n\t\t\tif (SC.context.pageType == 'AdministrationPage') {\n\t\t\t\teventArgs.buttonDefinitions.push(\n\t\t\t\t\t{ commandName: 'command_' + extensionId,\n\t\t\t\t\t\ttext: SC.res['Extension.GetServerInfo.CommandText']}\n\t\t\t\t);\n\t\t\t}\n\t\tbreak;\n\t}\n});\n\nSC.event.addGlobalHandler(SC.event.ExecuteCommand, function (eventArgs) {\n\tswitch(eventArgs.commandName)\n\t{\n\t\t\n\t\tcase 'command_' + extensionId:\n\t\t\tSC.util.includeStyleSheet(extensionContext.baseUrl + 'Style.css');\n\t\t\tvar isQuantity = function(item){ return item.indexOf(\"NumberOf\") > -1 || item.indexOf(\"Count\") > -1;};\n\t\t\tvar isSize = function(item){ return item.indexOf(\"Size\") > -1 || item.indexOf(\"Memory\") > -1;};\n\t\t\tvar showInMB = [\"DatabaseSize\",\"SessionFilesTotalSize\",\"MemoryUsage\",\"MemoryInUse\",\"AllocatedMemory\",\"PagedMemory\",\"PrivateMemory\"];\n\t\t\tSC.dialog.showModalActivityBox(SC.res[\"Extension.GetServerInfo.LoadingLabel\"],SC.res[\"Extension.GetServerInfo.LoadingText\"]);\n\t\t\tSC.service.GetServerInfo_89ecb38cf77242da85df5b0838729254(function(info){\n\t\t\tSC.service.GetSessionDBConnectionString_89ecb38cf77242da85df5b0838729254(true, function(dbInfo){\n\t\t\tSC.service.GetLicenseInfo(function (licenseInfo) {\n\t\t\t\tvar content = [];\n\t\t\t\tvar cbContent = [];\n\t\t\t\tif (SC.res[\"Extension.GetServerInfo.Image.Show\"] == \"true\")\n\t\t\t\t\tcontent.push($div($div({className:\"x89ecb38cImage\"})));\n\t\t\t\tvar rows = [];\n\t\t\t\tvar sessionFilePath = \"\";\n\t\t\t\tfor (var i in info){\n\t\t\t\t\trows.push(\n\t\t\t\t\t\t$div(\n\t\t\t\t\t\t\t$div((SC.res[\"Extension.GetServerInfo.Label.\" + i] === undefined ? i.replace(/([a-z])([A-Z])/g, '$1 $2').replace(/([A-Z])([A-Z][a-z])/g, '$1 $2').replace(\"Screen Connect\",\"ScreenConnect\") : SC.res[\"Extension.GetServerInfo.Label.\" + i]) + \": \"),\n\t\t\t\t\t\t\t$div(isQuantity(i) ?\n\t\t\t\t\t\t\t\tnumberWithCommas(info[i]) :\n\t\t\t\t\t\t\t\t(isSize(i) ?\n\t\t\t\t\t\t\t\t\tgetBestSizeFromBytes(info[i],3,i.indexOf(\"Memory\") > -1) :\n\t\t\t\t\t\t\t\t\t(info[i] == \"Additional Permissions required to obtain DataBase Connection String.\" ?\n\t\t\t\t\t\t\t\t\t\tdbInfo : \n\t\t\t\t\t\t\t\t\t\tinfo[i]\n\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t);\n\t\t\t\t\tcbContent.push(((SC.res[\"Extension.GetServerInfo.Label.\" + i] === undefined ? i.replace(/([a-z])([A-Z])/g, '$1 $2').replace(/([A-Z])([A-Z][a-z])/g, '$1 $2').replace(\"Screen Connect\",\"ScreenConnect\") : SC.res[\"Extension.GetServerInfo.Label.\" + i]) + \": \") + \n\t\t\t\t\t\t(isQuantity(i) ?\n\t\t\t\t\t\t\t\tnumberWithCommas(info[i]) :\n\t\t\t\t\t\t\t\t(isSize(i) ?\n\t\t\t\t\t\t\t\t\tgetBestSizeFromBytes(info[i],3,i.indexOf(\"Memory\") > -1) :\n\t\t\t\t\t\t\t\t\tinfo[i])));\n\t\t\t\t}\n\t\t\t\tvar licenses = [];\n\t\t\t\tvar licenseString = \"\";\n\t\t\t\tfor (var l in licenseInfo.LicenseRuntimeInfos){\n\t\t\t\t\tlicenses.push($p(\n\t\t\t\t\t\t$span(licenseInfo.LicenseRuntimeInfos[l].LicenseDescription),\n\t\t\t\t\t\t$span(licenseInfo.LicenseRuntimeInfos[l].UsageReport !== \"undefined\" ? ' (Usage: ' + licenseInfo.LicenseRuntimeInfos[l].UsageReport + ')': ''),\n\t\t\t\t\t\t$span((licenseInfo.LicenseRuntimeInfos[l].InitializationErrorMessage ? ' (ERROR: ' + licenseInfo.LicenseRuntimeInfos[l].InitializationErrorMessage + ')' : ''),{className:\"Failure\"})\n\t\t\t\t\t));\n\t\t\t\t\tlicenseString += \"\\n\" + licenseInfo.LicenseRuntimeInfos[l].LicenseDescription +\n\t\t\t\t\t(licenseInfo.LicenseRuntimeInfos[l].UsageReport !== \"undefined\" ? ' (Usage: ' + licenseInfo.LicenseRuntimeInfos[l].UsageReport + ')': '') + \n\t\t\t\t\t(licenseInfo.LicenseRuntimeInfos[l].InitializationErrorMessage ? ' (ERROR: ' + licenseInfo.LicenseRuntimeInfos[l].InitializationErrorMessage + ')' : '');\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\trows.push(\n\t\t\t\t\t$div(\n\t\t\t\t\t\t$div(\"License\" + (licenseInfo.LicenseRuntimeInfos.length > 0 ? \"s\" : \"\") + \":\"),\n\t\t\t\t\t\t$div(licenses)\n\t\t\t\t\t)\n\t\t\t\t);\n\t\t\t\tcbContent.push(\"License\" + (licenseInfo.LicenseRuntimeInfos.length > 0 ? \"s\" : \"\") + \": \" + licenseString );\n\n\t\t\t\tvar table = $div({className:\"x89ecb38c\"},rows);\n\t\t\t\tcontent.push(table);\n\t\t\t\tvar titlePanel = SC.dialog.createTitlePanel(SC.res[\"Extension.GetServerInfo.DialogLabel\"]);\n\t\t\t\tvar contentPanel = SC.dialog.createContentPanel(content);\n\t\t\t\tvar buttonPanel = SC.dialog.createButtonPanel();\n\t\t\t\tSC.ui.addElement(buttonPanel,\"input\",{type:\"button\",value:\"Copy Info\",_commandName:\"buttonClicked!!!\",_commandArgument:cbContent.join(\"\\n\")});\n\t\t\t\tSC.dialog.showModalDialogRaw(\"EditResource\",[titlePanel,contentPanel,buttonPanel]);\n\t\t\t});\n\t\t\t});\n\t\t\t});\n\t\tbreak;\n\t\tcase \"buttonClicked!!!\":\n\t\t\tvar temp = SC.ui.createTextBox({value:eventArgs.commandArgument},true,false,\"\");\n\t\t\tSC.ui.addContent(document.querySelector(\"body\"),temp);\n\t\t\ttemp.select();\n\t\t\tdocument.execCommand(\"Copy\");\n\t\t\tSC.ui.removeElement(temp);\n \tbreak;\n\t}\n});\n\n\r\n});</script>\r\n<title>\r\n\tScreenConnect Remote Support Software\r\n</title></head>\r\n<body>\r\n\t<script>\r\n\t\tif (SC.context.deferLoad)\r\n\t\t\tSC.ui.setVisible(document.body, false);\r\n\t</script>\r\n\t<div id=\"outerPanel\">\r\n\t\t<div id=\"headerPanel\">\r\n\t\t\t<div id=\"logoPanel\">\r\n\t\t\t</div>\r\n\t\t\t<div id=\"navigationPanel\">\r\n\t\t\t</div>\r\n\t\t\t<div id=\"evaluationPanel\">\r\n\t\t\t</div>\r\n\t\t\t<div id=\"toolsPanel\">\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t\t<div id=\"middlePanel\">\r\n\t\t\t\r\n\t<div>\r\n\t\t<div id=\"welcomePanel\"></div>\r\n\t\t<div id=\"actionPanel\"></div>\r\n\t</div>\r\n\r\n\t\t</div>\r\n\t\t<div id=\"footerPanel\">\r\n\t\t\t\r\n\t\t</div>\r\n\t</div>\r\n\t<script>\r\n\t\tSC.context.scriptBaseUrl = SC.util.getBaseUrl($('defaultScript').src);\r\n\t</script>\r\n\t\r\n\t<script>\r\n\r\n\t\tSC.event.addGlobalHandler(SC.event.ExecuteCommand, function (eventArgs) {\r\n\t\t\tvar joinFilterFunc = null;\r\n\r\n\t\t\tswitch (eventArgs.commandName) {\r\n\t\t\t\tcase 'JoinBySessionID':\r\n\t\t\t\t\tjoinFilterFunc = function (s) { return s.SessionID == eventArgs.commandArgument; };\r\n\t\t\t\t\tbreak;\r\n\t\t\t\tcase 'JoinByTag':\r\n\t\t\t\t\tjoinFilterFunc = function (s) { return s.Tag == eventArgs.commandArgument; };\r\n\t\t\t\t\tbreak;\r\n\t\t\t}\r\n\r\n\t\t\t// IE only allows launching urls on actual clicks\r\n\t\t\tif (joinFilterFunc != null && (SC.ui.doesClickDispatchCommand(eventArgs.commandElement) || !SC.util.isCapable(SC.util.Caps.InternetExplorer))) {\r\n\t\t\t\tvar sessions = SC.pagedata.get().Sessions.filter(joinFilterFunc);\r\n\r\n\t\t\t\tif (sessions.length != 0) {\r\n\t\t\t\t\tSC.launch.startJoinSession(\r\n\t\t\t\t\t\tsessions[0],\r\n\t\t\t\t\t\tfunction (sessionToken, promptFieldMap, onSuccess, onFailure) {\r\n\t\t\t\t\t\t\tonSuccess(\r\n\t\t\t\t\t\t\t\tSC.util.getClientLaunchParameters(\r\n\t\t\t\t\t\t\t\t\tsessionToken.SessionID,\r\n\t\t\t\t\t\t\t\t\tsessionToken.SessionType,\r\n\t\t\t\t\t\t\t\t\tsessionToken.Name,\r\n\t\t\t\t\t\t\t\t\tpromptFieldMap.participantName.value,\r\n\t\t\t\t\t\t\t\t\tnull\r\n\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tSC.util.getSessionTypeBooleanResource('JoinPanel.{0}PromptVisible', sessions[0].SessionType),\r\n\t\t\t\t\t\tSC.util.getSessionTypeResource('JoinPanel.{0}PromptMessage', sessions[0].SessionType),\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tparticipantName: {\r\n\t\t\t\t\t\t\t\tlabelText: SC.util.getSessionTypeResource('JoinPanel.{0}ParticipantNameLabelText', sessions[0].SessionType),\r\n\t\t\t\t\t\t\t\tvalue: '',\r\n\t\t\t\t\t\t\t\tvisible: SC.util.getSessionTypeBooleanResource('JoinPanel.{0}PromptParticipantNameVisible', sessions[0].SessionType),\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tSC.util.getSessionTypeResource('JoinPanel.{0}PromptButtonText', sessions[0].SessionType)\r\n\t\t\t\t\t);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tSC.event.addGlobalHandler(SC.event.QueryParticipantJoinedCount, function (eventArgs) {\r\n\t\t\tvar sessionInfo = SC.pagedata.get();\r\n\t\t\tvar session = sessionInfo.Sessions.find(function (s) { return s.SessionID === eventArgs.clientLaunchParameters.s; });\r\n\r\n\t\t\tif (session !== undefined)\r\n\t\t\t\teventArgs.participantJoinedCount = session.ActiveConnections.filter(function (ac) { return ac.ProcessType == SC.types.ProcessType.Guest && ac.ParticipantName == eventArgs.clientLaunchParameters.r; }).length;\r\n\t\t});\r\n\r\n\t\tSC.event.addGlobalHandler(SC.event.QueryPanels, function (eventArgs) {\r\n\t\t\tswitch (eventArgs.area) {\r\n\t\t\t\tcase 'GuestActionPanel':\r\n\t\t\t\t\teventArgs.panelDefinitions.push({\r\n\t\t\t\t\t\tinitProc: function (container) {\r\n\t\t\t\t\t\t\tSC.ui.setContents(container, [\r\n\t\t\t\t\t\t\t\t$div({ className: 'Loading' },\r\n\t\t\t\t\t\t\t\t\t$div({ className: 'LoadingContent' })\r\n\t\t\t\t\t\t\t\t)\r\n\t\t\t\t\t\t\t]);\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tisVisibleProc: function (pass, previousPassVisibleCount, sessionInfo) {\r\n\t\t\t\t\t\t\treturn pass == 1 && sessionInfo == null;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\teventArgs.panelDefinitions.push({\r\n\t\t\t\t\t\tinitProc: function (container) {\r\n\t\t\t\t\t\t\tSC.ui.setContents(container, [\r\n\t\t\t\t\t\t\t\t$a({ _commandName: 'JoinByTag', _commandArgument: 'DefaultSessionID', className: 'GoLink Medium' }),\r\n\t\t\t\t\t\t\t\t$h2({ _htmlResource: 'GuestActionPanel.InvitationSession.Heading' }),\r\n\t\t\t\t\t\t\t\t$p({ _htmlResource: 'GuestActionPanel.InvitationSession.Message' }),\r\n\t\t\t\t\t\t\t]);\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tisVisibleProc: function (pass, previousPassVisibleCount, sessionInfo) {\r\n\t\t\t\t\t\t\treturn pass == 3 &&\r\n\t\t\t\t\t\t\t\tpreviousPassVisibleCount == 0 &&\r\n\t\t\t\t\t\t\t\tsessionInfo != null &&\r\n\t\t\t\t\t\t\t\tsessionInfo.Sessions.find(function (s) { return s.Tag == 'DefaultSessionID'; });\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\teventArgs.panelDefinitions.push({\r\n\t\t\t\t\t\tinitProc: function (container) {\r\n\t\t\t\t\t\t\tSC.ui.setContents(container, [\r\n\t\t\t\t\t\t\t\t$h2({ _htmlResource: 'GuestActionPanel.CodeSession.Heading' }),\r\n\t\t\t\t\t\t\t\t$p({ _htmlResource: 'GuestActionPanel.CodeSession.Message' }),\r\n\t\t\t\t\t\t\t\t$a({ _commandName: 'JoinByTag', _commandArgument: 'DefaultCode', className: 'GoLink Medium' }),\r\n\t\t\t\t\t\t\t\t$p(SC.ui.createSearchTextBox({ _commandName: 'JoinByTag', _commandArgument: 'DefaultCode', value: window.getTaggedSessionCode('DefaultCode') || '' })),\r\n\t\t\t\t\t\t\t]);\r\n\r\n\t\t\t\t\t\t\tSC.ui.addSearchHandler(SC.ui.findDescendentByTag(container, 'INPUT'), function (eventArgs) {\r\n\t\t\t\t\t\t\t\tvar sessionCode = SC.util.getTrimmedOrNull(SC.event.getElement(eventArgs).value);\r\n\t\t\t\t\t\t\t\twindow.setTaggedSessionCode('DefaultCode', sessionCode);\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tisVisibleProc: function (pass, previousPassVisibleCount, sessionInfo) {\r\n\t\t\t\t\t\t\treturn pass == 5 && previousPassVisibleCount == 0 && sessionInfo != null && sessionInfo.DoCodeSessionsExist;\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\trefreshProc: function (container, sessionInfo, wasMadeVisible) {\r\n\t\t\t\t\t\t\tSC.ui.setDisabled(\r\n\t\t\t\t\t\t\t\tSC.ui.findDescendentByTag(container, 'A'),\r\n\t\t\t\t\t\t\t\t!sessionInfo.Sessions.find(function (s) { return s.Tag == 'DefaultCode'; })\r\n\t\t\t\t\t\t\t);\r\n\r\n\t\t\t\t\t\t\tif (wasMadeVisible)\r\n\t\t\t\t\t\t\t\tSC.ui.findDescendentByTag(container, 'INPUT').focus();\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\teventArgs.panelDefinitions.push({\r\n\t\t\t\t\t\tinitProc: function (container) {\r\n\t\t\t\t\t\t\tSC.ui.setContents(container, [\r\n\t\t\t\t\t\t\t\t$h2({ _htmlResource: 'GuestActionPanel.PublicSession.Heading' }),\r\n\t\t\t\t\t\t\t\t$p({ _htmlResource: 'GuestActionPanel.PublicSession.Message' }),\r\n\t\t\t\t\t\t\t\t$a({ _commandName: 'JoinBySessionID', className: 'GoLink Medium' }),\r\n\t\t\t\t\t\t\t\t$p($select()),\r\n\t\t\t\t\t\t\t]);\r\n\r\n\t\t\t\t\t\t\tSC.event.addHandler(SC.ui.findDescendentByTag(container, 'SELECT'), 'change', function (eventArgs) {\r\n\t\t\t\t\t\t\t\tvar selectBox = SC.event.getElement(eventArgs);\r\n\t\t\t\t\t\t\t\tSC.ui.findDescendentByTag(container, 'A')._commandArgument = selectBox.options[selectBox.selectedIndex].value;\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tisVisibleProc: function (pass, previousPassVisibleCount, sessionInfo) {\r\n\t\t\t\t\t\t\treturn pass == 5 && previousPassVisibleCount == 0 && sessionInfo != null && sessionInfo.Sessions.filter(function (s) { return s.IsPublic; }).length > 0;\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\trefreshProc: function (container, sessionInfo, wasMadeVisible) {\r\n\t\t\t\t\t\t\tvar selectBox = SC.ui.findDescendentByTag(container, 'SELECT');\r\n\t\t\t\t\t\t\tvar link = SC.ui.findDescendentByTag(container, 'A');\r\n\r\n\t\t\t\t\t\t\tSC.ui.setContents(selectBox,\r\n\t\t\t\t\t\t\t\tsessionInfo.Sessions.filter(function (s) { return s.IsPublic; }).map(function (s) {\r\n\t\t\t\t\t\t\t\t\treturn $option({ value: s.SessionID }, s.Name)\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t);\r\n\r\n\t\t\t\t\t\t\tvar optionIndex = Array.prototype.findIndex.call(selectBox.options, function (o) { retu",
"datamd5" : "cbf5fbaa6359f58118ef4b3120cd9317",
"datammh3" : 1984217793,
"device" : {
"class" : "<enterprise field>: device.class"
},
"geolocus" : {
"asn" : "AS9299",
"continent" : "AS",
"continentname" : "Asia",
"country" : "PH",
"countryname" : "Philippines",
"domain" : [
"pldt.com.ph",
"pldt.net"
],
"isineu" : "false",
"latitude" : "12.879721",
"location" : "12.879721,121.774017",
"longitude" : "121.774017",
"netname" : "PREMIUM",
"organization" : "Philippine Long Distance Telephone Co.",
"subnet" : "115.146.192.0/18"
},
"ip" : "115.146.245.3",
"ipv6" : "false",
"latitude" : "14.5185",
"location" : "14.5185,121.0689",
"longitude" : "121.0689",
"node" : {
"country" : "<enterprise field>: node.country",
"groupid" : "<enterprise field>: node.groupid",
"id" : "<enterprise field>: node.id",
"physicalcountry" : "<enterprise field>: node.physicalcountry"
},
"organization" : "Philippine Long Distance Telephone Company",
"os" : "Linux",
"osdistribution" : "sUse",
"osvendor" : "Linux",
"port" : 63256,
"product" : "Control",
"productvendor" : "ConnectWise",
"productversion" : "5.5.10444.5898",
"protocol" : "http",
"protocolversion" : "1.1",
"reason" : "OK",
"seen_date" : "2024-11-07",
"source" : "datascan",
"status" : 200,
"subnet" : "115.146.192.0/18",
"tag" : "<enterprise field>: tag",
"tls" : "false",
"transport" : "tcp",
"url" : "/"
}