{"id":1311,"date":"2024-01-23T11:46:14","date_gmt":"2024-01-23T03:46:14","guid":{"rendered":"https:\/\/hisui.cn\/?p=1311"},"modified":"2024-08-03T14:37:44","modified_gmt":"2024-08-03T06:37:44","slug":"his%e8%8f%9c%e5%8d%95%e7%99%bb%e5%bd%95%e7%bb%93%e7%ae%97%e6%b8%85%e5%8d%95%e7%b3%bb%e7%bb%9f","status":"publish","type":"post","link":"http:\/\/hisui.cn\/?p=1311","title":{"rendered":"HIS \u8df3\u8f6c\u767b\u5f55\u7ed3\u7b97\u6e05\u5355\u7cfb\u7edf"},"content":{"rendered":"<h2>HIS\u6dfb\u52a0\u83dc\u5355\uff0c\u70b9\u51fb\u81ea\u52a8\u767b\u5f55\u7ed3\u7b97\u6e05\u5355\u7cfb\u7edf<\/h2>\n<hr \/>\n<h3>\u4ee3\u7801\u4fee\u6539<\/h3>\n<p>studio\u6253\u5f00\u6587\u4ef6\uff1a&#8230;web\/scripts\/epr.menu.js<br \/>\n\u590d\u5236\u4e0b\u9762\u4ee3\u7801\uff0c\u52a0\u5230\u6587\u4ef6\u7684\u6700\u540e\u3002<strong>\u6ce8\u610f\u67e5\u770b\u4ee3\u7801\u4e2d\u7684\u6ce8\u91ca\uff0c\u5bf9\u5e94\u4fee\u6539<\/strong>:exclamation:<\/p>\n<pre><code class=\"language-javascript line-numbers\">\/\/ \u7ed3\u7b97\u6e05\u5355\u7f16\u76ee\u8df3\u8f6c --DIP\u7cfb\u7edf\u4f7f\u7528\nfunction loginDIP(lnk, newwin) {\n    var url = lnk + \"?token=\";\n    var param = \"app=HIS&amp;username=\" + session['LOGON.USERCODE'];\n    \/\/ \u4e0b\u9762\u7684role \u548c page \u662f\u56fa\u5b9a\u503c\uff0c\u6bcf\u4e2a\u9879\u76ee\u90fd\u4e0d\u4e00\u6837\uff0cDIP\u7cfb\u7edf\u63d0\u4f9b\uff0c\u4f60\u66ff\u6362\u4e00\u4e0b\n    param += \"&amp;role=69d5d0323f8e535ae4247edd65c9062b&amp;page=2d6ce1723c47977770b17ce7b3231edf\";\n    param += \"\u00d7tamp=\" + new Date().getTime();\n    param = base64Encode(param);\n    url = url + param;\n    \/\/ PassDetails(url,newwin); \/\/ \u6709\u533b\u4e3a\u6d4f\u89c8\u5668\u7684\u89e3\u5f00\u8fd9\u4e2a\u6ce8\u91ca\u3002\n    exec(\"chrome \" + url);  \/\/ \u8001his\u662fie\u7684\uff0c\u8981\u7528\u8c37\u6b4c\u767b\u5f55\n}\nfunction base64Encode(str) {\n    var keyStr = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+\/=\";\n    var output = \"\";\n    var chr1, chr2, chr3, enc1, enc2, enc3, enc4;\n    var i = 0;\n    str = utf8Encode(str);\n    while (i &lt; str.length) {\n        chr1 = str.charCodeAt(i++);\n        chr2 = str.charCodeAt(i++);\n        chr3 = str.charCodeAt(i++);\n        enc1 = chr1 &gt;&gt; 2;\n        enc2 = ((chr1 &amp; 3) &lt;&lt; 4) | (chr2 &gt;&gt; 4);\n        enc3 = ((chr2 &amp; 15) &lt;&lt; 2) | (chr3 &gt;&gt; 6);\n        enc4 = chr3 &amp; 63;\n        if (isNaN(chr2)) {\n            enc3 = enc4 = 64;\n        } else if (isNaN(chr3)) {\n            enc4 = 64;\n        }\n        output = output +\n            keyStr.charAt(enc1) + keyStr.charAt(enc2) +\n            keyStr.charAt(enc3) + keyStr.charAt(enc4);\n    }\n    return output;\n}\nfunction utf8Encode(string) {\n    string = string.replace(\/\\r\\n\/g, \"\\n\");\n    var utftext = \"\";\n    for (var n = 0; n &lt; string.length; n++) {\n        var c = string.charCodeAt(n);\n        if (c &lt; 128) {\n            utftext += String.fromCharCode(c);\n        } else if ((c &gt; 127) &amp;&amp; (c &lt; 2048)) {\n            utftext += String.fromCharCode((c &gt;&gt; 6) | 192);\n            utftext += String.fromCharCode((c &amp; 63) | 128);\n        } else {\n            utftext += String.fromCharCode((c &gt;&gt; 12) | 224);\n            utftext += String.fromCharCode(((c &gt;&gt; 6) &amp; 63) | 128);\n            utftext += String.fromCharCode((c &amp; 63) | 128);\n        }\n    }\n    return utftext;\n}\n<\/code><\/pre>\n<p>studio\u6253\u5f00\u6587\u4ef6\uff1a&#8230;web\/scripts\/websys.js<br \/>\n\u68c0\u67e5\u6587\u4ef6\u4e2d\u662f\u5426\u6709\u65b9\u6cd5\uff1aexec<br \/>\n\u6ca1\u6709\u7684\uff0c\u5c06\u4e0b\u9762\u7684\u65b9\u6cd5\u6dfb\u52a0\u5230\u6700\u540e\u3002<\/p>\n<pre><code class=\"language-JavaScript line-numbers\">\/\/ exec('cmd.exe \/c \"time 10:40\"')\n function exec(command) {\n    window.oldOnError=window.onerror; \n    window._command=command; \n    window.onerror= function(err){ \n        if(err.indexOf('utomation')&gt;-1) { \n            alert(websys_unicode_trans.command + window._command + websys_unicode_trans.disableByUser); \n            return true; \n        }else{  \n            return false;  \n        } \n    }; \n    var wsh=new ActiveXObject('WScript.Shell');\n    if (wsh) {\n        wsh.Run(command);\n    } \n    window.onerror = window.oldOnError;\n}\nvar websys_unicode_trans = {\n    sessionTimeOutReLogon:\"\\u4F1A\\u8BDD\\u5DF2\\u8D85\\u671F\\uFF0C\\u8BF7\\u9000\\u51FA\\u91CD\\u65B0\\u767B\\u5F55\\u3002\", \/*\u4f1a\u8bdd\u5df2\u8d85\u671f\uff0c\u8bf7\u9000\u51fa\u91cd\u65b0\u767b\u5f55*\/\n    pageNotOperateReLogon:\"\\u754C\\u9762\\u957F\\u65F6\\u95F4\\u672A\\u64CD\\u4F5C\\uFF0C\\u8BF7\\u9000\\u51FA\\u91CD\\u65B0\\u767B\\u5F55\", \/*\u754c\u9762\u957f\u65f6\u95f4\u672a\u64cd\u4f5c\uff0c\u8bf7\u9000\u51fa\u91cd\u65b0\u767b\u5f55*\/\n    command:\"\\u547D\\u4EE4\", \/*\u547d\u4ee4*\/\n    disableByUser:\"\\u5DF2\\u7ECF\\u88AB\\u7528\\u6237\\u7981\\u6B62\\uFF01\",\/*\u5df2\u7ecf\u88ab\u7528\u6237\u7981\u6b62\uff01*\/\n    yes:\"\\u662F\",\/*\u662f*\/\n    notConnectInternet:\"\\u6CA1\\u6709\\u8FDE\\u63A5\\u5230Internet\",    \/*\u6ca1\u6709\u8fde\u63a5\u5230Internet*\/\n    dialog:\"\\u5BF9\\u8BDD\\u6846\", \/*\u5bf9\u8bdd\u6846*\/\n    notContent:\"\\u65E0\\u5185\\u5BB9\", \/*\u65e0\u5185\u5bb9*\/\n    selectImportFile:\"\\u8BF7\\u9009\\u62E9\\u9700\\u8981\\u5BFC\\u5165\\u7684\\u6587\\u4EF6\" , \/*\u8bf7\u9009\u62e9\u9700\u8981\u5bfc\u5165\u7684\u6587\u4ef6*\/\n    waitingSign:\"\\u7B49\\u5F85\\u7B7E\\u540D\", \/*\u7b49\u5f85\u7b7e\u540d*\/\n    certAuth:\"\\u8BC1\\u4E66\\u8BA4\\u8BC1\" \/*\u8bc1\u4e66\u8ba4\u8bc1*\/\n}\n<\/code><\/pre>\n<h3>\u6302\u83dc\u5355<\/h3>\n<p>1\u3001\u589e\u52a0\u83dc\u5355<br \/>\n\u8fde\u63a5CSP\u6216\u754c\u9762\uff1ahttp:\/\/192.168.101.84:8093\/misl\/sso\uff08\u7528\u4f60\u4eec\u9879\u76ee\u81ea\u5df1\u7684ip\uff09<br \/>\njavascript\u51fd\u6570\uff1aloginDIP<br \/>\n<img decoding=\"async\" src=\"https:\/\/hisui.cn\/wp-content\/uploads\/2024\/01\/\u56fe\u72471.png\" alt=\"\" \/><br \/>\n\u6d4b\u8bd5\uff1a<br \/>\n<img decoding=\"async\" src=\"https:\/\/hisui.cn\/wp-content\/uploads\/2024\/01\/\u56fe\u72472.png\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>HIS\u6dfb\u52a0\u83dc\u5355\uff0c\u70b9\u51fb\u81ea\u52a8\u767b\u5f55\u7ed3\u7b97\u6e05\u5355\u7cfb\u7edf \u4ee3\u7801\u4fee\u6539 studio\u6253\u5f00\u6587\u4ef6\uff1a&#8230;web\/scripts [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1311","post","type-post","status-publish","format-standard","hentry","category-imedical_info"],"_links":{"self":[{"href":"http:\/\/hisui.cn\/index.php?rest_route=\/wp\/v2\/posts\/1311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/hisui.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/hisui.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/hisui.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/hisui.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1311"}],"version-history":[{"count":0,"href":"http:\/\/hisui.cn\/index.php?rest_route=\/wp\/v2\/posts\/1311\/revisions"}],"wp:attachment":[{"href":"http:\/\/hisui.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/hisui.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1311"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/hisui.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}