HTTP/1.1 200
Content-Type: text/html;charset=utf-8
Content-Language: ko
Content-Length: 6432
Date: Thu, 21 Nov 2024 10:23:08 GMT
Connection: close
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; 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,minimum-scale=1.0,maximum-scale=1.0">
<link rel="stylesheet" type="text/css" href="/resources/css/reset.css">
<link rel="stylesheet" type="text/css" href="/resources/css/login.css">
<script src="https://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="/resources/plugin/jquery/jquery.cookie.js"></script>
<!--[if lt IE 9]>
<script src=“//html5shiv.googlecode.com/svn/trunk/html5.js”></script>
<![endif]-->
</head>
<script type="text/javascript">
var COOKIE_KEY_USER_ID_SAVE = "_SAVE_USER_ID";
$( document ).ready(function() {
$(window).resize();
//$('.error_area').append("<p> </p>")
//$('.error_area').css('visibility', 'visible');
//$(".error_area").show();
$("#SubmitForm input[name=save_id]").bind("keyup keypress keydown", function() {
//saveIdProcess();
});
$("#SubmitForm input[name=save_id]").bind("click", function() {
saveIdProcess();
});
var cookieSaveUserIdValue = $.cookie(COOKIE_KEY_USER_ID_SAVE);
//쿠키에 저장된 로그인아이디가 있다면
if (cookieSaveUserIdValue != undefined && cookieSaveUserIdValue != null && cookieSaveUserIdValue.length > 0) {
$("#SubmitForm input[name=m_id]").val(cookieSaveUserIdValue);
$("#SubmitForm input[name=save_id]").prop("checked", true);
}
});
$(window).resize(function(){
$('.frm_wrap').css({position:'absolute'}).css({
left: ($(window).width() - $('.frm_wrap').outerWidth())/2,
top: ($(window).height() - $('.frm_wrap').outerHeight())/2
});
});
function saveIdProcess() {
var expires = -1;
var saveId = null;
if ($("#SubmitForm input[name=m_id]").val().length > 0) {
if ($("#SubmitForm input[name=save_id]").prop("checked")) {
expires = 365;
saveId = $("#SubmitForm input[name=m_id]").val();
}
}
$.cookie(COOKIE_KEY_USER_ID_SAVE, saveId, { expires: expires, path: '', domain: document.domain, secure: false });
}
function fnGoUrl(url){
if(url == null || url == "" || url == undefined || url == "undefined"){
return;
}
$("body").append($("<form>").attr({
"method" : "POST"
, "id" : "tempForm"
, "action" : url
}));
$("#tempForm").submit();
}
function fnSendAjax(url, data, callback, isAsync) {
var options = {
url : url,
type : "POST",
dataType : "json",
async : (isAsync == null || isAsync == "" || isAsync == undefined) ? true
: isAsync,
data : data,
success : function(data) {
//console.log(">>>>>>>>>>>>>"+data.result);
if (callback != null) {
callback(data);
} else {
//alert(data);
return;
}
},
error : function(request, data) {
alert('문제가 발생했습니다.'); // 문제가 발생했습니다.
if (request.status == 403) {
}
},
beforeSend : function() {
// jquery blockUI 시작
if($("div.login-box").length != 0){
$("div.login-box.loadingbar").append($("<div>").addClass("overlay").append($("<i>").addClass("fa fa-refresh fa-spin")));
}else{
$(".box.box-success").append($("<div>").addClass("overlay").append($("<i>").addClass("fa fa-refresh fa-spin")));
}
// $("body").append($("<div>").addClass("overlay").append($("<i>").addClass("fa fa-refresh fa-spin")))
},
complete : function() {
// jquery blockUI 종료
if($("div.login-box").length != 0){
//console.log("asdfadffa");
$("div.login-box").find("div.overlay").remove();
}else{
$(".box.box-success").find("div.overlay").remove();
}
// $("body").find("div.overlay").remove();
}
}
$.ajax(options);
}
function chk_form() {
if(document.getElementById("m_id").value==''){
//alert("아이디를 입력해 주세요.");
show_message(1);
return false;
}
if(document.getElementById("m_pass").value==''){
show_message(2);
return false;
}
fn_login();
//document.getElementById('SubmitForm').submit();
}
function show_message(num){
$(".error_area").empty();
if(num == 1){
$('.error_area').append('<p>아이디를 입력해 주세요.</p>');
}
else if(num == 2){
$('.error_area').append('<p>비밀번호를 입력해주세요.</p>');
}
else if(num == 3){
$('.error_area').append('<p>등록되지 않은 아이디 이거나, 아이디 또는 비밀번호를 잘못 입력하셨습니다.</p>');
}
$('.error_area').css('visibility', 'visible');
}
function fn_login(){
var url = "" + "/login/login.ajax";
var data = {
"id" : $("#m_id").val()
, "pass" : $("#m_pass").val()
}
var callback = function(data){
var loginInfo = data.loginInfo;
if(!data.flag){
show_message(3);
}
else {
fnGoUrl("" + "/main");
}
}
fnSendAjax(url, data, callback, false);
}
</script>
<body onload="document.SubmitForm.m_id.focus();">
<div id="wrapper">
<div class="frm_wrap">
<div class="frm_img"></div>
<div class="frm">
<!-- <h3 class="h3_txt">과적방지 장치<br>관리시스템</h3> -->
<form id="SubmitForm" method="post" action="/loginRequest">
<fieldset class="frm_login">
<legend>ID와 비밀번호를 입력하세요.</legend>
<!-- error <div class="error_area visible"> -->
<div class="error_area hidden">
</div>
<!-- //error -->
<div class="frm_dl"><label class="icn_id">아이디</label><span><input type="text" name="m_id" id="m_id" class="input_idpw" placeholder="아이디 입력"></span></div>
<div class="frm_dl"><label class="icn_pw">비밀번호</label><span><input type="password" name="m_pass" id="m_pass" class="input_idpw" placeholder="비밀번호 입력"></span></div>
<div class="chk-wrap pb55">
<div class="chk-saveid">
<input type="checkbox" name="save_id" id="save_id" value = ""><label for="save_id"><span>아이디 저장</span></label>
</div>
</div>
<a href="#" onclick="return chk_form()" class="btn_login" title="login"><span>Login</span></a>
</fieldset>
</form>
</div>
</div>
</div>
</body>
</html>
{
"@category" : "datascan",
"@timestamp" : "2024-11-21T10:23:10.000Z",
"app" : {
"extract" : {
"domain" : [
"jquery.com"
],
"hostname" : [
"code.jquery.com"
],
"url" : [
"https://code.jquery.com/jquery-latest.js"
]
},
"http" : {
"bodymd5" : "6bd2c2c04a2c675b2fb608a442befdde",
"bodymmh3" : -2089774064,
"headermd5" : "fa5e081fe3e365b1e4e49bdbe049c112",
"headermmh3" : 945938575
},
"length" : 6588
},
"asn" : "AS9318",
"city" : "Gimpo-si",
"country" : "KR",
"data" : "HTTP/1.1 200 \r\nContent-Type: text/html;charset=utf-8\r\nContent-Language: ko\r\nContent-Length: 6432\r\nDate: Thu, 21 Nov 2024 10:23:08 GMT\r\nConnection: close\r\n\r\n\r\n<html>\r\n<head>\r\n\t<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\r\n\t<meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0\">\r\n <link rel=\"stylesheet\" type=\"text/css\" href=\"/resources/css/reset.css\">\r\n <link rel=\"stylesheet\" type=\"text/css\" href=\"/resources/css/login.css\">\r\n <script src=\"https://code.jquery.com/jquery-latest.js\"></script>\r\n <script type=\"text/javascript\" src=\"/resources/plugin/jquery/jquery.cookie.js\"></script>\r\n\t<!--[if lt IE 9]>\r\n\t\t<script src=\u201c//html5shiv.googlecode.com/svn/trunk/html5.js\u201d></script>\r\n\t<![endif]-->\r\n</head>\r\n\r\n<script type=\"text/javascript\">\r\n var COOKIE_KEY_USER_ID_SAVE = \"_SAVE_USER_ID\";\r\n \r\n $( document ).ready(function() {\r\n $(window).resize();\r\n //$('.error_area').append(\"<p> </p>\")\r\n //$('.error_area').css('visibility', 'visible');\r\n //$(\".error_area\").show();\r\n \r\n \r\n $(\"#SubmitForm input[name=save_id]\").bind(\"keyup keypress keydown\", function() {\r\n\t\t//saveIdProcess();\r\n\t});\r\n \r\n\t $(\"#SubmitForm input[name=save_id]\").bind(\"click\", function() {\r\n\t\t\tsaveIdProcess();\r\n\t });\r\n \r\n var cookieSaveUserIdValue = $.cookie(COOKIE_KEY_USER_ID_SAVE);\r\n\t//\ucfe0\ud0a4\uc5d0 \uc800\uc7a5\ub41c \ub85c\uadf8\uc778\uc544\uc774\ub514\uac00 \uc788\ub2e4\uba74\r\n\tif (cookieSaveUserIdValue != undefined && cookieSaveUserIdValue != null && cookieSaveUserIdValue.length > 0) {\r\n\t\t$(\"#SubmitForm input[name=m_id]\").val(cookieSaveUserIdValue);\r\n\t\t$(\"#SubmitForm input[name=save_id]\").prop(\"checked\", true);\r\n\t}\r\n }); \r\n \r\n $(window).resize(function(){\r\n $('.frm_wrap').css({position:'absolute'}).css({\r\n left: ($(window).width() - $('.frm_wrap').outerWidth())/2,\r\n top: ($(window).height() - $('.frm_wrap').outerHeight())/2\r\n });\r\n });\r\n \r\n \r\n \r\nfunction saveIdProcess() {\r\n\tvar expires = -1;\r\n\tvar saveId = null;\r\n\tif ($(\"#SubmitForm input[name=m_id]\").val().length > 0) {\r\n\t\tif ($(\"#SubmitForm input[name=save_id]\").prop(\"checked\")) {\r\n\t\t\texpires = 365;\r\n\t\t\tsaveId = $(\"#SubmitForm input[name=m_id]\").val();\r\n\t\t}\r\n\t}\t\r\n\t$.cookie(COOKIE_KEY_USER_ID_SAVE, saveId, { expires: expires, path: '', domain: document.domain, secure: false });\r\n}\r\n\r\n function fnGoUrl(url){\r\n\t\tif(url == null || url == \"\" || url == undefined || url == \"undefined\"){\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\t$(\"body\").append($(\"<form>\").attr({\r\n\t\t\t\"method\" : \"POST\"\r\n\t\t\t, \"id\" : \"tempForm\"\r\n\t\t\t, \"action\" : url\r\n\t\t}));\r\n\t\t\r\n\t\t$(\"#tempForm\").submit();\r\n}\r\n \r\n function fnSendAjax(url, data, callback, isAsync) {\r\n\t\tvar options = {\r\n\t\t\turl : url,\r\n\t\t\ttype : \"POST\",\r\n\t\t\tdataType : \"json\",\r\n\t\t\tasync : (isAsync == null || isAsync == \"\" || isAsync == undefined) ? true\r\n\t\t\t\t\t: isAsync,\r\n\t\t\tdata : data,\r\n\t\t\tsuccess : function(data) {\r\n\t\t\t\t//console.log(\">>>>>>>>>>>>>\"+data.result);\r\n\t\t\t\tif (callback != null) {\r\n\t\t\t\t\tcallback(data);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t//alert(data);\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\terror : function(request, data) {\r\n\t\t\t\talert('\ubb38\uc81c\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4.'); // \ubb38\uc81c\uac00 \ubc1c\uc0dd\ud588\uc2b5\ub2c8\ub2e4. \r\n\t\t\t\tif (request.status == 403) {\r\n\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tbeforeSend : function() {\r\n\t\t\t\t// jquery blockUI \uc2dc\uc791\r\n\t\t\t\tif($(\"div.login-box\").length != 0){\r\n\t\t\t\t\t$(\"div.login-box.loadingbar\").append($(\"<div>\").addClass(\"overlay\").append($(\"<i>\").addClass(\"fa fa-refresh fa-spin\")));\r\n\t\t\t\t}else{\r\n\t\t\t\t\t$(\".box.box-success\").append($(\"<div>\").addClass(\"overlay\").append($(\"<i>\").addClass(\"fa fa-refresh fa-spin\")));\r\n\t\t\t\t}\r\n//\t\t\t\t$(\"body\").append($(\"<div>\").addClass(\"overlay\").append($(\"<i>\").addClass(\"fa fa-refresh fa-spin\")))\r\n\t\t\t},\r\n\t\t\tcomplete : function() {\r\n\t\t\t\t// jquery blockUI \uc885\ub8cc\r\n\t\t\t\tif($(\"div.login-box\").length != 0){\r\n\t\t\t\t\t//console.log(\"asdfadffa\");\r\n\t\t\t\t\t$(\"div.login-box\").find(\"div.overlay\").remove();\r\n\t\t\t\t}else{\r\n\t\t\t\t\t$(\".box.box-success\").find(\"div.overlay\").remove();\r\n\t\t\t\t}\r\n//\t\t\t\t$(\"body\").find(\"div.overlay\").remove();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t$.ajax(options);\r\n\t}\r\n \r\n \r\n function chk_form() {\r\n\t if(document.getElementById(\"m_id\").value==''){\r\n\t \t//alert(\"\uc544\uc774\ub514\ub97c \uc785\ub825\ud574 \uc8fc\uc138\uc694.\");\r\n\t \tshow_message(1);\r\n\t \treturn false;\r\n\t }\r\n\t if(document.getElementById(\"m_pass\").value==''){\r\n\t \tshow_message(2);\r\n\t \treturn false;\r\n\t }\r\n\t fn_login();\r\n\t //document.getElementById('SubmitForm').submit();\r\n}\r\n\r\nfunction show_message(num){\r\n\t$(\".error_area\").empty();\r\n\tif(num == 1){\r\n\t\t$('.error_area').append('<p>\uc544\uc774\ub514\ub97c \uc785\ub825\ud574 \uc8fc\uc138\uc694.</p>');\r\n\t}\r\n\telse if(num == 2){\r\n\t\t$('.error_area').append('<p>\ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud574\uc8fc\uc138\uc694.</p>');\r\n\t}\r\n\telse if(num == 3){\r\n\t\t$('.error_area').append('<p>\ub4f1\ub85d\ub418\uc9c0 \uc54a\uc740 \uc544\uc774\ub514 \uc774\uac70\ub098, \uc544\uc774\ub514 \ub610\ub294 \ube44\ubc00\ubc88\ud638\ub97c \uc798\ubabb \uc785\ub825\ud558\uc168\uc2b5\ub2c8\ub2e4.</p>');\r\n\t}\r\n\t$('.error_area').css('visibility', 'visible');\r\n}\r\n\r\nfunction fn_login(){\r\n\r\n\tvar url = \"\" + \"/login/login.ajax\";\r\n\t\r\n\tvar data = {\r\n\t\t\t\"id\" : $(\"#m_id\").val()\r\n\t\t\t, \"pass\" : $(\"#m_pass\").val()\r\n\t}\r\n\t\r\n\tvar callback = function(data){\r\n\t\tvar loginInfo = data.loginInfo;\r\n\t\t\r\n\t\tif(!data.flag){\r\n\t\t\tshow_message(3);\r\n\t\t}\r\n\t\telse {\r\n\t\t\tfnGoUrl(\"\" + \"/main\");\r\n\t\t}\r\n\t}\r\n\t\r\n\tfnSendAjax(url, data, callback, false);\r\n}\r\n \r\n</script>\r\n\r\n<body onload=\"document.SubmitForm.m_id.focus();\">\r\n\t<div id=\"wrapper\">\r\n\t\t<div class=\"frm_wrap\">\r\n\t\t\t<div class=\"frm_img\"></div>\r\n\t\t\t<div class=\"frm\">\r\n\t\t\t\t<!-- <h3 class=\"h3_txt\">\uacfc\uc801\ubc29\uc9c0 \uc7a5\uce58<br>\uad00\ub9ac\uc2dc\uc2a4\ud15c</h3> -->\r\n\t\t\t\t<form id=\"SubmitForm\" method=\"post\" action=\"/loginRequest\">\r\n\t\t\t\t<fieldset class=\"frm_login\">\r\n\t\t\t\t<legend>ID\uc640 \ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud558\uc138\uc694.</legend>\r\n\t\t\t\t\t<!-- error <div class=\"error_area visible\"> -->\r\n\t\t\t\t\t<div class=\"error_area hidden\">\r\n\t\t\t\t\t\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<!-- //error -->\t\t\t\t\t\r\n\t\t\t\t\t<div class=\"frm_dl\"><label class=\"icn_id\">\uc544\uc774\ub514</label><span><input type=\"text\" name=\"m_id\" id=\"m_id\" class=\"input_idpw\" placeholder=\"\uc544\uc774\ub514 \uc785\ub825\"></span></div>\r\n\t\t\t\t\t<div class=\"frm_dl\"><label class=\"icn_pw\">\ube44\ubc00\ubc88\ud638</label><span><input type=\"password\" name=\"m_pass\" id=\"m_pass\" class=\"input_idpw\" placeholder=\"\ube44\ubc00\ubc88\ud638 \uc785\ub825\"></span></div>\r\n\t\t\t\t\t<div class=\"chk-wrap pb55\">\r\n\t\t\t\t\t\t<div class=\"chk-saveid\">\r\n\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"save_id\" id=\"save_id\" value = \"\"><label for=\"save_id\"><span>\uc544\uc774\ub514 \uc800\uc7a5</span></label>\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</div>\r\n\t\t\t\t\t<a href=\"#\" onclick=\"return chk_form()\" class=\"btn_login\" title=\"login\"><span>Login</span></a>\r\n\t\t\t\t</fieldset>\r\n\t\t\t\t</form>\r\n\t\t\t</div>\r\n\t\t</div>\r\n\t</div>\r\n</body>\r\n</html>\r\n",
"datamd5" : "2b4decb55482c53ee08424648fe24d61",
"datammh3" : 1940022517,
"device" : {
"class" : "<enterprise field>: device.class"
},
"forward" : "58.232.33.24",
"geolocus" : {
"asn" : "AS9318",
"continent" : "AS",
"continentname" : "Asia",
"country" : "KR",
"countryname" : "South Korea",
"domain" : [
"nic.or.kr",
"skbroadband.com"
],
"isineu" : "false",
"latitude" : "35.907757",
"location" : "35.907757,127.766922",
"longitude" : "127.766922",
"netname" : "broadNnet",
"organization" : "SK Broadband Co Ltd",
"subnet" : "58.232.32.0/21"
},
"hostname" : [
"58.232.33.24"
],
"ip" : "58.232.33.24",
"ipv6" : "false",
"latitude" : "37.6260",
"location" : "37.6260,126.7152",
"longitude" : "126.7152",
"node" : {
"country" : "<enterprise field>: node.country",
"groupid" : "<enterprise field>: node.groupid",
"id" : "<enterprise field>: node.id",
"physicalcountry" : "<enterprise field>: node.physicalcountry"
},
"organization" : "SK Broadband Co Ltd",
"port" : 8888,
"protocol" : "http",
"protocolversion" : "1.1",
"seen_date" : "2024-11-21",
"source" : "datascan::redirect::1",
"status" : 200,
"subnet" : "58.232.32.0/21",
"tag" : "<enterprise field>: tag",
"tls" : "false",
"transport" : "tcp",
"url" : "/login;jsessionid=7AB5B76BE069B6A984761CA6BA43B13F"
}