Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
<?php
require_once('class.perfiles.php');
class Administrador
{
public $IdAdministrador;
public $IdPerfil;
public $Administrador;
public $Email;
public $Contrasenia;
public $Eliminado;
public function ParseFromArray(array $arr)
{
$this->IdAdministrador = $arr['IdAdministrador'];
$this->IdPerfil = $arr['IdPerfil'];
$this->Administrador = $arr['Administrador'];
$this->Email = $arr['Email'];
$this->Contrasenia = $arr['Contrasenia'];
$this->Eliminado = $arr['Eliminado'];
}
public function HavePerm($IdModulo)
{
$Administradores = new Administradores();
return $Administradores->CheckPerm($this, $IdModulo);
}
public function CanDelete()
{
return true;
}
public function SendMailChangePassword()
{
$Email = $this->Email;
/* obtenemos los datos de la empresa */
$oDatosEmpresa = new DatosEmpresa();
$oDatosEmpresa = $oDatosEmpresa->GetRow();
/* obtenemos informacion de configuracion del sitio */
$oConfiguraciones = new Configuraciones();
$oConfiguracion = $oConfiguraciones->GetRow();
$Headers = "";
$Headers.= "MIME-Version: 1.0" . "\r\n";
$Headers.= "Content-type: text/html; charset=iso-8859-1" . "\r\n";
$Headers.= "X-Mailer: php" . "\r\n";
$Headers.= 'To: ' . $this->Administrador . '<' . $this->Email . '>' . "\r\n";
$Headers.= "From: " . $oDatosEmpresa->RazonSocial . "\r\n";
$Headers.= " <" . $oConfiguracion->EmailNoReply . ">" . "\r\n";
$Content = '';
$Content.= "Your password has been changed at " . Config::UrlSitio . ".<br>";
$Content.= "This is your new password: <b>" . $this->Contrasenia . "</b><br>";
$Content.= 'Thank you.<br>';
$Content.= '' . $oDatosEmpresa->RazonSocial . ' Team.<br>';
$Content.= 'Tel: (' . $oDatosEmpresa->CodigoAreaTelefono . ') - ' . $oDatosEmpresa->Telefono . '<br>';
$Content.= '<b>' . $oDatosEmpresa->Email . '.</b>';
mail($Email, $oDatosEmpresa->RazonSocial . " - Password changed", $Content, $Headers);
return true;
}
}
?>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat