123.178.172.26:9527 (tcp/http) - last seen on 2024-11-07 at 05:17:43 UTC
-
- IP
- 123.178.172.26
- Network
- 123.178.128.0/17
- Device
-
<enterprise field>: device.class
- Operating System
- Microsoft Windows
- URL
-
http://123.178.172.26:9527/ 200
- HTTP Title
- Web系统登录
- ASN
- AS4134
- Organization
- Chinanet
- Protocol
- http
- Source
- datascan
-
- Operating System
- Microsoft Windows
- Product
- Microsoft IIS 7.5
- HTTP Component(s)
- Microsoft ASP.NET 4.0.30319
- CPE(s)
-
<enterprise field>: cpe
This feature requires at least a "Lion View" to unlock. Go to our Pricing page for more.
-
- Data MD5
- 11c8a0aeea9bf5ca6181715706cd7b2e
- HTTP Header MD5
- 1ba5a3cccc5b05fb8fee1050895bd7b1
- HTTP Body MD5
- 170802b6e32106b5905ecb8f50ed6708
- Favicon MD5
- 382945a634168871cbd03dc102449317
- Favicon MMH3
- -1084911326
-
HTTP/1.1 200 OK Cache-Control: private Content-Type: text/html; charset=utf-8 Server: Microsoft-IIS/7.5 X-AspNetMvc-Version: 4.0 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Date: Thu, 07 Nov 2024 03:51:09 GMT Connection: close Content-Length: 10062 <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Web系统登录</title> <link href="/CSS/demo.css" rel="stylesheet" type="text/css" /> <link href="/CSS/login.css" rel="stylesheet" type="text/css" /> <link href="/CSS/font-awesome.min.css" rel="stylesheet" type="text/css" /> <script src="/JS/boot.js" type="text/javascript"></script> <script src="/JS/APSystem.js" type="text/javascript"></script> <script src="/JS/core.js" type="text/javascript"></script> <script src="/JS/miniui/miniui.js" type="text/javascript"></script> <script src="/JS/Websocket.js" type="text/javascript"></script> <script src="/JS/reconnecting-websocket.js" type="text/javascript"></script> </head> <body> <form> <div style="position: absolute; right: 20px; top: 15px;" id="locale"> <img src="../imgs/flag_en.gif" style="cursor: pointer;" border="" alt="" onclick="onLangChange('en-US')"> <img src="../imgs/flag_cn.gif" style="cursor: pointer;" border="" alt="" onclick="onLangChange('zh-CN')"> </div> <div class="title" id="ctitle"> Web系统登录 </div> <div id="login"> <div class="form"> <span class="fa fa-user fa-lg"></span> <input type="text" id="Code" name="Code" placeholder="请输入用户名" value="admin" /> <div class="clear"></div> <span class="fa fa-lock fa-lg"></span> <input type="password" id="Password" name="Password" onenter="onKeyEnter" placeholder="请输入密码" /> <input type="button" id="btnLogin" name="btnLogin" value="登录" onclick="Login()" /> </div> </div> <div showheader="false" region="south" class="copyright"> <label>Copyright © <label id="publisher"></label> 版权所有 </label> <label id="Version"></label> </div> </form> </body> <script type="text/javascript"> mini.parse(); mini.culture("zh-CN"); GetUserCode(); var showerror = false; var ws; var timeout; function GetSoftInfo() { $.ajax({ url: "/Config/GetconfigView", cache: false, success: function (text) { if (!text) return; var o = mini.decode(text); //var SoftName = $("#ctitle"); //SoftName.html(o.SoftCaption); var publisher = $("#publisher"); var SoftName = $("#SoftName"); var stitle = $("#title"); if (o.Publisher) if (publisher) publisher.html(o.Publisher); if (o.SoftCaption) { document.title = o.SoftCaption; if (SoftName) SoftName.html(o.SoftCaption); } } }); } function ShowVersion() { $.ajax({ url: "/Home/GetDLLVerision", cache: false, success: function (text) { if (!text) return; var o = mini.decode(text); var Version = $("#Version"); if (Version) Version.html("版本:" + o.ver + " 日期:" + getFormatDate(o.lasttime)); } }); } ShowVersion(); GetSoftInfo(); function updateHandle(evt) { var o = mini.decode(evt); mini.unmask(document.body); if (o.error == "2") { showTips(true, "操作", "升级数据库完成,请重新登录"); return; } if (o.error == "1") { mini.mask({ el: document.body, cls: 'mini-mask-loading', html: o.message }); return; } mini.mask({ el: document.body, cls: 'mini-mask-loading', html: o.message }); } function connectSocketServer() { ws = new WSocket('8012', null, null,null,null,null,null,null,null,updateHandle); } window.onbeforeunload = function (event) { ws.close(); } $("#Password").keydown(function (e) { if (e.keyCode == 13) { Login(); } }); $("#Code").keydown(function (e) { if (e.keyCode == 13) { Login(); } }); function settimeout() { timeout = setTimeout(function () { if (!showerror) { showerror = true; mini.unmask(document.body); alert("登陆超时!"); BuildDB(); } }, 15000); } function Login() { var code = $("#Code").val();//从控件上获取账号 var password = $("#Password").val();//从控件上获取密码 if (code == "") { alert("用户名不能为空!"); return; } mini.mask({ el: document.body, cls: 'mini-mask-loading', html: "登录中..." }); connectSocketServer(); showerror = false; settimeout(); $.ajax({ url: "/Home/GetLogin", type: 'post', data: { UserCode: code, Password: password }, cache: false, success: function (text) { clearTimeout(timeout); var o = mini.decode(text); if (o.error || o.type == 2) { if (showerror) return; showerror = true; mini.unmask(document.body); if (o.type == 2) { ConfirmDoing("数据库不存在,创建数据库?", function () { BuildDB(); }); return; } else if (o.error) { mini.alert(o.message); if (o.type == 1) BuildDB(); return; } } Savecode(o); var url = window.location.href; if (url.indexOf("Home") >= 0) window.location.replace("HomePage"); else window.location.replace("Home/HomePage"); }, error: function (jqXHR, textStatus, errorThrown) { mini.unmask(document.body); mini.alert(jqXHR.responseText); } }); } function BuildDB() { mini.open({ url: "/Home/BuildDB", title: "连接到SQL数据库", width: 360, height: 320, allowResize: false, onload: function () { }, ondestroy: function (action) { } }); } //调用该方法 将用户信息写入到Cookie 需要提供用户信息参数 function Savecode(data) { if (data) if ((data.UserCode) && (data.UserCode != undefined) && (data.UserCode != null))//数据UserCode同时满足不为假、不为未知、不为null则进入下一步写入用户cookie { mini.Cookie.set('UserCode', data.UserCode);//将用户账号写入Cookie mini.Cookie.set('UserName', data.UserName);//将用户名称写入Cookie mini.Cookie.set('Password', data.UserPassWord);//将用户密码写入Cookie } } //调用该方法 将从Cookie中读出用户信息 并赋值给账号和密码控件 function GetUserCode() { var UserCode = mini.Cookie.get("UserCode");//从Cookie中读出用户账号对象 var password = mini.Cookie.get("Password");//从Cookie中读出用户密码对象 if ((UserCode) && (UserCode != undefined) && (UserCode != null))//判断账号是否合法 { $("#Code").val(UserCode);//把从Cookie里读出的账号信息赋值给该控件 } if ((password) && (password != undefined) && (password != null))//判断密码是否合法 { document.getElementById("Password").value = password;//Password类型的控件不能用JQ的赋值方式 需要传统的JS赋值 所以使用了document.getElementById的方式 } } function onLangChange(lan) { $.ajax({ url: "/Home/LangSwitch", type: 'Get',//请求类型为post data: { Lan: lan },//传递参数 分别为code账号 password密码 cache: false,//不缓存 contentType: "application/json; charset=urf-8", success: function (data)//请求后的回调函数 { window.location.href = window.location.href; }, error: function (jqXHR, textStatus, errorThrown) { mini.alert(jqXHR.responseText);//请求失败 以对话框的形式显示失败的原因 } }); } function getFormatDate(_date) { var date = new Date(_date); var seperator1 = "-"; var seperator2 = ":"; var month = date.getMonth() + 1; var strDate = date.getDate(); if (month >= 1 && month <= 9) { month = "0" + month; } if (strDate >= 0 && strDate <= 9) { strDate = "0" + strDate; } var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate + " " + date.getHours() + seperator2 + date.getMinutes() + seperator2 + date.getSeconds(); return currentdate; } </script> </html>
-
{ "@category" : "datascan", "@timestamp" : "2024-11-07T05:17:43.000Z", "app" : { "extract" : { "domain" : [ "w3.org" ], "hostname" : [ "www.w3.org" ], "url" : [ "http://www.w3.org/1999/xhtml" ] }, "favicon" : { "image" : "AAABAAEAICAAAAEAIACoEAAAFgAAACgAAAAgAAAAQAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8AAAAACAAAABgAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAACAAAAAgAAAAIAAAABgAAAAI////AP///wD///8A////AP///wD///8A////AP///wAAAAAYAAAASAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAASAAAABj///8A////AP///wD///8A////AP///wD///8A////AAAAAE8AAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAcAAAAHAAAABwAAAAT////wD///8A////AP///wD///8A////AP///wD///8AAAAAcMbGxv/Gxsb/xsbG/8bGxv/Gxsb/xsbG/8bGxv93d3f/dZi5/3WYuf91mLn/dZi5/3WYuf91mLn/d3d3/8bGxv/Gxsb/xsbG/8bGxv/Gxsb/xsbG/8bGxv8AAABw////AP///wD///8A////AP///wD///8A////AP///wAAAABwyMjI/7q6uv+6urr/urq6/7q6uv+6urr/yMjI/3BwcP94m73/V4Ks/1eCrP9Xgqz/V4Ks/3ibvf9wcHD/yMjI/7q6uv+6urr/urq6/7q6uv+6urr/yMjI/wAAAHD///8A////AP///wD///8A////AP///wD///8A////AAAAAHDJycn/vLy8/7y8vP+8vLz/vLy8/7y8vP/Jycn/cXFx/3qewP9ahrD/WYaw/1mGsP9ahrD/ep7A/3Fxcf/Jycn/vLy8/7y8vP+8vLz/vLy8/7y8vP/Jycn/AAAAcP///wD///8A////AP///wD///8A////AP///wD///8AAAAAcMvLy/++vr7/vr6+/76+vv++vr7/vr6+/8vLy/9ycnL/faHD/16KtP9dirT/XYq0/16KtP99ocP/cnJy/8vLy/++vr7/vr6+/76+vv++vr7/vr6+/8vLy/8AAABw////AP///wD///8A////AP///wD///8A////AP///wAAAABwzc3N/8DAwP/AwMD/wMDA/8DAwP/AwMD/zc3N/3Nzc/+Bpcb/Yo64/2GOuP9hjrj/Yo64/4Glxv9zc3P/zc3N/8DAwP/AwMD/wMDA/8DAwP/AwMD/zc3N/wAAAHD///8A////AP///wD///8A////AP///wD///8A////AAAAAHDPz8//w8PD/8PDw//Dw8P/w8PD/8PDw//Pz8//dXV1/4Soyf9mkrz/ZZK8/2WSvP9mkrz/hKjJ/3V1df/Pz8//w8PD/8PDw//Dw8P/w8PD/8PDw//Pz8//AAAAcP///wD///8A////AP///wD///8A////AP///wD///8AAAAAcNHR0f/FxcX/xcXF/8X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Qp/r/p7n7/7vK/P9tct3/NzfIlgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AAAAAAAAAAAAAAAAAAAAAAAAAABw+vr6//39/f/9/f3//f39//r6+v8AAABwNzfIlm503v/B0P7/t8j+/7fI/v/B0P7/bnTe/zc3yJYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wD///8AAAAAAAAAAAAAAAAAAAAAAAAAAEIAAABwAAAAcAAAAHAAAABwAAAAcAAAAEIAAAAANzfIlnF33v/O2v//ztr//3F33v83N8iWAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANzfIljc3yP83N8j/NzfIlgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD4AAAAGAAAABgAAAAYAAAAGAAAABgAAAAcAAAAPgAAAH8AAAD/gAAB/4AAA/+AAAf/gAAP/4AAH/+AAD//gAB//4AA//+Agf///8P/8=", "imagemd5" : "382945a634168871cbd03dc102449317", "imagemmh3" : -1084911326, "length" : 4286, "url" : "/favicon.ico" }, "http" : { "bodymd5" : "170802b6e32106b5905ecb8f50ed6708", "bodymmh3" : 1697840153, "component" : [ { "productvendor" : "Microsoft", "productversion" : "4.0.30319", "product" : "ASP.NET" } ], "headermd5" : "1ba5a3cccc5b05fb8fee1050895bd7b1", "headermmh3" : -2087641395, "title" : "Web\u7cfb\u7edf\u767b\u5f55" }, "length" : 10329 }, "asn" : "AS4134", "country" : "CN", "cpe" : "<enterprise field>: cpe", "cpecount" : "<enterprise field>: cpecount", "data" : "HTTP/1.1 200 OK\r\nCache-Control: private\r\nContent-Type: text/html; charset=utf-8\r\nServer: Microsoft-IIS/7.5\r\nX-AspNetMvc-Version: 4.0\r\nX-AspNet-Version: 4.0.30319\r\nX-Powered-By: ASP.NET\r\nDate: Thu, 07 Nov 2024 03:51:09 GMT\r\nConnection: close\r\nContent-Length: 10062\r\n\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n\r\n<head>\r\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n <title>Web\u7cfb\u7edf\u767b\u5f55</title>\r\n <link href=\"/CSS/demo.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n <link href=\"/CSS/login.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n <link href=\"/CSS/font-awesome.min.css\" rel=\"stylesheet\" type=\"text/css\" />\r\n\r\n <script src=\"/JS/boot.js\" type=\"text/javascript\"></script>\r\n <script src=\"/JS/APSystem.js\" type=\"text/javascript\"></script>\r\n <script src=\"/JS/core.js\" type=\"text/javascript\"></script>\r\n <script src=\"/JS/miniui/miniui.js\" type=\"text/javascript\"></script>\r\n <script src=\"/JS/Websocket.js\" type=\"text/javascript\"></script>\r\n <script src=\"/JS/reconnecting-websocket.js\" type=\"text/javascript\"></script>\r\n\r\n</head>\r\n<body>\r\n <form>\r\n <div style=\"position: absolute; right: 20px; top: 15px;\" id=\"locale\">\r\n <img src=\"../imgs/flag_en.gif\" style=\"cursor: pointer;\" border=\"\" alt=\"\" onclick=\"onLangChange('en-US')\">\r\n <img src=\"../imgs/flag_cn.gif\" style=\"cursor: pointer;\" border=\"\" alt=\"\" onclick=\"onLangChange('zh-CN')\">\r\n </div>\r\n\r\n <div class=\"title\" id=\"ctitle\">\r\n Web\u7cfb\u7edf\u767b\u5f55\r\n </div>\r\n\r\n <div id=\"login\">\r\n <div class=\"form\">\r\n\r\n <span class=\"fa fa-user fa-lg\"></span>\r\n <input type=\"text\" id=\"Code\" name=\"Code\" placeholder=\"\u8bf7\u8f93\u5165\u7528\u6237\u540d\" value=\"admin\" />\r\n <div class=\"clear\"></div>\r\n <span class=\"fa fa-lock fa-lg\"></span>\r\n <input type=\"password\" id=\"Password\" name=\"Password\" onenter=\"onKeyEnter\" placeholder=\"\u8bf7\u8f93\u5165\u5bc6\u7801\" />\r\n\r\n <input type=\"button\" id=\"btnLogin\" name=\"btnLogin\" value=\"\u767b\u5f55\" onclick=\"Login()\" />\r\n\r\n </div>\r\n </div>\r\n\r\n <div showheader=\"false\" region=\"south\" class=\"copyright\">\r\n <label>Copyright \u00a9 <label id=\"publisher\"></label> \u7248\u6743\u6240\u6709 </label>\r\n <label id=\"Version\"></label>\r\n </div>\r\n </form>\r\n</body>\r\n\r\n<script type=\"text/javascript\">\r\n mini.parse();\r\n mini.culture(\"zh-CN\");\r\n GetUserCode();\r\n var showerror = false;\r\n var ws;\r\n var timeout;\r\n\r\n function GetSoftInfo() {\r\n $.ajax({\r\n url: \"/Config/GetconfigView\",\r\n cache: false,\r\n success: function (text) {\r\n if (!text) return;\r\n var o = mini.decode(text);\r\n //var SoftName = $(\"#ctitle\");\r\n //SoftName.html(o.SoftCaption);\r\n\r\n var publisher = $(\"#publisher\");\r\n var SoftName = $(\"#SoftName\");\r\n var stitle = $(\"#title\");\r\n if (o.Publisher)\r\n if (publisher) publisher.html(o.Publisher);\r\n\r\n if (o.SoftCaption) {\r\n document.title = o.SoftCaption;\r\n if (SoftName) SoftName.html(o.SoftCaption);\r\n }\r\n\r\n }\r\n });\r\n }\r\n\r\n function ShowVersion() {\r\n $.ajax({\r\n url: \"/Home/GetDLLVerision\",\r\n cache: false,\r\n success: function (text) {\r\n if (!text) return;\r\n var o = mini.decode(text);\r\n var Version = $(\"#Version\");\r\n if (Version)\r\n Version.html(\"\u7248\u672c:\" + o.ver + \" \u65e5\u671f:\" + getFormatDate(o.lasttime));\r\n }\r\n });\r\n }\r\n\r\n ShowVersion();\r\n\r\n GetSoftInfo();\r\n function updateHandle(evt) {\r\n var o = mini.decode(evt);\r\n mini.unmask(document.body);\r\n if (o.error == \"2\") {\r\n showTips(true, \"\u64cd\u4f5c\", \"\u5347\u7ea7\u6570\u636e\u5e93\u5b8c\u6210\uff0c\u8bf7\u91cd\u65b0\u767b\u5f55\");\r\n return;\r\n }\r\n \r\n if (o.error == \"1\") {\r\n mini.mask({\r\n el: document.body,\r\n cls: 'mini-mask-loading',\r\n html: o.message\r\n });\r\n return;\r\n }\r\n mini.mask({\r\n el: document.body,\r\n cls: 'mini-mask-loading',\r\n html: o.message\r\n });\r\n }\r\n\r\n function connectSocketServer() {\r\n ws = new WSocket('8012', null, null,null,null,null,null,null,null,updateHandle);\r\n }\r\n\r\n window.onbeforeunload = function (event) {\r\n ws.close();\r\n }\r\n\r\n $(\"#Password\").keydown(function (e) {\r\n if (e.keyCode == 13) {\r\n Login();\r\n }\r\n });\r\n\r\n $(\"#Code\").keydown(function (e) {\r\n if (e.keyCode == 13) {\r\n Login();\r\n }\r\n });\r\n\r\n function settimeout() {\r\n timeout = setTimeout(function () {\r\n if (!showerror) {\r\n showerror = true;\r\n mini.unmask(document.body);\r\n alert(\"\u767b\u9646\u8d85\u65f6\uff01\");\r\n BuildDB();\r\n }\r\n }, 15000);\r\n }\r\n\r\n function Login() {\r\n var code = $(\"#Code\").val();//\u4ece\u63a7\u4ef6\u4e0a\u83b7\u53d6\u8d26\u53f7\r\n var password = $(\"#Password\").val();//\u4ece\u63a7\u4ef6\u4e0a\u83b7\u53d6\u5bc6\u7801\r\n if (code == \"\") {\r\n alert(\"\u7528\u6237\u540d\u4e0d\u80fd\u4e3a\u7a7a\uff01\");\r\n return;\r\n }\r\n mini.mask({\r\n el: document.body,\r\n cls: 'mini-mask-loading',\r\n html: \"\u767b\u5f55\u4e2d...\"\r\n });\r\n connectSocketServer();\r\n showerror = false;\r\n settimeout();\r\n $.ajax({\r\n url: \"/Home/GetLogin\",\r\n type: 'post',\r\n data: {\r\n UserCode: code,\r\n Password: password\r\n },\r\n cache: false,\r\n success: function (text) {\r\n clearTimeout(timeout);\r\n var o = mini.decode(text);\r\n if (o.error || o.type == 2) {\r\n if (showerror)\r\n return;\r\n\r\n showerror = true;\r\n mini.unmask(document.body);\r\n if (o.type == 2) {\r\n ConfirmDoing(\"\u6570\u636e\u5e93\u4e0d\u5b58\u5728\uff0c\u521b\u5efa\u6570\u636e\u5e93\uff1f\", function () {\r\n BuildDB();\r\n });\r\n return;\r\n }\r\n else if (o.error) {\r\n mini.alert(o.message);\r\n if (o.type == 1)\r\n BuildDB();\r\n return;\r\n }\r\n }\r\n Savecode(o);\r\n var url = window.location.href;\r\n if (url.indexOf(\"Home\") >= 0)\r\n window.location.replace(\"HomePage\");\r\n else\r\n window.location.replace(\"Home/HomePage\");\r\n },\r\n error: function (jqXHR, textStatus, errorThrown) {\r\n mini.unmask(document.body);\r\n mini.alert(jqXHR.responseText);\r\n }\r\n });\r\n }\r\n\r\n function BuildDB() {\r\n mini.open({\r\n url: \"/Home/BuildDB\",\r\n title: \"\u8fde\u63a5\u5230SQL\u6570\u636e\u5e93\", width: 360, height: 320,\r\n allowResize: false,\r\n onload: function () {\r\n },\r\n ondestroy: function (action) {\r\n }\r\n });\r\n }\r\n\r\n //\u8c03\u7528\u8be5\u65b9\u6cd5 \u5c06\u7528\u6237\u4fe1\u606f\u5199\u5165\u5230Cookie \u9700\u8981\u63d0\u4f9b\u7528\u6237\u4fe1\u606f\u53c2\u6570\r\n function Savecode(data) {\r\n if (data)\r\n if ((data.UserCode) && (data.UserCode != undefined) && (data.UserCode != null))//\u6570\u636eUserCode\u540c\u65f6\u6ee1\u8db3\u4e0d\u4e3a\u5047\u3001\u4e0d\u4e3a\u672a\u77e5\u3001\u4e0d\u4e3anull\u5219\u8fdb\u5165\u4e0b\u4e00\u6b65\u5199\u5165\u7528\u6237cookie\r\n {\r\n mini.Cookie.set('UserCode', data.UserCode);//\u5c06\u7528\u6237\u8d26\u53f7\u5199\u5165Cookie\r\n mini.Cookie.set('UserName', data.UserName);//\u5c06\u7528\u6237\u540d\u79f0\u5199\u5165Cookie\r\n mini.Cookie.set('Password', data.UserPassWord);//\u5c06\u7528\u6237\u5bc6\u7801\u5199\u5165Cookie\r\n }\r\n }\r\n //\u8c03\u7528\u8be5\u65b9\u6cd5 \u5c06\u4eceCookie\u4e2d\u8bfb\u51fa\u7528\u6237\u4fe1\u606f \u5e76\u8d4b\u503c\u7ed9\u8d26\u53f7\u548c\u5bc6\u7801\u63a7\u4ef6\r\n function GetUserCode() {\r\n var UserCode = mini.Cookie.get(\"UserCode\");//\u4eceCookie\u4e2d\u8bfb\u51fa\u7528\u6237\u8d26\u53f7\u5bf9\u8c61\r\n var password = mini.Cookie.get(\"Password\");//\u4eceCookie\u4e2d\u8bfb\u51fa\u7528\u6237\u5bc6\u7801\u5bf9\u8c61\r\n if ((UserCode) && (UserCode != undefined) && (UserCode != null))//\u5224\u65ad\u8d26\u53f7\u662f\u5426\u5408\u6cd5\r\n {\r\n $(\"#Code\").val(UserCode);//\u628a\u4eceCookie\u91cc\u8bfb\u51fa\u7684\u8d26\u53f7\u4fe1\u606f\u8d4b\u503c\u7ed9\u8be5\u63a7\u4ef6\r\n }\r\n if ((password) && (password != undefined) && (password != null))//\u5224\u65ad\u5bc6\u7801\u662f\u5426\u5408\u6cd5\r\n {\r\n document.getElementById(\"Password\").value = password;//Password\u7c7b\u578b\u7684\u63a7\u4ef6\u4e0d\u80fd\u7528JQ\u7684\u8d4b\u503c\u65b9\u5f0f \u9700\u8981\u4f20\u7edf\u7684JS\u8d4b\u503c \u6240\u4ee5\u4f7f\u7528\u4e86document.getElementById\u7684\u65b9\u5f0f\r\n }\r\n }\r\n\r\n function onLangChange(lan) {\r\n $.ajax({\r\n url: \"/Home/LangSwitch\",\r\n type: 'Get',//\u8bf7\u6c42\u7c7b\u578b\u4e3apost\r\n data: { Lan: lan },//\u4f20\u9012\u53c2\u6570 \u5206\u522b\u4e3acode\u8d26\u53f7 password\u5bc6\u7801\r\n cache: false,//\u4e0d\u7f13\u5b58\r\n contentType: \"application/json; charset=urf-8\",\r\n success: function (data)//\u8bf7\u6c42\u540e\u7684\u56de\u8c03\u51fd\u6570\r\n {\r\n window.location.href = window.location.href;\r\n },\r\n error: function (jqXHR, textStatus, errorThrown) {\r\n mini.alert(jqXHR.responseText);//\u8bf7\u6c42\u5931\u8d25 \u4ee5\u5bf9\u8bdd\u6846\u7684\u5f62\u5f0f\u663e\u793a\u5931\u8d25\u7684\u539f\u56e0\r\n }\r\n });\r\n }\r\n\r\n function getFormatDate(_date) {\r\n var date = new Date(_date);\r\n var seperator1 = \"-\";\r\n var seperator2 = \":\";\r\n var month = date.getMonth() + 1;\r\n var strDate = date.getDate();\r\n if (month >= 1 && month <= 9) {\r\n month = \"0\" + month;\r\n }\r\n if (strDate >= 0 && strDate <= 9) {\r\n strDate = \"0\" + strDate;\r\n }\r\n var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate\r\n + \" \" + date.getHours() + seperator2 + date.getMinutes()\r\n + seperator2 + date.getSeconds();\r\n return currentdate;\r\n }\r\n</script>\r\n</html>\r\n\r\n", "datamd5" : "11c8a0aeea9bf5ca6181715706cd7b2e", "datammh3" : 403513741, "device" : { "class" : "<enterprise field>: device.class" }, "geolocus" : { "asn" : "AS4134", "continent" : "AS", "continentname" : "Asia", "country" : "CN", "countryname" : "China", "domain" : [ "chinatelecom.cn" ], "isineu" : "false", "latitude" : "35.86166", "location" : "35.86166,104.195397", "longitude" : "104.195397", "netname" : "CHINANET-NM", "organization" : "CHINANET neimeng province network", "subnet" : "123.178.128.0/17" }, "ip" : "123.178.172.26", "ipv6" : "false", "latitude" : "34.7732", "location" : "34.7732,113.7220", "longitude" : "113.7220", "node" : { "country" : "<enterprise field>: node.country", "groupid" : "<enterprise field>: node.groupid", "id" : "<enterprise field>: node.id", "physicalcountry" : "<enterprise field>: node.physicalcountry" }, "organization" : "Chinanet", "os" : "Windows", "osvendor" : "Microsoft", "osversion" : [ "Server 2008", 7 ], "port" : 9527, "product" : "IIS", "productvendor" : "Microsoft", "productversion" : "7.5", "protocol" : "http", "protocolversion" : "1.1", "reason" : "OK", "seen_date" : "2024-11-07", "source" : "datascan", "status" : 200, "subnet" : "123.178.128.0/17", "tag" : "<enterprise field>: tag", "tls" : "false", "transport" : "tcp", "url" : "/" }