HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/10.0
Set-Cookie: ASP.NET_SessionId=acewml1l2sb1h4lx3a3nmcwe; path=/; HttpOnly; SameSite=Lax
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Thu, 07 Nov 2024 05:11:47 GMT
Connection: close
Content-Length: 25598
<!DOCTYPE html>
<html lang="en">
<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>Smacc Login</title>
<meta name="ArabSea" content="Customer Login Form style copyright with Arabsea" />
<meta name="ArabSea" content="this is the login page for smacc program" />
<meta name="ArabSea" content="Smacc Index Page" />
<!-- Latest Jquery Link -->
<script src="Scripts/js/jquery.min.js" type="text/javascript"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="Scripts/js/bootstrap.min.js" type="text/javascript"></script>
<!-- New CSS for responsive design -->
<link rel="stylesheet" type="text/css" href="Styles/Default/Stylesheets/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="Styles/Default/Stylesheets/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="Styles/Default/Stylesheets/css/custom.css" />
<link rel="stylesheet" type="text/css" href="Styles/Default/Images/Login/Css/Login.css" />
<script src="Scripts/Smacc.js"></script>
<script type="text/javascript">
function Validate() {
if (ValidateCredentials() && ValidateCaptcha())
return true;
else
return false;
}
function ValidateCaptcha() {
if ($("#captchadiv").css('visibility') === 'visible') {
var captcha = $('#txtcaptcha').val();
var hdncaptcha = $('#hdncaptcha').val();
if (captcha == '' || captcha == undefined) {
$('#divErrorMsg').css("display", 'block');
$('#lbMessage').text('Please enter the code shown.');
$('#txtcaptcha').focus();
return false;
}
else if (captcha != hdncaptcha) {
$('#divErrorMsg').css("display", 'block');
$('#lbMessage').text('Please enter the code shown.');
$('#txtcaptcha').val('');
$('#txtcaptcha').focus();
return false;
}
}
return true;
}
function ValidateCredentials() {
if ($('#txtLoginID').val() === '') {
$('#divErrorMsg').css("display", 'block');
$('#lbMessage').text('Login ID required.');
$('#txtLoginID').focus();
return false;
}
else if ($('#txtPassword').val() === '') {
$('#lbMessage').text('Password required.');
$('#txtPassword').focus();
return false;
}
return true;
}
function showMessageOTPRelated(msg, color, delay, cb) {
var cssClass = ''
if (color === 'Red')
cssClass = "alert-danger";
else
if (color === 'Blue')
cssClass = "alert-info";
else
if (color === 'Green')
cssClass = "alert-success";
else
cssClass = "alert-warning";
$('<div role="alert"></div>')
.appendTo("body")
.html(msg.replace("<span>", "").replace("</span>", ""))
.addClass("AbsoluteMessage alert " + cssClass)
.hide().slideDown().delay(delay).slideUp();
}
$(function () {
if ($(window).width() < 768) {
var images = [
'mobile-login-image-01.jpg',
'mobile-login-image-02.jpg',
'mobile-login-image-03.jpg',
'mobile-login-image-04.jpg',
'mobile-login-image-05.jpg',
'mobile-login-image-06.jpg',
'mobile-login-image-07.jpg',
'mobile-login-image-08.jpg',
'mobile-login-image-09.jpg'
];
$('.login-page').css({ 'background-image': 'url(Styles/Default/Images/Login/' + images[Math.floor(Math.random() * images.length)] + ')' });
}
else {
var images = [
'login-image-01.jpg',
'login-image-02.jpg',
'login-image-03.jpg',
'login-image-04.jpg',
'login-image-05.jpg',
'login-image-06.jpg',
'login-image-07.jpg',
'login-image-08.jpg',
'login-image-09.jpg'
];
$('.login-page').css({ 'background-image': 'url(Styles/Default/Images/Login/' + images[Math.floor(Math.random() * images.length)] + ')' });
}
if ($('#txtLoginID').val() != '') {
$('#txtPassword').focus();
}
document.onkeypress = function (event) {
event = (event || window.event);
if (event.keyCode == 123) {
return false;
}
}
document.onmousedown = function (event) {
event = (event || window.event);
if (event.keyCode == 123) {
return false;
}
}
document.onkeydown = function (event) {
event = (event || window.event);
if (event.keyCode == 123) {
return false;
}
}
document.addEventListener('contextmenu', event => event.preventDefault());
document.onkeydown = function (e) {
if (e.keyCode == 123) {
return false;
}
if (e.ctrlKey && e.shiftKey && e.keyCode == 73) {
return false;
}
if (e.ctrlKey && e.shiftKey && e.keyCode == 74) {
return false;
}
if (e.ctrlKey && e.keyCode == 85) {
return false;
}
}
});
function ShowOTPPopup(returnedMessage,username,password) {
_otpType = 1;
clearInterval(OTPTimer);
// var returnedMessage = jsonData.split('|')[0];
if (returnedMessage == '1') {
//var otpCode = jsonData.split('|')[1];
InitializeTimer();
isOk = true;
}
else {
isOK = false;
if (returnedMessage == '-1')
showMessageOTPRelated('SMS Provider is required', "Red", 2000);
else if (returnedMessage == '-2')
showMessageOTPRelated('SMS Message Format is required', "Red", 2000);
else if (returnedMessage == '-3')
showMessageOTPRelated('Error occured. Please try again', "Red", 2000);
else if (returnedMessage == '-4')
showMessageOTPRelated('Unknown error occured', "Red", 2000);
else if (returnedMessage == '-5')
showMessageOTPRelated('Error occured', "Red", 2000);
else
showMessageOTPRelated('Error occured', "Red", 2000);
}
//var isOk = SendOTP();
if (isOk) {
$('#TheLoginUserOTPOuterContainer').modal('show');
$('#txtPassword').val(password);
$('#txtLoginID').val(username);
}
}
var OTPTimer;
_otpType = 0;
function InitializeTimer() {
//Add Two Minutes To Current Date Time
var countDownDate = new Date();
countDownDate.setMinutes(countDownDate.getMinutes() + 2);
clearInterval(OTPTimer);
// Update the count down every 1 second
OTPTimer = setInterval(function () {
// Get today's date and time
var now = new Date().getTime();
// Find the distance between now and the count down date
var distance = countDownDate - now;
var seconds = Math.floor((distance % (1000 * 60 * 60)) / 1000);
$('#TheLoginUserOTPOuterContainer #SecondsTicker').text(seconds);
// If the count down is finished, write some text
if (distance < 0) {
clearInterval(OTPTimer);
$('#TheLoginUserOTPOuterContainer #SecondsTicker').text('0');
$('#TheLoginUserOTPOuterContainer .Resend_OTP').EnableDisableButton({ value: true });
$('#TheLoginUserOTPOuterContainer .OkDialog').EnableDisableButton({ value: false });
$('#TheLoginUserOTPOuterContainer .otpAllFields input[type=text]').val('');
}
else {
$('#TheLoginUserOTPOuterContainer .Resend_OTP').EnableDisableButton({ value: false });
$('#TheLoginUserOTPOuterContainer .OkDialog').EnableDisableButton({ value: true });
}
}, 1000);
}
function ResetOTPFields() {
$('#TheLoginUserOTPOuterContainer #SecondsTicker').text('0');
$('#TheLoginUserOTPOuterContainer .otp-wrapper').removeClass('error');
$('#TheLoginUserOTPOuterContainer .otpAllFields input[type=text]').val('');
}
$(document).ready(function () {
function CallServerFunctionAjax(fnPath, params) {
var ret = '';
$('#TheLoadingOuterContainer').show();
$.ajax({
url: fnPath,
data: params,
dataType: "json",
type: "POST",
async: false,
contentType: "application/json; charset=utf-8",
success: function (data) {
ret = data.d;
}
});
return ret;
}
$('#TheLoginUserOTPOuterContainer .OkDialog').on('click', function () {
var enteredOTPText = '';
var emptyInputs = 0;
$('#TheLoginUserOTPOuterContainer .otp-wrapper input[type=text]').each(function () {
if ($(this).val() === '' || $(this).val() == undefined)
emptyInputs = emptyInputs + 1;
else
enteredOTPText = enteredOTPText + '' + $(this).val();
});
if (emptyInputs > 0) {
$('#TheLoginUserOTPOuterContainer .otp-wrapper').addClass('error');
showMessageOTPRelated('OTP is required', "Red", 2000);
return false;
}
if (enteredOTPText != '' && enteredOTPText != undefined) {
var _fnPath = 'Login.aspx/VerifyOTPCOde';
var jsonData = CallServerFunctionAjax(_fnPath, "{ 'hdnOTPCode' : '" + enteredOTPText + "'}");
if (jsonData !== '') {
if (jsonData == 0 || jsonData == '0') {
$('#TheLoyaltyOTPOuterContainer .otp-wrapper').addClass('error');
showMessageOTPRelated('OTP is not correct', "Red", 2000);
}
else if (jsonData == 1 || jsonData == '1') {
$('#IsOTPValid').val(1);
$('#btnLogin').trigger('click');
}
}
}
});
$('#TheLoginUserOTPOuterContainer .CancelDialog').on('click', function () {
$('#TheLoginUserOTPOuterContainer').ClearForm();
$('#TheLoginUserOTPOuterContainer').modal('hide');
clearInterval(OTPTimer);
_isOTPVerified = false;
_otpType = 0;
$('#IsOTPValid').val(0);
});
$("#TheLoginUserOTPOuterContainer .otp-wrapper .form-control").keyup(function () {
if (this.value.length == this.maxLength) {
$(this).next('.form-control').focus();
}
});
$("#TheLoginUserOTPOuterContainer .otp-wrapper .form-control").keyup(function () {
var key = event.keyCode || event.charCode;
if (key == 8 || key == 46) {
$(this).prev("input[type='text']").focus();
}
});
$('#TheLoginUserOTPOuterContainer .otpAllFields input:last').on('keypress', function (e) {
if (e.which == 13)
$('#TheLoginUserOTPOuterContainer .OkDialog').click();
});
$("#TheLoginUserOTPOuterContainer .Resend_OTP").on('click', function () {
//SendOTP();
$('#IsOTPValid').val(0);
$('#btnLogin').trigger('click');
});
$(document).on('show.bs.modal', '.modal', function (event) {
var zIndex = 1040 + (10 * $('.modal:visible').length);
$(this).css('z-index', zIndex);
setTimeout(function () {
$('.modal-backdrop').not('.modal-stack').css('z-index', zIndex - 1).addClass('modal-stack');
}, 0);
});
});
</script>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PDLCG63S');</script>
<!-- End Google Tag Manager -->
</head>
<body class="login-page">
<!-- Google Tag Manager (noscript) -->
<noscript>
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-PDLCG63S"
height="0" width="0" style="display: none; visibility: hidden"></iframe>
</noscript>
<!-- End Google Tag Manager (noscript) -->
<form method="post" action="./Login.aspx" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="zjB02shh8jA631++higJmcU+Y0QMhXkfTx+GHdrDqcxSAth5q24ozOhvg/og7I6BPZ6Dg1Xe98F9d1CDxSFtRzZddO0BhkQJrkDyWemCtdWj0NJrq/eNXhqyg2bvrH1q" />
</div>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
<script src="/WebResource.axd?d=pynGkmcFUV13He1Qd6_TZDpYaREMg0CSjlnNfC_8LjaOxNyLwJj6SMZSc8LPcdalHhIN9NrS1vqVvwvQax5SGg2&t=638286173964787378" type="text/javascript"></script>
<script src="/ScriptResource.axd?d=qph9tUZ6hGPLbkznkRkqTXCcxZ
{
"@category" : "datascan",
"@timestamp" : "2024-11-07T05:11:54.000Z",
"app" : {
"extract" : {
"domain" : [
"googletagmanager.com"
],
"hostname" : [
"www.googletagmanager.com"
],
"url" : [
"https://www.googletagmanager.com/gtm.js?id=",
"https://www.googletagmanager.com/ns.html?id=GTM-PDLCG63S"
]
},
"http" : {
"bodymd5" : "14785c763ecb8a76285124188619777e",
"bodymmh3" : -1103725086,
"component" : [
{
"productversion" : "4.0.30319",
"productvendor" : "Microsoft",
"product" : "ASP.NET"
},
{
"product" : "Bootstrap",
"productvendor" : "Bootstrap"
}
],
"headermd5" : "38cddf5e006d77518f1a85ce07f0e465",
"headermmh3" : 1235837724,
"title" : "Smacc Login",
"tracker" : {
"gtm" : [
"GTM-PDLCG63S"
]
}
},
"length" : 16384
},
"asn" : "AS25019",
"city" : "Buraidah",
"country" : "SA",
"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/10.0\r\nSet-Cookie: ASP.NET_SessionId=acewml1l2sb1h4lx3a3nmcwe; path=/; HttpOnly; SameSite=Lax\r\nX-AspNet-Version: 4.0.30319\r\nX-Powered-By: ASP.NET\r\nDate: Thu, 07 Nov 2024 05:11:47 GMT\r\nConnection: close\r\nContent-Length: 25598\r\n\r\n\r\n\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n <meta charset=\"UTF-8\" />\r\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">\r\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\r\n <title>Smacc Login</title>\r\n <meta name=\"ArabSea\" content=\"Customer Login Form style copyright with Arabsea\" />\r\n <meta name=\"ArabSea\" content=\"this is the login page for smacc program\" />\r\n <meta name=\"ArabSea\" content=\"Smacc Index Page\" />\r\n\r\n <!-- Latest Jquery Link -->\r\n <script src=\"Scripts/js/jquery.min.js\" type=\"text/javascript\"></script>\r\n\r\n <!-- Latest compiled and minified JavaScript -->\r\n <script src=\"Scripts/js/bootstrap.min.js\" type=\"text/javascript\"></script>\r\n\r\n <!-- New CSS for responsive design -->\r\n <link rel=\"stylesheet\" type=\"text/css\" href=\"Styles/Default/Stylesheets/css/bootstrap.min.css\" />\r\n <link rel=\"stylesheet\" type=\"text/css\" href=\"Styles/Default/Stylesheets/css/font-awesome.min.css\" />\r\n <link rel=\"stylesheet\" type=\"text/css\" href=\"Styles/Default/Stylesheets/css/custom.css\" />\r\n <link rel=\"stylesheet\" type=\"text/css\" href=\"Styles/Default/Images/Login/Css/Login.css\" />\r\n <script src=\"Scripts/Smacc.js\"></script>\r\n\r\n <script type=\"text/javascript\">\r\n \r\n function Validate() {\r\n if (ValidateCredentials() && ValidateCaptcha())\r\n return true;\r\n else\r\n return false;\r\n }\r\n \r\n function ValidateCaptcha() {\r\n if ($(\"#captchadiv\").css('visibility') === 'visible') {\r\n\r\n var captcha = $('#txtcaptcha').val();\r\n var hdncaptcha = $('#hdncaptcha').val();\r\n\r\n if (captcha == '' || captcha == undefined) {\r\n $('#divErrorMsg').css(\"display\", 'block');\r\n $('#lbMessage').text('Please enter the code shown.');\r\n $('#txtcaptcha').focus();\r\n\r\n return false;\r\n }\r\n else if (captcha != hdncaptcha) {\r\n $('#divErrorMsg').css(\"display\", 'block');\r\n $('#lbMessage').text('Please enter the code shown.');\r\n $('#txtcaptcha').val('');\r\n $('#txtcaptcha').focus();\r\n return false;\r\n }\r\n }\r\n return true;\r\n }\r\n\r\n function ValidateCredentials() {\r\n if ($('#txtLoginID').val() === '') {\r\n $('#divErrorMsg').css(\"display\", 'block');\r\n $('#lbMessage').text('Login ID required.');\r\n $('#txtLoginID').focus();\r\n return false;\r\n }\r\n\r\n else if ($('#txtPassword').val() === '') {\r\n $('#lbMessage').text('Password required.');\r\n $('#txtPassword').focus();\r\n\r\n return false;\r\n }\r\n return true;\r\n }\r\n function showMessageOTPRelated(msg, color, delay, cb) {\r\n var cssClass = ''\r\n\r\n if (color === 'Red')\r\n cssClass = \"alert-danger\";\r\n else\r\n if (color === 'Blue')\r\n cssClass = \"alert-info\";\r\n else\r\n if (color === 'Green')\r\n cssClass = \"alert-success\";\r\n else\r\n cssClass = \"alert-warning\";\r\n\r\n $('<div role=\"alert\"></div>')\r\n .appendTo(\"body\")\r\n .html(msg.replace(\"<span>\", \"\").replace(\"</span>\", \"\"))\r\n .addClass(\"AbsoluteMessage alert \" + cssClass)\r\n .hide().slideDown().delay(delay).slideUp();\r\n\r\n }\r\n\r\n $(function () {\r\n\r\n if ($(window).width() < 768) {\r\n var images = [\r\n 'mobile-login-image-01.jpg',\r\n 'mobile-login-image-02.jpg',\r\n 'mobile-login-image-03.jpg',\r\n 'mobile-login-image-04.jpg',\r\n 'mobile-login-image-05.jpg',\r\n 'mobile-login-image-06.jpg',\r\n 'mobile-login-image-07.jpg',\r\n 'mobile-login-image-08.jpg',\r\n 'mobile-login-image-09.jpg'\r\n ];\r\n $('.login-page').css({ 'background-image': 'url(Styles/Default/Images/Login/' + images[Math.floor(Math.random() * images.length)] + ')' });\r\n }\r\n else {\r\n var images = [\r\n 'login-image-01.jpg',\r\n 'login-image-02.jpg',\r\n 'login-image-03.jpg',\r\n 'login-image-04.jpg',\r\n 'login-image-05.jpg',\r\n 'login-image-06.jpg',\r\n 'login-image-07.jpg',\r\n 'login-image-08.jpg',\r\n 'login-image-09.jpg'\r\n ];\r\n $('.login-page').css({ 'background-image': 'url(Styles/Default/Images/Login/' + images[Math.floor(Math.random() * images.length)] + ')' });\r\n }\r\n\r\n\r\n if ($('#txtLoginID').val() != '') {\r\n $('#txtPassword').focus();\r\n }\r\n\r\n document.onkeypress = function (event) {\r\n event = (event || window.event);\r\n if (event.keyCode == 123) {\r\n return false;\r\n }\r\n }\r\n document.onmousedown = function (event) {\r\n event = (event || window.event);\r\n if (event.keyCode == 123) {\r\n return false;\r\n }\r\n }\r\n document.onkeydown = function (event) {\r\n event = (event || window.event);\r\n if (event.keyCode == 123) {\r\n return false;\r\n }\r\n }\r\n\r\n document.addEventListener('contextmenu', event => event.preventDefault());\r\n\r\n document.onkeydown = function (e) {\r\n\r\n if (e.keyCode == 123) {\r\n return false;\r\n }\r\n\r\n if (e.ctrlKey && e.shiftKey && e.keyCode == 73) {\r\n return false;\r\n }\r\n\r\n if (e.ctrlKey && e.shiftKey && e.keyCode == 74) {\r\n return false;\r\n }\r\n\r\n if (e.ctrlKey && e.keyCode == 85) {\r\n return false;\r\n }\r\n }\r\n\r\n });\r\n\r\n function ShowOTPPopup(returnedMessage,username,password) {\r\n\r\n _otpType = 1;\r\n clearInterval(OTPTimer);\r\n\r\n // var returnedMessage = jsonData.split('|')[0];\r\n\r\n if (returnedMessage == '1') {\r\n\r\n //var otpCode = jsonData.split('|')[1];\r\n\r\n InitializeTimer();\r\n isOk = true;\r\n }\r\n else {\r\n\r\n isOK = false;\r\n\r\n if (returnedMessage == '-1')\r\n showMessageOTPRelated('SMS Provider is required', \"Red\", 2000);\r\n else if (returnedMessage == '-2')\r\n showMessageOTPRelated('SMS Message Format is required', \"Red\", 2000);\r\n else if (returnedMessage == '-3')\r\n showMessageOTPRelated('Error occured. Please try again', \"Red\", 2000);\r\n else if (returnedMessage == '-4')\r\n showMessageOTPRelated('Unknown error occured', \"Red\", 2000);\r\n else if (returnedMessage == '-5')\r\n showMessageOTPRelated('Error occured', \"Red\", 2000);\r\n else\r\n showMessageOTPRelated('Error occured', \"Red\", 2000);\r\n }\r\n\r\n //var isOk = SendOTP();\r\n if (isOk) {\r\n $('#TheLoginUserOTPOuterContainer').modal('show');\r\n $('#txtPassword').val(password);\r\n $('#txtLoginID').val(username);\r\n }\r\n }\r\n \r\n var OTPTimer;\r\n _otpType = 0;\r\n\r\n \r\n function InitializeTimer() {\r\n\r\n //Add Two Minutes To Current Date Time\r\n var countDownDate = new Date();\r\n countDownDate.setMinutes(countDownDate.getMinutes() + 2);\r\n\r\n clearInterval(OTPTimer);\r\n\r\n // Update the count down every 1 second\r\n OTPTimer = setInterval(function () {\r\n\r\n // Get today's date and time\r\n var now = new Date().getTime();\r\n\r\n // Find the distance between now and the count down date\r\n var distance = countDownDate - now;\r\n var seconds = Math.floor((distance % (1000 * 60 * 60)) / 1000);\r\n\r\n $('#TheLoginUserOTPOuterContainer #SecondsTicker').text(seconds);\r\n\r\n // If the count down is finished, write some text\r\n if (distance < 0) {\r\n\r\n clearInterval(OTPTimer);\r\n \r\n $('#TheLoginUserOTPOuterContainer #SecondsTicker').text('0');\r\n $('#TheLoginUserOTPOuterContainer .Resend_OTP').EnableDisableButton({ value: true });\r\n $('#TheLoginUserOTPOuterContainer .OkDialog').EnableDisableButton({ value: false });\r\n $('#TheLoginUserOTPOuterContainer .otpAllFields input[type=text]').val('');\r\n }\r\n else {\r\n $('#TheLoginUserOTPOuterContainer .Resend_OTP').EnableDisableButton({ value: false });\r\n $('#TheLoginUserOTPOuterContainer .OkDialog').EnableDisableButton({ value: true });\r\n }\r\n\r\n }, 1000);\r\n\r\n }\r\n\r\n function ResetOTPFields() {\r\n\r\n $('#TheLoginUserOTPOuterContainer #SecondsTicker').text('0');\r\n $('#TheLoginUserOTPOuterContainer .otp-wrapper').removeClass('error');\r\n $('#TheLoginUserOTPOuterContainer .otpAllFields input[type=text]').val('');\r\n\r\n }\r\n\r\n $(document).ready(function () {\r\n\r\n\r\n function CallServerFunctionAjax(fnPath, params) {\r\n\r\n var ret = '';\r\n $('#TheLoadingOuterContainer').show();\r\n $.ajax({\r\n url: fnPath,\r\n data: params,\r\n dataType: \"json\",\r\n type: \"POST\",\r\n async: false,\r\n contentType: \"application/json; charset=utf-8\",\r\n \r\n success: function (data) {\r\n ret = data.d;\r\n \r\n }\r\n });\r\n return ret;\r\n }\r\n\r\n $('#TheLoginUserOTPOuterContainer .OkDialog').on('click', function () {\r\n\r\n var enteredOTPText = '';\r\n var emptyInputs = 0;\r\n\r\n $('#TheLoginUserOTPOuterContainer .otp-wrapper input[type=text]').each(function () {\r\n\r\n if ($(this).val() === '' || $(this).val() == undefined)\r\n emptyInputs = emptyInputs + 1;\r\n else\r\n enteredOTPText = enteredOTPText + '' + $(this).val();\r\n });\r\n \r\n if (emptyInputs > 0) {\r\n $('#TheLoginUserOTPOuterContainer .otp-wrapper').addClass('error');\r\n showMessageOTPRelated('OTP is required', \"Red\", 2000);\r\n return false;\r\n }\r\n\r\n if (enteredOTPText != '' && enteredOTPText != undefined) {\r\n \r\n var _fnPath = 'Login.aspx/VerifyOTPCOde'; \r\n var jsonData = CallServerFunctionAjax(_fnPath, \"{ 'hdnOTPCode' : '\" + enteredOTPText + \"'}\");\r\n if (jsonData !== '') {\r\n if (jsonData == 0 || jsonData == '0') {\r\n\r\n $('#TheLoyaltyOTPOuterContainer .otp-wrapper').addClass('error');\r\n showMessageOTPRelated('OTP is not correct', \"Red\", 2000);\r\n }\r\n else if (jsonData == 1 || jsonData == '1') {\r\n $('#IsOTPValid').val(1);\r\n $('#btnLogin').trigger('click');\r\n }\r\n }\r\n }\r\n\r\n \r\n });\r\n\r\n $('#TheLoginUserOTPOuterContainer .CancelDialog').on('click', function () {\r\n $('#TheLoginUserOTPOuterContainer').ClearForm();\r\n $('#TheLoginUserOTPOuterContainer').modal('hide');\r\n clearInterval(OTPTimer);\r\n _isOTPVerified = false;\r\n _otpType = 0;\r\n $('#IsOTPValid').val(0);\r\n });\r\n\r\n\r\n $(\"#TheLoginUserOTPOuterContainer .otp-wrapper .form-control\").keyup(function () {\r\n if (this.value.length == this.maxLength) {\r\n $(this).next('.form-control').focus();\r\n }\r\n });\r\n\r\n $(\"#TheLoginUserOTPOuterContainer .otp-wrapper .form-control\").keyup(function () {\r\n var key = event.keyCode || event.charCode;\r\n if (key == 8 || key == 46) {\r\n $(this).prev(\"input[type='text']\").focus();\r\n }\r\n });\r\n\r\n $('#TheLoginUserOTPOuterContainer .otpAllFields input:last').on('keypress', function (e) {\r\n if (e.which == 13)\r\n $('#TheLoginUserOTPOuterContainer .OkDialog').click();\r\n });\r\n\r\n $(\"#TheLoginUserOTPOuterContainer .Resend_OTP\").on('click', function () {\r\n //SendOTP();\r\n $('#IsOTPValid').val(0);\r\n $('#btnLogin').trigger('click');\r\n });\r\n\r\n $(document).on('show.bs.modal', '.modal', function (event) {\r\n var zIndex = 1040 + (10 * $('.modal:visible').length);\r\n $(this).css('z-index', zIndex);\r\n setTimeout(function () {\r\n $('.modal-backdrop').not('.modal-stack').css('z-index', zIndex - 1).addClass('modal-stack');\r\n }, 0);\r\n });\r\n\r\n\r\n });\r\n\r\n \r\n </script>\r\n\r\n\r\n\r\n <!-- Google Tag Manager -->\r\n<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\r\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\r\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\r\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\r\n})(window,document,'script','dataLayer','GTM-PDLCG63S');</script>\r\n<!-- End Google Tag Manager -->\r\n\r\n</head>\r\n\r\n<body class=\"login-page\">\r\n <!-- Google Tag Manager (noscript) -->\r\n<noscript>\r\n <iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-PDLCG63S\"\r\nheight=\"0\" width=\"0\" style=\"display: none; visibility: hidden\"></iframe>\r\n</noscript>\r\n<!-- End Google Tag Manager (noscript) -->\r\n\r\n <form method=\"post\" action=\"./Login.aspx\" id=\"form1\">\r\n<div class=\"aspNetHidden\">\r\n<input type=\"hidden\" name=\"__EVENTTARGET\" id=\"__EVENTTARGET\" value=\"\" />\r\n<input type=\"hidden\" name=\"__EVENTARGUMENT\" id=\"__EVENTARGUMENT\" value=\"\" />\r\n<input type=\"hidden\" name=\"__VIEWSTATE\" id=\"__VIEWSTATE\" value=\"zjB02shh8jA631++higJmcU+Y0QMhXkfTx+GHdrDqcxSAth5q24ozOhvg/og7I6BPZ6Dg1Xe98F9d1CDxSFtRzZddO0BhkQJrkDyWemCtdWj0NJrq/eNXhqyg2bvrH1q\" />\r\n</div>\r\n\r\n<script type=\"text/javascript\">\r\n//<![CDATA[\r\nvar theForm = document.forms['form1'];\r\nif (!theForm) {\r\n theForm = document.form1;\r\n}\r\nfunction __doPostBack(eventTarget, eventArgument) {\r\n if (!theForm.onsubmit || (theForm.onsubmit() != false)) {\r\n theForm.__EVENTTARGET.value = eventTarget;\r\n theForm.__EVENTARGUMENT.value = eventArgument;\r\n theForm.submit();\r\n }\r\n}\r\n//]]>\r\n</script>\r\n\r\n\r\n<script src=\"/WebResource.axd?d=pynGkmcFUV13He1Qd6_TZDpYaREMg0CSjlnNfC_8LjaOxNyLwJj6SMZSc8LPcdalHhIN9NrS1vqVvwvQax5SGg2&t=638286173964787378\" type=\"text/javascript\"></script>\r\n\r\n\r\n<script src=\"/ScriptResource.axd?d=qph9tUZ6hGPLbkznkRkqTXCcxZ",
"datamd5" : "768b8ab83fa2b3eaed86dd58ed5c02ae",
"datammh3" : -1162672115,
"device" : {
"class" : "<enterprise field>: device.class"
},
"forward" : "94.96.97.63",
"geolocus" : {
"asn" : "AS25019",
"continent" : "AS",
"continentname" : "Asia",
"country" : "SA",
"countryname" : "Saudi Arabia",
"domain" : [
"stc.com.sa"
],
"isineu" : "false",
"latitude" : "23.885942",
"location" : "23.885942,45.079162",
"longitude" : "45.079162",
"netname" : "SAUDINET_DSL_POOL",
"organization" : "DSL HOME Subscribers_Dynamic IPs",
"subnet" : "94.96.0.0/16"
},
"hostname" : [
"94.96.97.63"
],
"ip" : "94.96.97.63",
"ipv6" : "false",
"latitude" : "26.3264",
"location" : "26.3264,43.9769",
"longitude" : "43.9769",
"node" : {
"country" : "<enterprise field>: node.country",
"groupid" : "<enterprise field>: node.groupid",
"id" : "<enterprise field>: node.id",
"physicalcountry" : "<enterprise field>: node.physicalcountry"
},
"organization" : "Saudi Telecom Company JSC",
"os" : "Windows",
"osvendor" : "Microsoft",
"osversion" : [
"Server 2016",
10
],
"port" : 9200,
"product" : "IIS",
"productvendor" : "Microsoft",
"productversion" : "10.0",
"protocol" : "http",
"protocolversion" : "1.1",
"reason" : "OK",
"seen_date" : "2024-11-07",
"source" : "urlscan::redirect",
"status" : 200,
"subnet" : "94.96.0.0/14",
"tag" : "<enterprise field>: tag",
"tls" : "false",
"transport" : "tcp",
"url" : "/Login.aspx"
}