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 /* 2011-2013 JDSoftware, s.r.o., InetSol, s.r.o. | [email protected] */$OOO..
Decoded Output download
class Dao
{
var $userName;
var $server;
var $password;
var $connection;
var $dbName;
public function Dao($server,$userName,$password,$dbName)
{
$this->userName = $userName;
$this->server = $server;
$this->password = $password;
$this->dbName = $dbName;
$this->dbCoding = "UTF8";
}
public function FetchRows($query,$num = 1000)
{
$obj_array = array();
$i = 0;
if (!$query){
echo "Error: ".mysql_error();
}else {
while ($row = mysql_fetch_object($query)){
$obj_array[$i] = $row;
$i++;
if ($i >$num) break;
}
}
return $obj_array;
}
public function FetchRow($query)
{
$rows = $this->FetchRows($query);
if (sizeof($rows)==0)
{
return null;
}
else
{
return $rows[0];
}
}
public function GetMessage($query,$message)
{
if (!$query){
$query_message["error"] = "Error: ".mysql_error();
}else {
$query_message["message"] = $message;
}
return $query_message;
}
public function Connect()
{
$connection = mysql_connect($this->server,$this->userName,$this->password,$this->dbName);
if (!$connection)
die('Could not connect :'.mysql_error());
if (!mysql_query("SET NAMES '$this->dbCoding'"))
die('Could not set connection coding :'.mysql_error());
if (!mysql_select_db($this->dbName))
die ('Could not selecet database '.$this->dbName .' : '.mysql_error());
return $connection;
}
public function Disconnect($connection)
{
}
}
;
Did this file decode correctly?
Original Code
<?php /* 2011-2013 JDSoftware, s.r.o., InetSol, s.r.o. | [email protected] */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x6d4;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NGM5KTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxN2MpLCdMRklPK1YzL1AwSlh5dEJjcDJmODVDeHdkb1RpbFF1TlNyYURBbVU3MVlFelJrYjlHdmo0aEhlc01aZ0txVzZuPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>vr{T0+WcyOFcyOFcyOH4Q/0NlUCGi3VDofS7wHW3f5vVwHq7XIP7PaMA8hWcy+qG84LGXaP7PaGA8hWcyOLGy+qGJI2c8hqGyOLGy+q10+qG84LG8hqGyISA84LGy+qG84LGXI2c84LG84LGyOLYXIQy2AmcJHd4XHLGfmrZQ+0DlO0UBOCOu/QAiH2YiVVH8mtjd52FiC5syCmVum0zdDm/QU1hT+rmlhHTohkvC4obcflR0hVIph2V2AQPf5YX8+HB8HF25mt5CCowxVmTdx0Do3CUoerYTUkRixZ9l/Vjls2HQ7QMuw1Gy8P4tO5et4SZJjq7JfAYBeoDi3W4ofSA84LGy+qG84LGJ8kmQUVRJI2c84LG84LG84LYBG==PLYDi3V4ljF+dxqJuGYedwPS0/C4ow0BdxHmBGYedwPS0/tml7omlDR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iUCDQ3m9iaLWP3HZlsVRwet9iUZmdsp10/21Twykc7tml7omlaGAQ3rYljh6QwtmlAZrix5R0/21Twykc7Frlstsis0AXI2hT3m4X8ZAdAZrix5YBGYYoaL1Pf2DieZboxthTxWbJpYATx510ht9QxvAP3Z9QIFDieZboxthPO17XUHZlsVRweCjlUWjJIAYBGYYoaL1PxHZlsVRwsVHow0ZJI082CpS8AVt2CyS0j2hT3m4X8ZAdAt9o3mbojlaJfAJo3mmJIQOisCRoIFbispSleChP3t9iUZmds2YieMSdeWATxZ7PO17XUHZlsVRweCjlUWjJIAYBGYYoaL1PxHZlsVRwstmi3CDQVWAdaSAQ3rYljh6o30BdxHmJfAJo3mmPIS7peWHi3pSiUWhP/tmi3CDowpSo3Vhdx0rle5S0jMAQ3rYljh6o30BdxHmPIM7PO1S0jZkuwtviVWml709laSYJ8RJlUChQw0bPI2DieZboxthTxWbBGYWI7FHdUvYdjFUQxZDQ3m9iaF+TwtDieZboxthJI2DieZboxthTxWbJpYKI7hJNp1KY
Function Calls
fopen | 1 |
fread | 3 |
strtr | 2 |
fclose | 1 |
urldecode | 1 |
str_replace | 1 |
base64_decode | 3 |
Stats
MD5 | 9242f497ddb6900728a8fb68c71d45eb |
Eval Count | 3 |
Decode Time | 122 ms |