问题反馈

正在加载统计信息......
Query: asn="134762", Total results: 292,661 (IP results: ),took 37 ms,mode: extended.
默认只显示一年内的数据,点击 all 链接查看所有。
HTTP/1.1 200 OK Date: Sat, 15 May 2021 11:12:11 GMT Content-Type: text/html; charset=utf-8 Connection: close Vary: Accept-Encoding Server: RainLoop Expires: Mon, 26 Jul 1997 05:00:00 GMT Last-Modified: Sat, 15 May 2021 11:12:11 GMT Cache-Control: no-store, no-cache, must-revalidate, max-age=0 Cache-Control: post-check=0, pre-check=0 Pragma: no-cache
43.226.33.79
Remote Desktop Protocol \x03\x00\x00\x13\x0e\xd0\x00\x00\x124\x00\x02\x0f\x08\x00\x00\x00\x00\x00 Flag: PROTOCOL_RDP
HTTP/1.1 200 OK Connection: close Content-Length: 997 Accept-Ranges: bytes Content-Type: text/html Etag: W/"997-1589183814000" Last-Modified: Mon, 11 May 2020 07:56:54 GMT Server: GlassFish Server Open Source Edition 5.0 X-Powered-By: Servlet/3.1 JSP/2.3 (GlassFish Server Open Source Edition 5.0 Java/Oracle Corporation/1.8)
59.46.157.7
HTTP/1.1 302 Moved Temporarily Server: Alteon (D.S.) Server Location: /webui/default.html Content-Type: text/html Content-Length: 87
Version: v3 Serial Number: 1496955293 Signature Algorithm: SHA256-RSA (self-signed) Issuer: CommonName: Default_Generated_Alteon_BBI_Cert Validity: Not Before: 2017-06-08 20:54 UTC Not After : 2018-06-08 20:54 UTC Subject: CommonName: Default_Generated_Alteon_BBI_Cert Subject Public Key Info: Public Key Algorithm: RSA Public Key: Exponent: 65537 Public Key Modulus: (2048 bits) : C7:CD:4E:34:04:98:7F:B2:99:5D:89:22:8F:4F:E4:C5: B0:5F:19:31:0A:DE:5B:20:E2:82:66:11:FB:02:C8:12: 11:20:F6:2C:E9:FE:94:43:F6:80:4D:88:42:9F:C6:1D: D7:52:89:38:1C:3F:C6:A9:0B:13:18:2C:F0:98:F2:61: 0A:04:76:42:D0:40:E7:07:78:58:63:8C:2E:7E:02:89: EB:0A:B3:86:12:FC:13:DD:F2:70:85:2E:8A:2E:22:DB: A3:CE:34:9E:FC:4E:04:DF:80:CC:11:B9:B7:EB:D2:5E: E3:D6:31:2A:11:B3:AF:A6:F5:42:F2:27:DB:8B:02:1A: 62:E8:2F:00:BF:27:28:39:8F:44:D2:6A:00:DB:2D:E3: 62:F4:52:0A:96:79:10:9F:44:3F:D9:8D:47:9E:A6:38: 0C:69:C9:56:A8:A0:5B:77:1E:7B:6F:B0:6F:AB:A7:A3: 1B:CF:D5:4E:09:08:97:85:70:BE:18:C7:86:7B:96:3E: 26:1B:EF:CE:89:D4:94:9D:7F:62:D3:ED:7F:72:2D:49: 64:B3:01:59:BB:0C:06:30:17:86:65:18:72:27:F8:78: 55:1D:13:8D:84:E3:D4:38:39:BA:DD:CC:DF:8F:66:AB: F4:31:93:FA:2A:E7:A0:3D:3D:35:4A:CC:DF:3D:78:BD Authority Key Identifier: B6:D7:DF:B8:89:AD:B1:A8:15:F7:34:B6:55:C2:E8:E5:27:69:EC:37 Subject Key Identifier: B6:D7:DF:B8:89:AD:B1:A8:15:F7:34:B6:55:C2:E8:E5:27:69:EC:37 Basic Constraints: CA : true Path Length Constraint: UNLIMITED Key Usage: Digital Signature Content Commitment Key Encipherment Key Agreement Cert Sign Certificate Signature Algorithm: SHA256-RSA Certificate Signature: 30:F4:66:F3:F9:46:0B:49:BF:63:82:0C:79:1A:99:91: FD:A7:FB:D9:96:A7:B5:DB:35:92:F9:4B:F3:C8:A6:D7: AB:32:96:2D:43:B8:9A:EE:48:40:17:52:23:2C:0F:5E: E4:DA:BA:45:44:24:97:6A:88:D3:39:C0:BA:F2:5C:31: C4:A5:73:6F:55:4E:9E:8D:8A:19:A2:7F:F1:DD:01:25: 5C:85:9C:EA:74:59:67:E0:32:3D:91:45:E8:FE:2A:A6: 79:B9:92:66:AE:B3:D3:8D:69:FD:2C:4A:D1:45:E1:80: 64:C3:3E:46:36:40:A1:AE:3C:2A:A8:F2:E7:26:FA:59: 7D:CA:C8:AD:61:B3:DF:96:79:79:F2:09:23:9F:84:F2: 82:0D:F8:CB:A5:CE:9F:46:40:0F:13:AA:C2:AF:3A:72: 2D:B4:60:0D:0D:03:C4:56:6A:67:28:C4:CF:3E:D8:8F: C4:BB:5C:5E:94:79:10:26:67:5C:1D:84:D3:0F:60:A0: 70:71:E1:F6:1F:84:13:0D:EB:34:12:5A:E5:08:73:F2: CB:0D:51:7E:C0:58:51:C7:C3:BA:B9:03:DF:1B:23:A0: 93:54:B9:5B:B1:7B:E8:3E:F5:2A:FB:C2:2F:CA:59:E2: 0F:2F:20:BD:54:5C:43:1C:6B:20:51:31:E3:49:80:7B
43.226.33.83
Remote Desktop Protocol \x03\x00\x00\x13\x0e\xd0\x00\x00\x124\x00\x02\x0f\x08\x00\x00\x00\x00\x00 Flag: PROTOCOL_RDP Target_Name: JeTRcc279472 Product_Version: 6.3.9600 Ntlm 15 OS: Windows 8.1/Windows Server 2012 R2 NetBIOS_Domain_Name: JeTRcc279472 NetBIOS_Computer_Name: JeTRcc279472 DNS_Domain_Name: JeTRcc279472 DNS_Computer_Name: JeTRcc279472 System_Time: 2021-05-15 11:05:05 +0000 UTC
Version: v3 Serial Number: 84017828726555176337426713368678031995 Signature Algorithm: SHA1-RSA Issuer: CommonName: WIN-M92CVAPG01P Validity: Not Before: 2020-09-15 06:38 UTC Not After : 2021-03-17 06:38 UTC Subject: CommonName: WIN-M92CVAPG01P Subject Public Key Info: Public Key Algorithm: RSA Public Key: Exponent: 65537 Public Key Modulus: (2048 bits) : 9F:68:7F:C3:BC:90:C6:40:7E:C9:C0:5F:57:06:77:F8: 07:BC:83:FD:6E:D6:7A:66:9C:0D:5F:2E:52:59:08:01: B0:77:4A:EB:A1:C0:FC:60:AD:61:8D:57:47:BD:28:19: B0:3F:41:22:11:7F:E2:B0:64:81:CC:2F:F8:06:91:6F: 2E:70:FF:80:39:C0:B6:BB:E0:07:4F:D7:BF:DE:58:9D: 99:CB:2C:65:E0:E1:B6:FB:79:48:D2:4D:4C:51:5E:2B: 5D:19:17:06:91:B7:F9:C4:46:05:C5:E4:07:F1:00:19: 1A:08:EE:7A:5B:D5:70:BA:81:15:A6:9A:4A:84:7B:03: A3:ED:FE:DA:53:BB:35:FD:D0:FB:41:C8:8D:C2:34:C3: 8F:39:5F:99:9D:3B:09:22:74:B3:1E:19:EB:69:41:50: 09:96:90:46:D9:2A:94:AD:12:F0:DA:41:62:5D:F3:C5: 35:F9:C5:4E:E8:CD:24:DA:3B:C9:65:63:BE:DC:A7:DD: E3:F2:AC:8F:BC:DB:F2:86:18:61:45:5B:01:63:D8:68: B6:E3:42:DD:80:11:58:C4:6C:08:AA:76:16:C0:EB:BA: BA:43:89:BB:1C:49:AA:5F:D0:27:04:85:0F:9F:53:57: DC:29:AB:FD:07:A8:78:E3:5C:67:D1:DC:90:FD:03:FF Key Usage: Key Encipherment Data Encipherment Extended Key Usage: Server Auth Certificate Signature Algorithm: SHA1-RSA Certificate Signature: 60:87:87:79:CD:43:C9:A0:72:11:69:B8:71:62:A1:24: 4E:18:E8:66:49:12:CF:3B:8A:00:93:DC:0A:48:7B:A0: 2F:80:ED:36:91:74:5B:3D:97:65:DD:1B:45:53:AD:A9: B0:31:CF:43:5F:10:49:E0:7D:15:E5:75:8D:08:5C:79: BC:41:5A:9F:52:29:9E:D9:00:06:6E:1C:9C:3E:3D:E7: 87:52:C2:9F:66:7D:F9:62:38:C0:40:B1:57:1F:89:BF: 4F:D1:F2:3E:77:45:15:DC:65:9D:E5:2F:D0:0A:23:62: C2:2C:37:D5:58:9F:B7:75:E3:4B:00:2C:04:65:40:63: 74:E9:B9:05:6E:A2:E6:AE:54:19:59:08:2B:34:3A:D4: 52:BA:FD:01:3F:1F:A8:7E:0B:31:FF:4E:C1:51:8D:23: D4:B9:CD:91:70:95:EC:CB:E9:1D:B6:43:A2:89:8A:2C: 66:AD:6E:A4:19:7F:8A:7F:8A:A4:EB:29:50:42:5D:BD: EE:D0:EC:D1:CB:35:9F:1B:8D:99:C2:BF:60:99:CF:1D: AE:F7:F5:64:5E:21:87:49:85:E1:15:B7:EF:92:5A:45: 8D:FB:A5:15:18:80:BE:BB:A2:27:12:6E:71:D7:EF:C5: FB:83:53:94:E4:C7:FF:99:0D:71:23:9F:87:F1:6A:B9
HTTP/1.1 200 OK Connection: close Content-Length: 3923 Accept-Ranges: bytes Content-Type: text/html Date: Sat, 15 May 2021 11:04:05 GMT Etag: "5fa5f-f53-5bba9b3dc9c40" Last-Modified: Fri, 19 Feb 2021 05:27:05 GMT Server: Apache/2.2.15 (CentOS)
Version: v3 Serial Number: 29474 Signature Algorithm: SHA256-RSA Issuer: Country: -- Province: SomeState Locality: SomeCity Organization: SomeOrganization Organizational Unit: SomeOrganizationalUnit CommonName: localhost.localdomain Email Address: root@localhost.localdomain Validity: Not Before: 2021-02-19 04:16 UTC Not After : 2022-02-19 04:16 UTC Subject: Country: -- Province: SomeState Locality: SomeCity Organization: SomeOrganization Organizational Unit: SomeOrganizationalUnit CommonName: localhost.localdomain Email Address: root@localhost.localdomain Subject Public Key Info: Public Key Algorithm: RSA Public Key: Exponent: 65537 Public Key Modulus: (2048 bits) : B7:9A:61:22:4B:E2:77:AE:D9:92:A3:6F:31:EA:AC:2A: 56:19:C8:38:F9:07:7D:C5:B8:99:6A:7F:8C:43:B5:49: 61:D0:58:47:AD:9F:99:3B:BE:D9:A9:A1:F8:DA:4F:87: 69:03:37:78:B2:20:1C:C9:D0:3F:1F:C6:A8:69:5F:82: 86:B7:B0:10:E8:20:2C:0A:F5:D9:23:E7:94:A6:27:28: 48:A7:0F:4E:48:BD:6A:9C:18:1F:65:3B:4C:28:21:4E: 30:17:50:D3:0B:DD:A9:F8:6E:F5:C9:E9:D5:81:2F:3E: A4:96:AF:78:D7:76:D1:0C:7A:6C:1D:88:A7:B1:9E:49: 3E:F1:71:57:2C:3E:A2:19:CC:73:9D:90:A6:7D:F0:E8: 37:CC:7E:90:3E:18:C2:FA:1D:70:9B:78:7D:9C:C8:16: 63:44:77:12:BD:01:6A:9D:00:70:18:76:CE:A8:76:68: 63:D6:46:22:58:5F:80:A2:CF:5A:0D:D5:2F:63:A4:D5: AF:8C:49:84:F8:37:27:7A:86:63:32:32:F2:03:12:D5: 4F:66:A0:64:61:AA:87:0C:7E:06:37:DE:24:18:A5:7E: 1B:EC:6A:80:CF:8E:FE:E7:32:BC:7E:F1:9F:7D:5E:FD: 03:B5:43:7C:77:67:C2:8B:EC:1B:EA:B9:4A:B6:3F:45 Basic Constraints: CA : false Path Length Constraint: UNLIMITED Key Usage: Digital Signature Content Commitment Key Encipherment Certificate Signature Algorithm: SHA256-RSA Certificate Signature: 0F:73:D4:07:15:DB:C8:90:20:70:0A:B9:D3:51:D8:BB: B4:03:C2:15:11:CD:2C:17:DA:22:D7:1A:DB:7C:D3:31: DA:24:C8:1C:0A:A9:FC:F2:3B:31:56:82:DD:C1:8D:52: 06:67:7D:61:BD:65:8D:72:4B:AA:96:E5:91:42:20:91: 2D:E6:67:49:6E:B9:06:B9:5E:D5:8A:96:9F:34:83:72: 4E:B1:B4:4E:4E:A9:11:64:CC:10:9C:D1:C5:F4:1D:4F: A4:DD:2F:13:57:6F:B5:27:05:5B:AA:78:E2:98:D5:2A: 36:0A:61:C6:1D:A7:D5:BD:FA:24:9E:54:B8:B7:61:FC: 65:B3:85:DA:0B:A1:7B:3A:A3:99:26:57:42:E1:10:1D: 1B:E8:33:76:2D:0D:36:91:C7:BF:18:EC:AC:13:E7:C8: 3E:E3:92:AC:BF:C3:78:0F:33:FA:02:49:1F:21:1E:EC: 00:0F:9A:61:5A:5D:13:B5:7B:FE:A0:FA:37:C7:1D:B6: 73:11:F7:DC:7F:A1:B5:F1:05:B6:65:AC:3A:A8:87:34: 1B:68:FE:83:BE:AE:22:12:5A:EA:4B:04:5C:B5:98:E9: F6:8C:A9:0B:22:B7:34:39:01:3A:BE:02:D5:DF:36:DF: CF:B6:F3:29:4D:93:BF:38:2C:35:87:C8:96:AE:12:F9
HTTP/1.1 200 OK Date: Sat, 15 May 2021 11:04:05 GMT Server: Apache/2.2.15 (CentOS) Last-Modified: Fri, 19 Feb 2021 05:27:05 GMT ETag: "5fa5f-f53-5bba9b3dc9c40" Accept-Ranges: bytes Content-Length: 3923 Connection: close Content-Type: text/html
Version: v3 Serial Number: 29474 Signature Algorithm: SHA256-RSA Issuer: Country: -- Province: SomeState Locality: SomeCity Organization: SomeOrganization Organizational Unit: SomeOrganizationalUnit CommonName: localhost.localdomain Email Address: root@localhost.localdomain Validity: Not Before: 2021-02-19 04:16 UTC Not After : 2022-02-19 04:16 UTC Subject: Country: -- Province: SomeState Locality: SomeCity Organization: SomeOrganization Organizational Unit: SomeOrganizationalUnit CommonName: localhost.localdomain Email Address: root@localhost.localdomain Subject Public Key Info: Public Key Algorithm: RSA Public Key: Exponent: 65537 Public Key Modulus: (2048 bits) : B7:9A:61:22:4B:E2:77:AE:D9:92:A3:6F:31:EA:AC:2A: 56:19:C8:38:F9:07:7D:C5:B8:99:6A:7F:8C:43:B5:49: 61:D0:58:47:AD:9F:99:3B:BE:D9:A9:A1:F8:DA:4F:87: 69:03:37:78:B2:20:1C:C9:D0:3F:1F:C6:A8:69:5F:82: 86:B7:B0:10:E8:20:2C:0A:F5:D9:23:E7:94:A6:27:28: 48:A7:0F:4E:48:BD:6A:9C:18:1F:65:3B:4C:28:21:4E: 30:17:50:D3:0B:DD:A9:F8:6E:F5:C9:E9:D5:81:2F:3E: A4:96:AF:78:D7:76:D1:0C:7A:6C:1D:88:A7:B1:9E:49: 3E:F1:71:57:2C:3E:A2:19:CC:73:9D:90:A6:7D:F0:E8: 37:CC:7E:90:3E:18:C2:FA:1D:70:9B:78:7D:9C:C8:16: 63:44:77:12:BD:01:6A:9D:00:70:18:76:CE:A8:76:68: 63:D6:46:22:58:5F:80:A2:CF:5A:0D:D5:2F:63:A4:D5: AF:8C:49:84:F8:37:27:7A:86:63:32:32:F2:03:12:D5: 4F:66:A0:64:61:AA:87:0C:7E:06:37:DE:24:18:A5:7E: 1B:EC:6A:80:CF:8E:FE:E7:32:BC:7E:F1:9F:7D:5E:FD: 03:B5:43:7C:77:67:C2:8B:EC:1B:EA:B9:4A:B6:3F:45 Basic Constraints: CA : false Path Length Constraint: UNLIMITED Key Usage: Digital Signature Content Commitment Key Encipherment Certificate Signature Algorithm: SHA256-RSA Certificate Signature: 0F:73:D4:07:15:DB:C8:90:20:70:0A:B9:D3:51:D8:BB: B4:03:C2:15:11:CD:2C:17:DA:22:D7:1A:DB:7C:D3:31: DA:24:C8:1C:0A:A9:FC:F2:3B:31:56:82:DD:C1:8D:52: 06:67:7D:61:BD:65:8D:72:4B:AA:96:E5:91:42:20:91: 2D:E6:67:49:6E:B9:06:B9:5E:D5:8A:96:9F:34:83:72: 4E:B1:B4:4E:4E:A9:11:64:CC:10:9C:D1:C5:F4:1D:4F: A4:DD:2F:13:57:6F:B5:27:05:5B:AA:78:E2:98:D5:2A: 36:0A:61:C6:1D:A7:D5:BD:FA:24:9E:54:B8:B7:61:FC: 65:B3:85:DA:0B:A1:7B:3A:A3:99:26:57:42:E1:10:1D: 1B:E8:33:76:2D:0D:36:91:C7:BF:18:EC:AC:13:E7:C8: 3E:E3:92:AC:BF:C3:78:0F:33:FA:02:49:1F:21:1E:EC: 00:0F:9A:61:5A:5D:13:B5:7B:FE:A0:FA:37:C7:1D:B6: 73:11:F7:DC:7F:A1:B5:F1:05:B6:65:AC:3A:A8:87:34: 1B:68:FE:83:BE:AE:22:12:5A:EA:4B:04:5C:B5:98:E9: F6:8C:A9:0B:22:B7:34:39:01:3A:BE:02:D5:DF:36:DF: CF:B6:F3:29:4D:93:BF:38:2C:35:87:C8:96:AE:12:F9
HTTP/1.1 200 OK Cache-Control: no-cache, private Connection: close Content-Length: 32740 Content-Type: text/html Date: Sat, 15 May 2021 11:03:00 GMT Last-Modified: Mon, 22 Feb 2016 23:34:44 GMT <!DOCTYPE html> <html> <head> <link href='http://fonts.googleapis.com/css?family=Quicksand' rel='stylesheet' type='text/css'> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> <title>FreeRDP WebConnect: offline</title> <meta name="robots" content="nofollow" /> <meta name="description" content="A HTML5 based RDP client"> <meta name="viewport" content="width=device-width height=device-height user-scalable=no"> <meta name="cursor-event-mode" content="native"> <meta name="touch-event-mode" content="pure-with-mouse-conversion"> <link rel="stylesheet" href="css/style.css"> <link rel="stylesheet" href="css/vkb.css"> <link rel="icon" href="favicon.ico" type="image/x-icon" /> <script src="js/modernizr.js"></script> <script src="js/mootools.js"></script> <script src="js/simpletabs.js"></script> <script src="js/wsgate.js"></script> <script src="js/vkb.js"></script> <!--<script language="javascript" type="text/javascript" src="js/rdpevents.js"></script>--> <script language="javascript" type="text/javascript"> var wsBase = "ws://43.226.74.114:8000/wsgate"; var RIMtablet = navigator.appVersion && (-1 != navigator.appVersion.indexOf('RIM Tablet')); var mhx = 100; var mhy = 100; var dragX = 0; var dragY = 0; var inDrag = false; var rdp = null; var vkbd = null; var embedded = false; var externalConnection = false; function initBody(){ //apply old settings settingsApply(); initPopUpDeck(); } //pop up message procedure var popUpDeck = null; var popUpElements = []; function initPopUpDeck(){ popUpDeck = document.createElement('div'); document.body.appendChild(popUpDeck); popUpDeck.set('class', 'popupwrapper'); } function cleanPopUpDeck(){ for(var i=0; i<popUpElements.length; i++){ popUpElements[i].removeEvents(); popUpElements[i].destroy(); } } function popUpMessage(type, msg, timeout, callback, center){ var newMessage = document.createElement('div'); popUpDeck.appendChild(newMessage); newMessage.set('class', 'popupmessage'); newMessage.set('text', msg); newMessage.addEvent('mousedown', function(){ if(callback) callback(); newMessage.destroy(); newMessage = null; }); var color = { r: 255, g: 255, b: 255 }; if(type=='error'){ color.r = 247; color.g = 203; color.b = 30; }else if(type=='message'){ color.r = 107; color.g = 180; color.b = 229; }else if(type=='critical'){ color.r = 255; color.g = 0; color.b = 0; } if(center){ newMessage.setStyle('position','absolute'); newMessage.setStyle('top', document.body.offsetHeight/2); newMessage.setStyle('z-index', '1235'); } newMessage.setStyle('background-color','rgba(' + color.r + ',' + color.g + ',' + color.b + ', 0.8)' ); if(timeout){ window.setTimeout( function(){ if(newMessage){ if(callback) callback(); newMessage.destroy(); } }, timeout*1000); } popUpElements.push(newMessage); return newMessage; } function noInstancePopUp(){ popUpMessage('critical', "This instance seems to be not working. Try to enter the console again.", 0, noInstancePopUp, true); } function RDPStart(uri, title){ if(uri === undefined){ uri = wsBase; } if(title === undefined){ title = "FreeRDP WebConnect: connected to " + $('rdphost').value.trim(); } if(!embedded){ $('dvLoading').setStyles({'visibility':'visible'}); } rdp = new wsgate.RDP(uri, $('screen'), !RIMtablet, RIMtablet, vkbd); rdp.addEvent('alert', function(msg) { popUpMessage('error', msg, 5); }); rdp.addEvent('connected', function() { cleanPopUpDeck(); document.title = title; button = $("rdpconnect"); button.removeEvents(); window.removeEvent('resize', OnDesktopSize); button.value = 'Disconnect'; button.addEvent('click', rdp.Disconnect.bind(rdp)); window.addEvent("beforeunload", rdp.Disconnect.bind(rdp)); }); rdp.addEvent('disconnected', function() { showDialog(true); if(embedded){ $('maindialog').addClass('invisible'); noInstancePopUp() } button = $("rdpconnect"); button.removeEvents(); button.value = 'Connect'; button.addEvent('click', function(){RDPStart();}); OnDesktopSize(); window.addEvent('resize', OnDesktopSize); }); rdp.addEvent('mouserelease', ResetRdpMouseFlags); rdp.addEvent('touch2', function() { ShowMouseHelper($('mousehelper').hasClass('invisible')); }); rdp.addEvent('touch3', function() { vkbd.toggle(); }); rdp.addEvent('touch4', function() { if (confirm('Are you sure you want to disconnect?')) { rdp.Disconnect(); } }); showDialog(false); rdp.Run(); } function SetRdpMouseFlags() { var mf = { 'r': $('rclick').checked, 'm': $('mclick').checked, 'a': $('aclick').checked, 's': $('sclick').checked, 'c': $('cclick').checked, }; rdp.SetArtificialMouseFlags(mf); } function ResetRdpMouseFlags() { $('rclick').checked = false; $('mclick').checked = false; $('aclick').checked = false; $('sclick').checked = false; $('cclick').checked = false; rdp.SetArtificialMouseFlags(null); } function ShowMouseHelper(show) { var mh = $('mousehelper'); inDrag = false; if (show) { mh.setStyles({'position':'absolute','top':mhy,'left':mhx,'z-index':999}); mh.addEvent('mousedown',DragStart); $('rclick').addEvent('change', SetRdpMouseFlags); $('mclick').addEvent('change', SetRdpMouseFlags); $('aclick').addEvent('change', SetRdpMouseFlags); $('sclick').addEvent('change', SetRdpMouseFlags); $('cclick').addEvent('change', SetRdpMouseFlags); mh.removeClass('invisible'); } else { mh.removeEvents(); mh.addClass('invisible'); $('rclick').removeEvents(); $('mclick').removeEvents(); $('aclick').removeEvents(); $('sclick').removeEvents(); $('cclick').removeEvents(); } } function OnDesktopSize() { ResizeCanvas($('dtsize').value); DrawLogo(); } function DragStart(evt) { var mh = $('mousehelper'); if (!mh.hasClass('invisible')) { inDrag = true; dragX = evt.page.x; dragY = evt.page.y; window.addEvent('mouseup',DragEnd); window.addEvent('touchmove',DragMove); } } function DragEnd(evt) { inDrag = false; var mh = $('mousehelper'); window.removeEvent('touchmove',DragMove); window.removeEvent('mouseup',DragEnd); } function DragMove(evt) { if (inDrag) { var dx = evt.page.x - dragX; var dy = evt.page.y - dragY; dragX = evt.page.x; dragY = evt.page.y; var mh = $('mousehelper'); if (!mh.hasClass('invisible')) { mhx += dx; mhy += dy; mh.setStyles({'top':mhy,'left':mhx}); } } } function DrawLogo() { var logo = new Element('img', {'src': 'empty_on_purpose'}); logo.addEvent('load', function() { var scaleWCoeficient = 0.5; var scaleHCoeficient = 0.5; var iw = this.width * scaleWCoeficient; var ih = this.height * scaleHCoeficient; var scale = ($('screen').height - 20) / ih; $('screen').getContext('2d').drawImage(this, 10, 10, Math.round(iw * scale), Math.round(ih * scale)); }.bind(logo)); } function ResizeCanvas(sz) { var w, h; if (sz == 'auto') { w = window.getCoordinates().width; h = window.getCoordinates().height; if (RIMtablet) { // Toplevel bar not removable h -= 31; } if (w % 2) { w -= 1; } } else { var sza = sz.split('x'); var w = sza[0]; var h = sza[1]; } $('screen').width = w-50; $('screen').height = h-50; $('screen').style["margin"] = "0 auto"; } var sendDisconnect = function() { if (confirm('Are you sure you want to disconnect ?')) { $('extracommands').setStyles({'visibility':'hidden'}); rdp.Disconnect(); } } var altTabOn = false; function altTabEvent(){ if(altTabOn){ altTabOn = false; rdp.SendKey(2);//alt+tab release $('alttab').removeClass('extracommandshold'); } else{ altTabOn = true; rdp.SendKey(1);//alt+tab $('alttab').addClass('extracommandshold'); } } function showDialog(show) { if (show) { ShowMouseHelper(false); var dlg = $('maindialog'); var x = Math.round((window.getCoordinates().width - dlg.getCoordinates().width) / 2) + 'px'; var y = Math.round((window.getCoordinates().height - dlg.getCoordinates().height) / 2) + 'px'; $('extracommands').setStyles( { 'visibility':'hidden' }); $('dvLoading').setStyles( { 'visibility':'hidden' }); DrawLogo(); dlg.setStyles({ 'position': 'absolute', 'top': y, 'left': x, 'z-index': 999 }).removeClass('invisible'); } else { $('maindialog').addClass('invisible'); $('extracommands').setStyles( { 'visibility':'visible' }); $('ctrlaltdelete').addEvent('click', function(){ rdp.SendKey(0); }); $('alttab').addEvent('click', altTabEvent); $('disconnect').addEvent('click', sendDisconnect); } } var RDPCookieKey = "RDPinfoJSON"; //sets a cookie with the settings inserted in the form function settingsSet(){ var infoJSON = settingsGetJSON(); //remove password infoJSON.pass = ""; document.cookie = RDPCookieKey + "=" + JSON.stringify(infoJSON) + "; expires=Fri, 31 Dec 2030 23:59:59 GMT;"; } //change the form fields with respect with the cookie function settingsApply(){ var cookie = document.cookie; if(cookie){ var cookieValues = cookie.split(';'); var i = 0; //get the cookie for infoJSON while(cookieValues[i].indexOf(RDPCookieKey) == -1){ i++; } //get the value of the cookie then parse it to a JSON try{ var infoJSON = JSON.parse(cookieValues[i].split('=')[1]); //if we found a JSON we apply the values to the form fields if(infoJSON){ $('rdphost').set('value',infoJSON.host); $('rdpport').set('value',infoJSON.port); $('rdppcb').set('value',infoJSON.pcb); $('rdpuser').set('value',infoJSON.user); $('nowallp').set('checked', infoJSON.nowallp != 0); $('nowdrag').set('checked', infoJSON.nowdrag != 0); $('nomani').set('checked', infoJSON.nomani != 0); $('notheme').set('checked', infoJSON.notheme != 0); $('nonla').set('checked', infoJSON.nonla != 0); $('notls').set('checked', infoJSON.notls != 0); } } catch (e){ console.log("Bad JSON format"); console.log(e.message); } } } //gets a JSON with the settings inserted in the form function settingsGetJSON(){ return {"host" : $('rdphost').value.trim() ,"port" : parseInt($('rdpport').value.trim()) ,"pcb" : $('rdppcb').value.trim() ,"user" : $('rdpuser').value.trim() ,"pass" : $('rdppass').value ,"perf" : parseInt($('perf').value.trim()) ,"fntlm" : parseInt($('fntlm').value.trim()) ,"nowallp": parseInt($('nowallp').checked ? '1' : '0') ,"nowdrag": parseInt($('nowdrag').checked ? '1' : '0') ,"nomani" : parseInt($('nomani').checked ? '1' : '0') ,"notheme": parseInt($('notheme').checked ? '1' : '0') ,"nonla" : parseInt($('nonla').checked ? '1' : '0') ,"notls" : parseInt($('notls').checked ? '1' : '0') ,"dtsize" : $('screen').width + 'x' + $('screen').height }; } window.addEventListener("beforeunload", function() { if ($('maindialog').hasClass('invisible')){ var ans = confirm("Are you sure you want to disconnect?"); if (ans) { rdp.Disconnect(); } } }, false); window.addEvent('domready', function() { var querystring = window.location.href.slice(window.location.href.indexOf('?')) $('dtsize').addEvent('change', OnDesktopSize); var tabs = new SimpleTabs('rdpdialog',{selector:'h4'}); OnDesktopSize(); if (RIMtablet) { // Set default performance flags to modem $('perf').value = '2'; } window.addEvent('resize', OnDesktopSize); // Special handling of webkit nightly builds var webkitOK = false; var wkVA = RegExp("( AppleWebKit/)([^ ]+)").exec(navigator.userAgent); if (wkVA && (wkVA.length > 2)) { if (wkVA[2].indexOf('+') != -1) { webkitOK = true; } } var wsOK = RIMtablet || webkitOK || (Browser.firefox && (Browser.version >= 11.0)) || (Browser.chrome && (Browser.version >= 17)) || (Browser.safari && (Browser.version >= 6)) || (Browser.ie && (Browser.version >= 10.0)); if(externalConnection == true) { RDPStart(); vkbd = new wsgate.vkbd({ version:false, sizeswitch:false, numpadtoggle:false }); } if (wsOK) { if(querystring.length > 2) { showDialog(false); if (querystring.indexOf('token=')>=0){ $('disconnect').setStyles({'visibility':'hidden'}); embedded = true; } var urlParams; (window.onpopstate = function () { var match, pl = /\+/g, // Regex for replacing addition symbol with a space search = /([^&=]+)=?([^&]*)/g, decode = function (s) { return decodeURIComponent(s.replace(pl, " ")); }, query = window.location.search.substring(1); urlParams = {}; while (match = search.exec(query)) urlParams[decode(match[1])] = decode(match[2]); })(); RDPStart(wsBase + querystring, urlParams["title"]); } else { $('rdpconnect').addEvent('click', function(){RDPStart();}); showDialog(true); } vkbd = new wsgate.vkbd({ version:false, sizeswitch:false, numpadtoggle:false }); } else { alert('Sorry!\nYour Browser (' + Browser.name + ' ' + Browser.version + ') does not yet\nprovide the required HTML5 features ' + 'for this application.\n'); } }); </script> </head> <body id="wrapper" onload="initBody()"> <div id="extracommands" style="height:28px; background-color:#f1f1f1; padding-left:25px; cursor:default; visibility:hidden;"> Send keys: <ul> <li id="ctrlaltdelete"> Ctrl+Alt+Delete </li> <li id="alttab"> Alt+Tab </li> <li id="keyboardlanguage"> Multilanguage keyboard </li> </ul> <button id="disconnect" type="button" style="float:right; margin-right:40px; margin-top:2px">Disconnect</button> </div> <div id="IMEhelper" style="z-index:1111;visibility:hidden;height:auto;width:auto;display:inline;position:absolute;background-color:#ffffff;"></div> <canvas id="screen"> <p class="error">Sorry, It looks as though your browser does not support the canvas tag.</p> </canvas> <div id="dvLoading" style="position:fixed; left:45%; top:45%; visibility:hidden;"><img src="images/loading.gif"></div> <noscript><p class="error">Please enable JavaScript.</p></noscript> <table width="400px" id="maindialog" class="invisible"> <tr><td> <div style="margin-left:auto; margin-right:auto; width:60%; position:relative;"> <a href="http://www.cloudbase.it"> <img src='http://cloudbase.it/wp-content/uploads/2012/10/CBSL_web_logo3.png' style="margin-left:auto; margin-right:auto;"> </a></div></img> </td></tr> <tr> <td> <div id="rdpdialog" class="dialog"> <h4 title="Main connection settings">General</h4> <div> <form onkeypress="if (event.keyCode == 13) { document.getElementById('rdpconnect').focus();document.getElementById('rdpconnect').click(); return event.preventDevault();}"> <fieldset> <legend>Session parameters</legend> <table> <tr> <td class="key"><label for="host">Hostname:</label></td> <td><input id="rdphost" type="text" name="host" value="" /></td> </tr> <tr> <td class="key"><label for="user">User:</label></td> <td><input id="rdpuser" type="text" name="user" value="" /></td> </tr> <tr> <td class="key"><label for="pass">Password:</label></td> <td><input id="rdppass" type="password" name="pass" value="" autocomplete="off" /></td> </tr> <tr> <td class="key"><label for="dtsize">Desktop size:</label></td> <td> <select id="dtsize" name="dtsize"> <option>640x480</option> <option>800x600</option> <option>1024x768</option> <option>1280x960</option> <option>1280x1024</option> <option value="auto" selected>Available Area</option> </select> </td> </tr> <tr> <td class="buttons" colspan="2"><input id="rdpconnect" type="button" value="Connect" /></td> </tr> </table> </fieldset> </form> </div> <h4 title="Advanced session parameters">Advanced</h4> <div> <form onsubmit="event.preventDefault(); return false;"> <fieldset> <legend>Advanced session parameters</legend> <table> <tr> <td class="key"><label for="port">Port:</label></td> <td><input id="rdpport" name="port" type="text" size="6" maxlen="5" value="3389" /></td> </tr> <tr> <td class="key"><label for="pcb">PCB (vmID):</label></td> <td><input id="rdppcb" type="text" name="pcb" value="" /></td> </tr> <tr> <td class="key"><label for="perf">Performance:</label></td> <td> <select id="perf" name="perf" > <option value="0" >LAN</option> <option value="1" >Broadband</option> <option value="2" >Modem</option> </select> </td> </tr> <tr> <td class="key"><label for="nowallp">Disable wallpaper:</label></td> <td><input id="nowallp" name="nowallp" type="checkbox" /></td> </tr> <tr> <td class="key"><label for="nowdrag">Disable full window drag:</label></td> <td><input id="nowdrag" name="nowdrag" type="checkbox" disabled="disabled" checked="checked"/></td> </tr> <tr> <td class="key"><label for="nomani">Disable menu animation:</label></td> <td><input id="nomani" name="nomani" type="checkbox" /></td> </tr> <tr> <td class="key"><label for="notheme">Disable theming:</label></td> <td><input id="notheme" name="notheme" type="checkbox" /></td> </tr> <tr> <td class="key"><label for="nonla">Disable network level authentication:</label></td> <td><input id="nonla" name="nonla" type="checkbox" /></td> </tr> <tr> <td class="key"><label for="notls">Disable TLS:</label></td> <td><input id="notls" name="notls" type="checkbox" /></td> </tr> <tr> <td class="key"><label for="fntlm">Force NTLM auth:</label></td> <td> <select id="fntlm" name="fntlm" > <option