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 eval(gzinflate(base64_decode('HVfHqsUIjl1PfcXbdTWGdrwOTNOF03XO2ZvBOefsr59XvRBIQgGB..
Decoded Output download
?><?php
class conexion_db {
var $user_name;
var $pwd;
var $db_name;
var $host;
var $conect;
/**
*
*/
function __construct(){
$this->user_name = 'dis_digital';
$this->pwd = '@cc3s0';
$this->db_name = 'uocra';
$this->host = 'localhost';
$this->conect= '';
// Se conecta a la base
$this->db_conect();
}
function __destruct(){
// Se desconecta de la base
$this->db_close();
}
/**
*
*/
private function db_conect(){
$this->conect = mysql_connect($this->host,$this->user_name,$this->pwd);
$db_conect = mysql_select_db($this->db_name,$this->conect);
if (!$db_conect){
return "No se pudo conectar correctamente con la Base de datos";
}else{
return $db_conect;
}
}
/**
*
*/
private function db_close(){
$this->db_conect();
$close = mysql_close($this->conect);
if (!$close){
return "No pudo desconectarse correctamente con la Base de datos";
}
}
/**
*
*/
public function qry_exec($p_query_str)
{
if($result = mysql_query($p_query_str)){
return $result;
}else{
$this->qry_error();
}
}
/**
*
*/
public function qry_rows($result){
if($return = mysql_fetch_assoc($result)){
return $return;
}
}
/**
*
*/
public function qry_num_row($result){
if($return = mysql_num_rows($result)){
return $return;
}
}
/**
*
*/
private function qry_error(){
echo "No pudo ejecutarse satisfactoriamente la consulta ($sql) en la BD: " . mysql_error();
exit;
}
}?><?
Did this file decode correctly?
Original Code
<?php
eval(gzinflate(base64_decode('HVfHqsUIjl1PfcXbdTWGdrwOTNOF03XO2ZvBOefsr59XvRBIQgGBdA766z///muu5z9A8Iff9uInWbO6OaefYvuZ12kvqiaffuZp/emTn754fvKi/5W1yOpp+1X+DpqbIk/yn77ZizVZm+RfP2ry04xVMTbFr/mrnsW6JX9HF3+3yKa8qaaf7b/JdZP+17022Z4MxbgX//qjOJP+z+ptxrJP9uLPNNkKHPu/vPhNLP78hxin4npaCD+FaDktBImQ0iaqLKfFVnqE1jMfT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tEVIdGxUlgFSS494m9JRsJm2pqvZYap3naernGXpLUcU9EBpuR2DVFtFzSSAa90s5ps6TT6QYuCym77myFtalvuYjxUcXHO9mMOQy6K8v7gz2HjFkW3NYbwmOilOKipljZU8LicW9UHq9GUrS12ggqb3uVXsK+EUBH90pKOyOCSc0+fIVdlymbGRJXQ1f7qXRtlccrOuapdKmD1c8VxfTdpvIanZPEt/y2QqVA4p+hKQQr5Tr7VzWG94wi+pWPP88bADykYjvoO81U5zHkGOoQ59RR69CUcOa7c+loR2SV8djgL/sLxWsBMSgawHWkbn+TuzHpsWttvdI1ZesBILoAe8LTqUtR0wJu+DNLdEzqgbANgmPAUrt8Fm/f4C0ENnDVLGB+2REw6t3VS0ObURDDBDsgywJnca+xNhweuWVi0nG8k78peGo39gAakFaAgaj+dCXFUvL5P9eHy0XK3bq/aDgKAKsFr+YRmMN73UcEYIdErrnieoVXzJfardYWCssSwvtgfUGd/YDJoaT5gMq+sjD4OUAZqCLMSpDfz7j8vIU9zuzoAj95wjAAP88EIoZMhPLN1NmKha0fvtt6KBcP5HgtXB8CjjqgA2rfxIvuuPdhxs6RAOx76h7dhPGaO1FIb1WJi9pl1JHnHwyE1zWHGOy1uVk7CxjJ3ePJlIXxSKYH2iH3vPhulpqjcjbaQGSKwO5dRiEyMxvi0BHgUwMvGVJZ7jbcrNBQgyw8S71oTaQOTLPQQ7UMhIAQl3prHi7vZTnOA7Q+qgUnpi6CT5d0m1FF8Vdo1VB05cdcfbXsSxbRkAFKK8Lw+hbJVBorRWn91nPArTKJCbqqOxH21ZO1x6tgMA/AL9FB/L7MaTFMNCQq9FYO34yDpnu6hxnoJz9jBOwHq++VW196YeJrhp2vPM9S/C9b5QCAOBciZIU/vHPf/7zf//46z9//M+///p/')));
?>
Function Calls
gzinflate | 11 |
base64_decode | 11 |
Stats
MD5 | 2d971bf75140048b0ff272dc5b4c087c |
Eval Count | 11 |
Decode Time | 131 ms |