403Webshell
Server IP : 64.202.187.69  /  Your IP : 216.73.216.192
Web Server : Apache
System : Linux 69.187.202.64.host.secureserver.net 3.10.0-1160.144.1.el7.tuxcare.els6.x86_64 #1 SMP Fri May 29 16:22:24 UTC 2026 x86_64
User : transmarket ( 1001)
PHP Version : 7.2.34
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/transmarket/translator/devsite/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/transmarket/translator/devsite/forgot-password.php
<?php

include 'header_without_login.php';
$CPUserEmail = "";

$remember_me = 0;
if (isset($_COOKIE['TMMUSR'])) {
    $remember_me = 1;
    $CPUserEmail = $_COOKIE['TMMUSR'];
}
$activated = 0;
$invalid = 0;

if (isset($_GET['activated']) && !empty(trim($_GET['activated']))) {
    $activated = 1;
} else if (isset($_GET['invalid']) && !empty(trim($_GET['invalid']))) {
    $invalid = 1;
}
?>
<!-- /.login-logo -->
<body class="login-page">
  <header>
    <!-- Intro Section -->
    <section class="view intro-2">
      <div class="mask rgba-stylish-strong h-100 d-flex justify-content-center align-items-center">
        <div class="container">
          <div class="row">
            <div class="col-xl-5 col-lg-6 col-md-10 col-sm-12 mx-auto mt-5">

              <!-- Form with header -->
              <div class="card wow fadeIn" data-wow-delay="0.3s">
                <div class="card-body">
					<form class="login-form mt-0" name="formForgotPassword" id="formForgotPassword" method="post">
						<!-- Header -->
						<div class="form-header purple-gradient">
							<h3 class="font-weight-500 my-2 py-1"><i class="fas fa-user"></i> Reset Your Password:</h3>
						</div>

						<!-- Body -->

						<div class="md-form">
							<i class="fas fa-envelope prefix white-text"></i>
							<input type="email" id="email" data-type="email" placeholder="Email" autocomplete="off" class="form-control validate mb-2">
							<label data-error="wrong" data-success="right" for="email">Your email</label>
						</div>
						<div class="text-right white-text font-small">
							We will email you a link to reset your password
						</div>
						<div class="text-center mt-3">
							<button class="btn purple-gradient btn-lg btn-login" id="btn-reset">Reset Password</button> 
						</div>
					</form>
                </div>
              </div>
              <!-- Form with header -->

            </div>
          </div>
        </div>
      </div>
    </section>
    <!-- Intro Section -->

  </header>
  <!-- Main Navigation -->

<!-- SCRIPTS -->
<!-- JQuery -->
<script type="text/javascript" src="js/jquery-3.4.1.min.js"></script>
<!-- Bootstrap tooltips -->
<script type="text/javascript" src="js/popper.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<!-- MDB core JavaScript -->
<script type="text/javascript" src="js/mdb.min.js"></script>

<!-- Custom scripts -->
<script>

new WOW().init();

</script>
<script>
<?php if ($activated == 1) { ?>
        $('.success-message').html('Email verified successfully. Please login to continue').css('display', 'inline-block').delay(2000).fadeOut(200);
<?php } else if ($invalid == 1) { ?>
        $('.error-message').html('Invalid verification link.').css('display', 'inline-block').delay(2000).fadeOut(200);
<?php } ?>

$("body").on('click', '#btn-reset', function (e) {
	var error = 0;
	if($('#email').val() == '') {
		toastr.error("Please enter email");
	} else {
		if (error == 0) {
			$(this).html('<span class="spinner-border spinner-border-sm mr-2" role="status" aria-hidden="true"></span>Loading...').attr('disabled', true);
			var email = $('#email').val().trim();
			$.ajax({url: 'controllers/forgot_password.php',
				data: {
					email: email
				},
				type: 'post',
				dataType: 'JSON',
				context: this,
				success: function (output) {
					if (output.status == 200) {
						$('#email').val('');
						toastr.success(output.message);
					} else {
						toastr.error(output.message);
					}
					$(this).html('Reset Password').attr('disabled', false);
				}
			});
		}
	}
	e.preventDefault();
});
</script>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit