HTTP/1.1 200 OK
Content-Type: text/html
Server: LPS-0.1
<!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>登录</title>
<style type="text/css">
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-weight: 300;
}
body {
font-family: 'Source Sans Pro', sans-serif;
color: white;
font-weight: 300;
}
body ::-webkit-input-placeholder {
/* WebKit browsers */
font-family: 'Source Sans Pro', sans-serif;
color: white;
font-weight: 300;
}
body :-moz-placeholder {
/* Mozilla Firefox 4 to 18 */
font-family: 'Source Sans Pro', sans-serif;
color: white;
opacity: 1;
font-weight: 300;
}
body ::-moz-placeholder {
/* Mozilla Firefox 19+ */
font-family: 'Source Sans Pro', sans-serif;
color: white;
opacity: 1;
font-weight: 300;
}
body :-ms-input-placeholder {
/* Internet Explorer 10+ */
font-family: 'Source Sans Pro', sans-serif;
color: white;
font-weight: 300;
}
.wrapper {
background: #393D49 !important;
background: -webkit-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
background: linear-gradient(to bottom right, #50a3a2 0%, #53e3a6 100%);
opacity: 0.8;
position: absolute;
left: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
.wrapper.form-success .container h1 {
-webkit-transform: translateY(85px);
-ms-transform: translateY(85px);
transform: translateY(85px);
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 80px 0;
height: 400px;
text-align: center;
}
.container h1 {
font-size: 40px;
-webkit-transition-duration: 1s;
transition-duration: 1s;
-webkit-transition-timing-function: ease-in-put;
transition-timing-function: ease-in-put;
font-weight: 200;
}
.form {
padding: 20px 0;
position: relative;
z-index: 2;
}
.form input {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
border: 1px solid rgba(255, 255, 255, 0.4);
background-color: rgba(255, 255, 255, 0.2);
width: 250px;
border-radius: 3px;
padding: 10px 15px;
margin: 0 auto 10px auto;
display: block;
text-align: center;
font-size: 18px;
color: white;
-webkit-transition-duration: 0.25s;
transition-duration: 0.25s;
font-weight: 300;
}
.form input:hover {
background-color: rgba(255, 255, 255, 0.4);
}
.form input:focus {
background-color: white;
width: 300px;
color: #53e3a6;
}
.form button {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
outline: 0;
background-color: white;
border: 0;
padding: 10px 15px;
color: #53e3a6;
border-radius: 3px;
width: 250px;
cursor: pointer;
font-size: 18px;
-webkit-transition-duration: 0.25s;
transition-duration: 0.25s;
}
.form button:hover {
background-color: #f5f7f9;
}
</style>
</head>
<body>
<!-- 代码 开始 -->
<div class="wrapper">
<div class="container">
<h1>LanProxy.org</h1>
<div class="form">
<input type="text" class="username" placeholder="">
<input type="password" class="password" placeholder="">
<button type="submit" id="login-button"></button>
</div>
</div>
</div>
<script src="jquery/jquery-3.1.1.min.js" type="text/javascript"></script>
<script src="jquery/jquery.i18n.properties.min.js" type="text/javascript"></script>
<script>
$('#login-button').click(function(event) {
$.ajax({
type : "POST",
url : "/login",
contentType : "application/json; charset=utf-8",
data : JSON.stringify({
username : $(".username").val(),
password : $(".password").val()
}),
dataType : "json",
success : function(data) {
if (data.code == 20000) {
setCookie("token", data.data);
window.location.href = "/lanproxy-config/";
}
},
error : function(e) {
alert(e.responseJSON.message);
}
});
});
function setCookie(name, value) {
var Days = 30;
var exp = new Date();
exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);
document.cookie = name + "=" + escape(value) + ";expires="
+ exp.toGMTString();
}
$(document).keyup(function(event) {
if (event.keyCode == 13) {
$("#login-button").trigger("click");
}
});
/**
* 设置语言类型: 默认为英文
*/
var i18nLanguage = "en";
/*
设置一下网站支持的语言种类
zh-CN(中文简体)、en(英语)
*/
var webLanguage = [ 'zh-CN', 'en' ];
function initWebLanguage() {
var navLanguage = navigator.language;
console.log("user set browser language is " + navLanguage);
if (navLanguage) {
var charSize = $.inArray(navLanguage, webLanguage);
if (charSize > -1) {
i18nLanguage = navLanguage;
}
}
}
initWebLanguage();
jQuery.i18n.properties({
name : 'lang', //资源文件名称
path : '/i18n/', //资源文件路径
mode : 'map', //用Map的方式使用资源文件中的值
language : i18nLanguage,
encoding: 'UTF-8',
callback : function() {//加载成功后设置显示内容
$('title').html($.i18n.prop('login')+" - LanProxy");
$('#login-button').html($.i18n.prop('login'));
$(".username").attr("placeholder", $.i18n.prop('username'));
$(".password").attr("placeholder", $.i18n.prop('password'));
}
});
</script>
<!-- 代码 结束 -->
</body>
</html>
{
"@category" : "datascan",
"@timestamp" : "2024-11-07T07:35:29.000Z",
"app" : {
"http" : {
"bodymd5" : "3cbc895dadfbfc53ce3827c69fdaaa34",
"bodymmh3" : 1189470747,
"component" : [
{
"productvendor" : "jQuery",
"productversion" : "3.1.1",
"product" : "jQuery"
}
],
"headermd5" : "39d2361b435d0b7d55dc827709519ab0",
"headermmh3" : -1027607590,
"title" : "\u767b\u5f55"
},
"length" : 5309
},
"asn" : "AS55990",
"country" : "CN",
"cpe" : "<enterprise field>: cpe",
"cpecount" : "<enterprise field>: cpecount",
"data" : "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\nServer: LPS-0.1\r\n\r\n\n<!doctype html>\n<html lang=\"zh\">\n<head>\n<meta charset=\"UTF-8\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<title>\u767b\u5f55</title>\n<style type=\"text/css\">\n* {\n\tbox-sizing: border-box;\n\tmargin: 0;\n\tpadding: 0;\n\tfont-weight: 300;\n}\n\nbody {\n\tfont-family: 'Source Sans Pro', sans-serif;\n\tcolor: white;\n\tfont-weight: 300;\n}\n\nbody ::-webkit-input-placeholder {\n\t/* WebKit browsers */\n\tfont-family: 'Source Sans Pro', sans-serif;\n\tcolor: white;\n\tfont-weight: 300;\n}\n\nbody :-moz-placeholder {\n\t/* Mozilla Firefox 4 to 18 */\n\tfont-family: 'Source Sans Pro', sans-serif;\n\tcolor: white;\n\topacity: 1;\n\tfont-weight: 300;\n}\n\nbody ::-moz-placeholder {\n\t/* Mozilla Firefox 19+ */\n\tfont-family: 'Source Sans Pro', sans-serif;\n\tcolor: white;\n\topacity: 1;\n\tfont-weight: 300;\n}\n\nbody :-ms-input-placeholder {\n\t/* Internet Explorer 10+ */\n\tfont-family: 'Source Sans Pro', sans-serif;\n\tcolor: white;\n\tfont-weight: 300;\n}\n\n.wrapper {\n\tbackground: #393D49 !important;\n\tbackground: -webkit-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);\n\tbackground: linear-gradient(to bottom right, #50a3a2 0%, #53e3a6 100%);\n\topacity: 0.8;\n\tposition: absolute;\n\tleft: 0;\n\twidth: 100%;\n\theight: 100%;\n\toverflow: hidden;\n}\n\n.wrapper.form-success .container h1 {\n\t-webkit-transform: translateY(85px);\n\t-ms-transform: translateY(85px);\n\ttransform: translateY(85px);\n}\n\n.container {\n\tmax-width: 600px;\n\tmargin: 0 auto;\n\tpadding: 80px 0;\n\theight: 400px;\n\ttext-align: center;\n}\n\n.container h1 {\n\tfont-size: 40px;\n\t-webkit-transition-duration: 1s;\n\ttransition-duration: 1s;\n\t-webkit-transition-timing-function: ease-in-put;\n\ttransition-timing-function: ease-in-put;\n\tfont-weight: 200;\n}\n\n.form {\n\tpadding: 20px 0;\n\tposition: relative;\n\tz-index: 2;\n}\n\n.form input {\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n\tappearance: none;\n\toutline: 0;\n\tborder: 1px solid rgba(255, 255, 255, 0.4);\n\tbackground-color: rgba(255, 255, 255, 0.2);\n\twidth: 250px;\n\tborder-radius: 3px;\n\tpadding: 10px 15px;\n\tmargin: 0 auto 10px auto;\n\tdisplay: block;\n\ttext-align: center;\n\tfont-size: 18px;\n\tcolor: white;\n\t-webkit-transition-duration: 0.25s;\n\ttransition-duration: 0.25s;\n\tfont-weight: 300;\n}\n\n.form input:hover {\n\tbackground-color: rgba(255, 255, 255, 0.4);\n}\n\n.form input:focus {\n\tbackground-color: white;\n\twidth: 300px;\n\tcolor: #53e3a6;\n}\n\n.form button {\n\t-webkit-appearance: none;\n\t-moz-appearance: none;\n\tappearance: none;\n\toutline: 0;\n\tbackground-color: white;\n\tborder: 0;\n\tpadding: 10px 15px;\n\tcolor: #53e3a6;\n\tborder-radius: 3px;\n\twidth: 250px;\n\tcursor: pointer;\n\tfont-size: 18px;\n\t-webkit-transition-duration: 0.25s;\n\ttransition-duration: 0.25s;\n}\n\n.form button:hover {\n\tbackground-color: #f5f7f9;\n}\n</style>\n</head>\n<body>\n\t<!-- \u4ee3\u7801 \u5f00\u59cb -->\n\t<div class=\"wrapper\">\n\t\t<div class=\"container\">\n\t\t\t<h1>LanProxy.org</h1>\n\n\t\t\t<div class=\"form\">\n\t\t\t\t<input type=\"text\" class=\"username\" placeholder=\"\">\n\t\t\t\t<input type=\"password\" class=\"password\" placeholder=\"\">\n\t\t\t\t<button type=\"submit\" id=\"login-button\"></button>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n\n\t<script src=\"jquery/jquery-3.1.1.min.js\" type=\"text/javascript\"></script>\n\t<script src=\"jquery/jquery.i18n.properties.min.js\" type=\"text/javascript\"></script>\n\t<script>\n\t\t$('#login-button').click(function(event) {\n\t\t\t$.ajax({\n\t\t\t\ttype : \"POST\",\n\t\t\t\turl : \"/login\",\n\t\t\t\tcontentType : \"application/json; charset=utf-8\",\n\t\t\t\tdata : JSON.stringify({\n\t\t\t\t\tusername : $(\".username\").val(),\n\t\t\t\t\tpassword : $(\".password\").val()\n\t\t\t\t}),\n\t\t\t\tdataType : \"json\",\n\t\t\t\tsuccess : function(data) {\n\t\t\t\t\tif (data.code == 20000) {\n\t\t\t\t\t\tsetCookie(\"token\", data.data);\n\t\t\t\t\t\twindow.location.href = \"/lanproxy-config/\";\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\terror : function(e) {\n\t\t\t\t\talert(e.responseJSON.message);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\n\t\tfunction setCookie(name, value) {\n\t\t\tvar Days = 30;\n\t\t\tvar exp = new Date();\n\t\t\texp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);\n\t\t\tdocument.cookie = name + \"=\" + escape(value) + \";expires=\"\n\t\t\t\t\t+ exp.toGMTString();\n\t\t}\n\n\t\t$(document).keyup(function(event) {\n\t\t\tif (event.keyCode == 13) {\n\t\t\t\t$(\"#login-button\").trigger(\"click\");\n\t\t\t}\n\t\t});\n\n\t\t/**\n\t\t * \u8bbe\u7f6e\u8bed\u8a00\u7c7b\u578b\uff1a \u9ed8\u8ba4\u4e3a\u82f1\u6587 \n\t\t */\n\t\tvar i18nLanguage = \"en\";\n\n\t\t/* \n\t\t\u8bbe\u7f6e\u4e00\u4e0b\u7f51\u7ad9\u652f\u6301\u7684\u8bed\u8a00\u79cd\u7c7b \n\t\tzh-CN(\u4e2d\u6587\u7b80\u4f53)\u3001en(\u82f1\u8bed) \n\t\t */\n\t\tvar webLanguage = [ 'zh-CN', 'en' ];\n\n\t\tfunction initWebLanguage() {\n\t\t\tvar navLanguage = navigator.language;\n\t\t\tconsole.log(\"user set browser language is \" + navLanguage);\n\t\t\tif (navLanguage) {\n\t\t\t\tvar charSize = $.inArray(navLanguage, webLanguage);\n\t\t\t\tif (charSize > -1) {\n\t\t\t\t\ti18nLanguage = navLanguage;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tinitWebLanguage();\n\n\t\tjQuery.i18n.properties({\n\t\t\tname : 'lang', //\u8d44\u6e90\u6587\u4ef6\u540d\u79f0\n\t\t\tpath : '/i18n/', //\u8d44\u6e90\u6587\u4ef6\u8def\u5f84\n\t\t\tmode : 'map', //\u7528Map\u7684\u65b9\u5f0f\u4f7f\u7528\u8d44\u6e90\u6587\u4ef6\u4e2d\u7684\u503c\n\t\t\tlanguage : i18nLanguage,\n\t\t\tencoding: 'UTF-8',\n\t\t\tcallback : function() {//\u52a0\u8f7d\u6210\u529f\u540e\u8bbe\u7f6e\u663e\u793a\u5185\u5bb9\n\t\t\t\t$('title').html($.i18n.prop('login')+\" - LanProxy\");\n\t\t\t\t$('#login-button').html($.i18n.prop('login'));\n\t\t\t $(\".username\").attr(\"placeholder\", $.i18n.prop('username'));\n\t\t\t $(\".password\").attr(\"placeholder\", $.i18n.prop('password'));\n\t\t\t}\n\t\t});\n\t</script>\n\t<!-- \u4ee3\u7801 \u7ed3\u675f -->\n\n</body>\n</html>",
"datamd5" : "dfde0a26423e7beb44e3b5eb263bace9",
"datammh3" : 1673995750,
"device" : {
"class" : "<enterprise field>: device.class"
},
"domain" : [
"hwclouds-dns.com"
],
"geolocus" : {
"asn" : "AS55990",
"continent" : "AS",
"continentname" : "Asia",
"country" : "CN",
"countryname" : "China",
"domain" : [
"cnnic.cn",
"huawei.com",
"hwclouds-dns.com"
],
"isineu" : "false",
"latitude" : "35.86166",
"location" : "35.86166,104.195397",
"longitude" : "104.195397",
"netname" : "HWCSNET",
"organization" : "Huawei Public Cloud Service (Huawei Software Technologies Ltd.Co)",
"subnet" : "119.3.0.0/16"
},
"host" : [
"ecs-119-3-0-127"
],
"hostname" : [
"ecs-119-3-0-127.compute.hwclouds-dns.com"
],
"ip" : "119.3.0.127",
"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" : "Huawei Cloud Service data center",
"os" : "Windows",
"osvendor" : "Microsoft",
"port" : 8090,
"protocol" : "http",
"protocolversion" : "1.1",
"reason" : "OK",
"reverse" : [
"ecs-119-3-0-127.compute.hwclouds-dns.com"
],
"seen_date" : "2024-11-07",
"source" : "datascan",
"status" : 200,
"subdomains" : [
"compute.hwclouds-dns.com"
],
"subnet" : "119.3.0.0/16",
"tag" : "<enterprise field>: tag",
"tld" : [
"com"
],
"tls" : "false",
"transport" : "tcp",
"url" : "/"
}