Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php //------------------------------------------------------------------------------ ..
Decoded Output download
<?php
//------------------------------------------------------------------------------
//<INFO >
// This file was generated by MyPhpGuard 1.3.0.32623
//
// Date:20/06/2016 11:51:16
//
// </INFO >
//------------------------------------------------------------------------------
/**
*
* @category
* @package
* @author
* @copyright
* @license
* @version
* @link
*
*/
?>
<?php
session_name("Administrador");
session_start();
if ($_SESSION["EntityID"] == "")
{
header("Location:sessionexpired.php");
}
require('Library/Control_Cache.php');require('Library/Open_Conexion.php');require('Library/funciones.php');
$mystr1s2235=$_GET['Cli_ID_Nuevo'];$mystr1s2236=$_GET['Telefono_ID_Nuevo'];
if ( ($mystr1s2235!="") && ($mystr1s2236!="") )
{
$mystr1s2249="";
$mystr1s2237 = "SELECT * FROM clientes WHERE Cli_ID=".$mystr1s2235;
$mystr1s2238=$bd->ejecutar($mystr1s2237);
if (($mystr1s2240 = mysqli_fetch_array($mystr1s2238) ))
{
$mystr1s2241 = $mystr1s2240["latitud"];$mystr1s2242 = $mystr1s2240["longitud"];
$mystr1s2243 = $mystr1s2240["tipo_cp"];$mystr1s2244 = $mystr1s2240["Calle_P"];
$mystr1s2245 = $mystr1s2240["Calle_1"];$mystr1s2246 = $mystr1s2240["Calle_2"];
$mystr1s2247 = $mystr1s2240["Numeral"];$mystr1s2248 = $mystr1s2240["Detalles"];
if ((!(is_null($mystr1s2244))) && ($mystr1s2244!=""))
{
if ((!(is_null($mystr1s2243))) && ($mystr1s2243!=""))
{
$mystr1s2249 = $mystr1s2243 . " " . $mystr1s2244;
}
else
{
$mystr1s2249 = $mystr1s2244;
}
if ( (!(is_null($mystr1s2247))) && ($mystr1s2247!="") )
{
$mystr1s2249 = $mystr1s2249 . " #" . $mystr1s2247;
}
if ( ((!(is_null($mystr1s2245))) && ($mystr1s2245!="")) && ((!(is_null($mystr1s2246))) && ($mystr1s2246!="")) )
{
$mystr1s2249 = $mystr1s2249 . " entre " . $mystr1s2245 . " y " . $mystr1s2246;
}
else
{
if ( ( (!(is_null($mystr1s2245))) && ($mystr1s2245!="") ) && ( ((is_null($mystr1s2246))) || ($mystr1s2246=="") ) )
{
$mystr1s2249 = $mystr1s2249 . " y " . $mystr1s2245;
}
}
}
}
mysqli_free_result($mystr1s2238);
//$mystr1s2250 = "insert into llamadas (Cli_ID, Telefono_ID, Fecha_Inicio, Latitud_Origen, Longitud_Origen, Direccion_Origen, Detalle_Cliente ) ";
//$mystr1s2250 = $mystr1s2250 . " values (" . $mystr1s2235 . "," . $mystr1s2236 . ", NOW(), '".$mystr1s2241."', '".$mystr1s2242."', '".$mystr1s2249."', '".$mystr1s2248."')";
$mystr1s2250 = "INSERT INTO llamadas (Cli_ID, Telefono_ID, Fecha_Inicio, Latitud_Origen, Longitud_Origen, Direccion_Origen, Detalle_Cliente, Llamadas_Agent_ID ) ";
$mystr1s2250 = $mystr1s2250 . " VALUES (" . $mystr1s2235 . "," . $mystr1s2236 . ", '".date("Y-m-d H:i:s")."', '".$mystr1s2241."', '".$mystr1s2242."', '".$mystr1s2249."', '".$mystr1s2248."', " . $_SESSION["EntityID"] . " )";
$mystr1s2251=$bd->ejecutar($mystr1s2250);
//echo $mystr1s2250;
echo "<font color='#FFFF00'><b>Llamada Registrada</b></font>";
echo "<img src='images/spacer.gif' onload='llamadas_espera();' />";
}
require('Library/Close_Conexion.php');
?>
<img src="images/spacer.gif" onload="$('#basic-modal-content-espera').dialog('close');" />
Did this file decode correctly?
Original Code
<?php
//------------------------------------------------------------------------------
//<INFO >
// This file was generated by MyPhpGuard 1.3.0.32623
//
// Date:20/06/2016 11:51:16
//
// </INFO >
//------------------------------------------------------------------------------
/**
*
* @category
* @package
* @author
* @copyright
* @license
* @version
* @link
*
*/
?>
<?php
session_name("\x41\x64\x6di\x6e\x69\x73t\x72\x61\x64\x6fr");
session_start();
if ($_SESSION["\x45\x6e\x74i\x74\x79\x49D"] == "")
{
header("\x4c\x6f\x63a\x74\x69\x6fn\x3a\x73\x65\x73s\x69\x6f\x6ee\x78\x70\x69r\x65\x64.\x70\x68\x70");
}
require('Library/Control_Cache.php');require('Library/Open_Conexion.php');require('Library/funciones.php');
$mystr1s2235=$_GET['Cli_ID_Nuevo'];$mystr1s2236=$_GET['Telefono_ID_Nuevo'];
if ( ($mystr1s2235!="") && ($mystr1s2236!="") )
{
$mystr1s2249="";
$mystr1s2237 = "\x53\x45\x4cE\x43\x54\x20*\x20\x46\x52\x4fM\x20\x63\x6ci\x65\x6e\x74e\x73\x20W\x48\x45\x52\x45\x20C\x6ci\x5fI\x44=".$mystr1s2235;
$mystr1s2238=$bd->ejecutar($mystr1s2237);
if (($mystr1s2240 = mysqli_fetch_array($mystr1s2238) ))
{
$mystr1s2241 = $mystr1s2240["\x6c\x61\x74i\x74\x75\x64"];$mystr1s2242 = $mystr1s2240["\x6c\x6f\x6eg\x69\x74\x75d"];
$mystr1s2243 = $mystr1s2240["\x74\x69\x70o\x5f\x63\x70"];$mystr1s2244 = $mystr1s2240["\x43\x61\x6cl\x65\x5f\x50"];
$mystr1s2245 = $mystr1s2240["\x43\x61\x6cl\x65\x5f\x31"];$mystr1s2246 = $mystr1s2240["\x43\x61\x6cl\x65\x5f\x32"];
$mystr1s2247 = $mystr1s2240["\x4e\x75\x6de\x72\x61\x6c"];$mystr1s2248 = $mystr1s2240["\x44\x65\x74a\x6c\x6c\x65s"];
if ((!(is_null($mystr1s2244))) && ($mystr1s2244!=""))
{
if ((!(is_null($mystr1s2243))) && ($mystr1s2243!=""))
{
$mystr1s2249 = $mystr1s2243 . "\x20" . $mystr1s2244;
}
else
{
$mystr1s2249 = $mystr1s2244;
}
if ( (!(is_null($mystr1s2247))) && ($mystr1s2247!="") )
{
$mystr1s2249 = $mystr1s2249 . "\x20\x23" . $mystr1s2247;
}
if ( ((!(is_null($mystr1s2245))) && ($mystr1s2245!="")) && ((!(is_null($mystr1s2246))) && ($mystr1s2246!="")) )
{
$mystr1s2249 = $mystr1s2249 . "\x20\x65\x6et\x72\x65\x20" . $mystr1s2245 . "\x20\x79\x20" . $mystr1s2246;
}
else
{
if ( ( (!(is_null($mystr1s2245))) && ($mystr1s2245!="") ) && ( ((is_null($mystr1s2246))) || ($mystr1s2246=="") ) )
{
$mystr1s2249 = $mystr1s2249 . "\x20\x79\x20" . $mystr1s2245;
}
}
}
}
mysqli_free_result($mystr1s2238);
//$mystr1s2250 = "\x69\x6e\x73e\x72\x74\x20i\x6e\x74\x6f\x20l\x6c\x61\x6da\x64\x61\x73 \x28\x43l\x69\x5f\x49\x44\x2c \x54e\x6ce\x66o\x6eo\x5f\x49D\x2c \x46e\x63\x68\x61\x5fI\x6ei\x63i\x6f,\x20\x4c\x61\x74\x69\x74u\x64_\x4f\x72\x69\x67\x65n\x2c \x4c\x6fn\x67i\x74\x75\x64\x5f\x4f\x72i\x67e\x6e\x2c \x44\x69r\x65c\x63i\x6f\x6e_\x4fr\x69g\x65n\x2c \x44\x65t\x61\x6cl\x65_\x43\x6ci\x65\x6et\x65 \x29\x20";
//$mystr1s2250 = $mystr1s2250 . "\x20\x76\x61l\x75\x65\x73 \x28" . $mystr1s2235 . "\x2c" . $mystr1s2236 . "\x2c\x20\x4eO\x57\x28\x29,\x20\x27".$mystr1s2241."\x27\x2c\x20'".$mystr1s2242."\x27\x2c\x20'".$mystr1s2249."\x27\x2c\x20'".$mystr1s2248."\x27\x29";
$mystr1s2250 = "INSERT INTO llamadas (Cli_ID, Telefono_ID, Fecha_Inicio, Latitud_Origen, Longitud_Origen, Direccion_Origen, Detalle_Cliente, Llamadas_Agent_ID ) ";
$mystr1s2250 = $mystr1s2250 . " VALUES (" . $mystr1s2235 . "," . $mystr1s2236 . ", '".date("Y-m-d H:i:s")."', '".$mystr1s2241."', '".$mystr1s2242."', '".$mystr1s2249."', '".$mystr1s2248."', " . $_SESSION["EntityID"] . " )";
$mystr1s2251=$bd->ejecutar($mystr1s2250);
//echo $mystr1s2250;
echo "\x3c\x66\x6fn\x74\x20\x63o\x6c\x6f\x72\x3d'\x23\x46\x46F\x46\x30\x30'>\x3cb>\x4c\x6c\x61\x6da\x64a\x20R\x65g\x69s\x74\x72a\x64a\x3c/\x62>\x3c\x2ff\x6fn\x74>";
echo "\x3c\x69\x6dg\x20\x73\x72c\x3d\x27\x69\x6da\x67\x65\x73/\x73\x70\x61c\x65\x72.\x67\x69\x66\x27\x20o\x6el\x6fa\x64=\x27l\x6c\x61m\x61d\x61s\x5f\x65\x73\x70e\x72a\x28)\x3b'\x20\x2f>";
}
require('Library/Close_Conexion.php');
?>
<img src="images/spacer.gif" onload="$('#basic-modal-content-espera').dialog('close');" />
Function Calls
session_name | 1 |
Stats
MD5 | 84dd13fceeff8ea11d1272987295ac44 |
Eval Count | 0 |
Decode Time | 53 ms |