Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
<?php
require_once('../inc_library.php');
/* declaramos e instanciamos variables necesarias */
$err = 0;
$Update = false;
$oAdministradores = new Administradores();
/* obtiene datos del formulario */
$Email = $_REQUEST['Email'];
$Submit = (isset($_REQUEST['Submitted']));
/* si el formulario fue enviado... */
if ($Submit)
{
/* validaciones... */
if (!IsEmail($Email))
$err |= 1;
elseif (!$oAdministrador = $oAdministradores->GetByEmail($Email))
$err |= 2;
/* si no hay errores... */
if ($err == 0)
{
/* actualiza los datos */
$oAdministrador = $oAdministradores->RecoveryPassword($oAdministrador);
$Update = true;
}
}
?>
<!DOCTYPE html>
<html>
<head>
<?php include("ssi_head_inc.php"); ?>
</head>
<body>
<div class="account-pages"></div>
<div class="clearfix"></div>
<div class="wrapper-page">
<div class=" card-box">
<div class="panel-heading">
<h3 class="text-center logo"><i class="icon-magnet icon-c-logo"></i><span>CR<i class="md md-album"></i>SS CMS</span></h3>
</div>
<div class="panel-body">
<?php
if (!$Update)
{
?>
<form class="form-horizontal m-t-20" id="frmData" name="frmData" method="post">
<div class="alert alert-info alert-dismissable">
Enter your <b>E-mail</b> and we'll send you a new password!
</div>
<input type="hidden" name="Submitted" id="Submitted" value="1" />
<div class="form-group ">
<div class="col-xs-12">
<div class="input-group ">
<input type="email" class="form-control" id="Email" name="Email" placeholder="E-mail" required="" value="<?= $Email ?>" />
<span class="input-group-btn">
<button type="submit" class="btn btn-pink w-sm waves-effect waves-light">
Accept
</button>
</span>
</div>
</div>
</div>
<?php
if ($err & 2)
{
?>
<div class="form-group">
<div class="col-xs-12">
<div class="alert alert-danger">
Invalid e-mail.
</div>
</div>
</div>
<?php
}
?>
</form>
<?php
}
elseif ($Update)
{
?>
<div class="alert alert-info alert-dismissable">
Your <b>password</b> has been changed!<br> A new e-mail has been sent to you with the new information.
</div>
<?php
}
?>
</div>
</div>
<?php include("ssi_scripts.php"); ?>
</body>
</html>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat