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('rVRJb9NAFL77V8zB0jiSna1xnChq1aqCUykIbk0ra5hMEqvuOP..
Decoded Output download
class languageMenager {
private $__langPack;
private $replaces = array('' => 'o', '' => 'z', '' => 'z', '' => 'a', '' => 'e', '' => 'l', '' => 'c', '' => 's', '' => 'n', '' => 'O', '' => 'Z', '' => 'z', '' => 'A', '' => 'E', '' => 'L', '' => 'C', '' => 'S', '' => 'N');
public function __construct() {
$this->__langPack = array();
return true;
}
public function __destruct() {
return true;
}
public function loadLanguagePack($folderName) {
$folder = 'inc/languages/'.$folderName.'/';
$language = array();
if (count(@scandir($folder)) > 2) {
foreach (scandir($folder) as $file) {
if (preg_match('/[A-Za-z0-9_-]\.lang\.php/',$file)) {
include($folder.$file);
foreach ($language as $key => $value) {
$this->__langPack[$key] = $value;
}
}
}
} else {
return false;
}
}
public function getLanguage($langName) {
return @str_replace('','',@$this->__langPack[$langName]);
}
public function getConsoleLanguage($langName) {
return @str_replace(array_keys($this->replaces),array_values($this->replaces),@$this->__langPack[$langName]);
}
public function langReplace($toReplace,$replaces,$langName) {
return str_replace($toReplace,$replaces,$this->getLanguage($langName));
}
public function langConsoleReplace($toReplace,$replaces,$langName) {
return @str_replace(array_keys($this->replaces),array_values($this->replaces),str_replace($toReplace,$replaces,$this->getLanguage($langName)));
}
public function signsFilter($text) {
$signsArray = array(-71 => 165,-13 => 162,-100 => 152,-77 => 136,-65 => 190,-97 => 171,-26 => 134,-15 => 228,-91 => 164,-54 => 168,-45 => 224,-117 => 151,-93 => 157,-81 => 189,-113 => 141,-58 => 143,-47 => 227);
$newArray = array();
foreach ($signsArray as $key => $value) {
$newArray[chr($key)] = chr($value);
}
return str_replace(array_keys($newArray),array_values($newArray),$text);
}
}
Did this file decode correctly?
Original Code
<?php eval(gzinflate(base64_decode('rVRJb9NAFL77V8zB0jiSna1xnChq1aqCUykIbk0ra5hMEqvuOPJSaFEO7Ny5sPwMTiy3wv9iZt44toPpQvHBet9731v9/AzDMGhIkgSFhM8yMmP3GBfvGD0zkHjUaxEHpyRlyPR9yXpA6PGoaojZIiSUJWgTkTgmZxa++ILR5hbCEbYR/vUDwLkC30rg52sARIGPAJiivQAQKstbAFRZPgNIFHgFgEtw8R7AfWX5DuBAga/lpNpnR4EPAO4o2nMAe8ryBsCusnwC8EiBlwD2cWNUGlP2OAwommacpkHEke/TiCdpnNHUauh5ysdM50HibBXDXE1NR5NPzNIs5kh4s1GeYHlZrgmrSXXDKGFEJnt6D2RhljmNwgmL98kJq3QAalE3Djht5auTtHCz5NHELVw0ZOasum6DKbJolPHU2k4o4ZMgzlM3GmgLdcvJ5TONYkboHFnrbEQSUV0QsnWPPMsiZjP/hKR0buHWeMc5IM552xn6ztFhU1Z42FzMFy1sQ5C6KCoSp2E2YXnaJrBHtdxVrcUEZJHH7EzukHlKwqy22r+uy1j6Hokxgm991uUf2qqmQEvEwoStFaAXZ0qEqUiwvGqBZizN9wfaXd8cHXdb7Kqvj4a4Fe+wLQ+GvV3Tax7lSI/38uy74o+LQnbzItRK+mKwiaWLyG9awwabGnaN9ZZFS+pDXYSZRlq0VyfVvqyFcgf1zlBb/Xe5XnF6pP9c438a8y1bvbrXJJjx5G4Qpkyck5Q9Tas/pansO7LG1QVzvI78hzt913Y6GyB2hdhuK9kVsucpcaNvO31XicO27QxB63Vsp9sHQk/4KUK3OxAEHVho3R6IQtvTBMntQAhXhBhCateznQH4DYaSAeqeYLgDEDdEDA9ieJVzZXL2pNpbxVzcsNIUrnXFVoHHdC7mKvgNeboUAKdynvKNqlnx8vbkcdf3ptDDR8y/u7E0fgM=')));
class languageMenager {
private $__langPack;
private $replaces = array('' => 'o', '' => 'z', '' => 'z', '' => 'a', '' => 'e', '' => 'l', '' => 'c', '' => 's', '' => 'n', '' => 'O', '' => 'Z', '' => 'z', '' => 'A', '' => 'E', '' => 'L', '' => 'C', '' => 'S', '' => 'N');
public function __construct() {
$this->__langPack = array();
return true;
}
public function __destruct() {
return true;
}
public function loadLanguagePack($folderName) {
$folder = 'inc/languages/' . $folderName . '/';
$language = array();
if (count(@scandir($folder)) > 2) {
foreach (scandir($folder) as $file) {
if (preg_match('/[A-Za-z0-9_-]\.lang\.php/', $file)) {
include ($folder . $file);
foreach ($language as $key => $value) {
$this->__langPack[$key] = $value;
}
}
}
} else {
return false;
}
}
public function getLanguage($langName) {
return @str_replace('', '', @$this->__langPack[$langName]);
}
public function getConsoleLanguage($langName) {
return @str_replace(array_keys($this->replaces), array_values($this->replaces), @$this->__langPack[$langName]);
}
public function langReplace($toReplace, $replaces, $langName) {
return str_replace($toReplace, $replaces, $this->getLanguage($langName));
}
public function langConsoleReplace($toReplace, $replaces, $langName) {
return @str_replace(array_keys($this->replaces), array_values($this->replaces), str_replace($toReplace, $replaces, $this->getLanguage($langName)));
}
public function signsFilter($text) {
$signsArray = array(-71 => 165, -13 => 162, -100 => 152, -77 => 136, -65 => 190, -97 => 171, -26 => 134, -15 => 228, -91 => 164, -54 => 168, -45 => 224, -117 => 151, -93 => 157, -81 => 189, -113 => 141, -58 => 143, -47 => 227);
$newArray = array();
foreach ($signsArray as $key => $value) {
$newArray[chr($key) ] = chr($value);
}
return str_replace(array_keys($newArray), array_values($newArray), $text);
}
}
Function Calls
| gzinflate | 1 |
| base64_decode | 1 |
Stats
| MD5 | fe71e2f5a09431a03c8658bde5248d0a |
| Eval Count | 1 |
| Decode Time | 98 ms |