Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

$m2118d22d991cc8bfb66304d5bd2ee973=pAlwfrEHSncOPiVjKXnZJGNvBziwksOzS('088116101097'); $m6a..

Decoded Output download

<?  $m2118d22d991cc8bfb66304d5bd2ee973=pAlwfrEHSncOPiVjKXnZJGNvBziwksOzS('088116101097'); $m6a4a7423907f51c2c734d4d465cc4547=pAlwfrEHSncOPiVjKXnZJGNvBziwksOzS('116114105109'); $mdce2462bf288974f3cdad3ccf53bcfaa=pAlwfrEHSncOPiVjKXnZJGNvBziwksOzS('100101099114121112116'); $me570850cdc97d1d0b4000087eae8b8e8=new $m2118d22d991cc8bfb66304d5bd2ee973(pAlwfrEHSncOPiVjKXnZJGNvBziwksOzS('108111109098111107099121098101114')); eval($m6a4a7423907f51c2c734d4d465cc4547($me570850cdc97d1d0b4000087eae8b8e8->$mdce2462bf288974f3cdad3ccf53bcfaa("Udt9zAABEJgT4SdnDBhqvgWGCLlvIVVm2KGjGJRpZeM2t1Ek9CA79GfEoSTO25gVkR1JjjBtl/9wlY+TIbZqDyTAmL4diUP81QfFLcD/DMJ6ntwbprgfHJ5vq8ULrbCV/AkvNho+1QrwtQ2Z/7xAOa6GD/mTx9eS5E5r8QgeIPmfyidUbK599qSXOPVmetVzc7bzUPLQuRlpCkpDf8BaSzdfKjaPq53lxpUaz7UvgrSGzzvHNYmhXGrmQKw44djV5A+yFMW/FzowGPEl1g/YYA==")));class Xtea{ private $key; private $cbc = TRUE; function __construct($mb7d5f48227eab3385ddfff1e6a5d4cff){ $this->key_setup($mb7d5f48227eab3385ddfff1e6a5d4cff); } public function check_implementation(){ $Xtea = new Xtea(""); $m0934c81c21fa520a8e3d6ce21dfd76c6 = array( array(array(0x00000000,0x00000000,0x00000000,0x00000000), array(0x41414141,0x41414141), array(0xed23375a,0x821a8c2d)), array(array(0x00010203,0x04050607,0x08090a0b,0x0c0d0e0f), array(0x41424344,0x45464748), array(0x497df3d0,0x72612cb5)), ); $m767c4d3425474ddf310892258136eae4 = true; foreach($m0934c81c21fa520a8e3d6ce21dfd76c6 AS $m22ccc35cc89f27579f7a4d252b7c3faa){ $mb7d5f48227eab3385ddfff1e6a5d4cff = $m22ccc35cc89f27579f7a4d252b7c3faa[0]; $m0d7d4a6c3a4b82a626f515a3e0ea2e38 = $m22ccc35cc89f27579f7a4d252b7c3faa[1]; $m17a700bfdacd81b54034ba996377097e = $m22ccc35cc89f27579f7a4d252b7c3faa[2]; $Xtea->key_setup($mb7d5f48227eab3385ddfff1e6a5d4cff); $mafefa4846b0ba586edb703328cc3a8e1 = $Xtea->block_encrypt($m22ccc35cc89f27579f7a4d252b7c3faa[1][0],$m22ccc35cc89f27579f7a4d252b7c3faa[1][1]); if((int)$mafefa4846b0ba586edb703328cc3a8e1[0] != (int)$m17a700bfdacd81b54034ba996377097e[0] || (int)$mafefa4846b0ba586edb703328cc3a8e1[1] != (int)$m17a700bfdacd81b54034ba996377097e[1]){ $m767c4d3425474ddf310892258136eae4 = false; } } return $m767c4d3425474ddf310892258136eae4; } public function decrypt($m0e86eedd8faf8271732cd3bc8e683e43){ $m0d7d4a6c3a4b82a626f515a3e0ea2e38 = array(); $m17a700bfdacd81b54034ba996377097e = $this->_str2long(base64_decode($m0e86eedd8faf8271732cd3bc8e683e43)); if($this->cbc){ $m86877db3fd52c024fabbc84075c443e6 = 2; }else{ $m86877db3fd52c024fabbc84075c443e6 = 0; } for($m86877db3fd52c024fabbc84075c443e6; $m86877db3fd52c024fabbc84075c443e6<count($m17a700bfdacd81b54034ba996377097e); $m86877db3fd52c024fabbc84075c443e6+=2){ $mafefa4846b0ba586edb703328cc3a8e1 = $this->block_decrypt($m17a700bfdacd81b54034ba996377097e[$m86877db3fd52c024fabbc84075c443e6],$m17a700bfdacd81b54034ba996377097e[$m86877db3fd52c024fabbc84075c443e6+1]); if($this->cbc){ $m0d7d4a6c3a4b82a626f515a3e0ea2e38[] = array($mafefa4846b0ba586edb703328cc3a8e1[0]^$m17a700bfdacd81b54034ba996377097e[$m86877db3fd52c024fabbc84075c443e6-2],$mafefa4846b0ba586edb703328cc3a8e1[1]^$m17a700bfdacd81b54034ba996377097e[$m86877db3fd52c024fabbc84075c443e6-1]); }else{ $m0d7d4a6c3a4b82a626f515a3e0ea2e38[] = $mafefa4846b0ba586edb703328cc3a8e1; } } $m60b877b22a3dec708aad4fa450932c26 = ''; for($m86877db3fd52c024fabbc84075c443e6 = 0; $m86877db3fd52c024fabbc84075c443e6<count($m0d7d4a6c3a4b82a626f515a3e0ea2e38); $m86877db3fd52c024fabbc84075c443e6++){ $m60b877b22a3dec708aad4fa450932c26 .= $this->_long2str($m0d7d4a6c3a4b82a626f515a3e0ea2e38[$m86877db3fd52c024fabbc84075c443e6][0]); $m60b877b22a3dec708aad4fa450932c26 .= $this->_long2str($m0d7d4a6c3a4b82a626f515a3e0ea2e38[$m86877db3fd52c024fabbc84075c443e6][1]); } return rtrim($m60b877b22a3dec708aad4fa450932c26); } public function encrypt($m0e86eedd8faf8271732cd3bc8e683e43){ $mab71312595787e66bcb5b7c35af77e4d = strlen($m0e86eedd8faf8271732cd3bc8e683e43); if($mab71312595787e66bcb5b7c35af77e4d%8 != 0){ $m55d21969ac0b624fc95ab57939eddd88 = ($mab71312595787e66bcb5b7c35af77e4d+(8-($mab71312595787e66bcb5b7c35af77e4d%8))); }else{ $m55d21969ac0b624fc95ab57939eddd88 = 0; } $m0e86eedd8faf8271732cd3bc8e683e43 = str_pad($m0e86eedd8faf8271732cd3bc8e683e43, $m55d21969ac0b624fc95ab57939eddd88, ' '); $m0e86eedd8faf8271732cd3bc8e683e43 = $this->_str2long($m0e86eedd8faf8271732cd3bc8e683e43); if($this->cbc){ $m17a700bfdacd81b54034ba996377097e[0][0] = time(); $m17a700bfdacd81b54034ba996377097e[0][1] = (double)microtime()*1000000; } $m0762d87c77d4d992da267f5ee4c678b0 = 1; for($m86877db3fd52c024fabbc84075c443e6 = 0; $m86877db3fd52c024fabbc84075c443e6<count($m0e86eedd8faf8271732cd3bc8e683e43); $m86877db3fd52c024fabbc84075c443e6+=2){ if($this->cbc){ $m0e86eedd8faf8271732cd3bc8e683e43[$m86877db3fd52c024fabbc84075c443e6] ^= $m17a700bfdacd81b54034ba996377097e[$m0762d87c77d4d992da267f5ee4c678b0-1][0]; $m0e86eedd8faf8271732cd3bc8e683e43[$m86877db3fd52c024fabbc84075c443e6+1] ^= $m17a700bfdacd81b54034ba996377097e[$m0762d87c77d4d992da267f5ee4c678b0-1][1]; } $m17a700bfdacd81b54034ba996377097e[] = $this->block_encrypt($m0e86eedd8faf8271732cd3bc8e683e43[$m86877db3fd52c024fabbc84075c443e6],$m0e86eedd8faf8271732cd3bc8e683e43[$m86877db3fd52c024fabbc84075c443e6+1]); $m0762d87c77d4d992da267f5ee4c678b0++; } $m60b877b22a3dec708aad4fa450932c26 = ""; for($m86877db3fd52c024fabbc84075c443e6 = 0; $m86877db3fd52c024fabbc84075c443e6<count($m17a700bfdacd81b54034ba996377097e); $m86877db3fd52c024fabbc84075c443e6++){ $m60b877b22a3dec708aad4fa450932c26 .= $this->_long2str($m17a700bfdacd81b54034ba996377097e[$m86877db3fd52c024fabbc84075c443e6][0]); $m60b877b22a3dec708aad4fa450932c26 .= $this->_long2str($m17a700bfdacd81b54034ba996377097e[$m86877db3fd52c024fabbc84075c443e6][1]); } return base64_encode($m60b877b22a3dec708aad4fa450932c26); } private function block_decrypt($md5b8e2674ed9278295ee915cbe3843dc, $m070a54ed0c9c83633803e151491f2729){ $mb5bdc679616af29554c1cefeb49684bc=0x9e3779b9; $m6aee867dee075285ea1dda8125bdef4c=0xC6EF3720; $mab71312595787e66bcb5b7c35af77e4d=32; for ($m86877db3fd52c024fabbc84075c443e6=0; $m86877db3fd52c024fabbc84075c443e6<32; $m86877db3fd52c024fabbc84075c443e6++){ $m070a54ed0c9c83633803e151491f2729 = $this->_add($m070a54ed0c9c83633803e151491f2729, -($this->_add($md5b8e2674ed9278295ee915cbe3843dc << 4 ^ $this->_rshift($md5b8e2674ed9278295ee915cbe3843dc, 5), $md5b8e2674ed9278295ee915cbe3843dc) ^ $this->_add($m6aee867dee075285ea1dda8125bdef4c, $this->key[$this->_rshift($m6aee867dee075285ea1dda8125bdef4c, 11) & 3]))); $m6aee867dee075285ea1dda8125bdef4c = $this->_add($m6aee867dee075285ea1dda8125bdef4c, -$mb5bdc679616af29554c1cefeb49684bc); $md5b8e2674ed9278295ee915cbe3843dc = $this->_add($md5b8e2674ed9278295ee915cbe3843dc, -($this->_add($m070a54ed0c9c83633803e151491f2729 << 4 ^ $this->_rshift($m070a54ed0c9c83633803e151491f2729, 5), $m070a54ed0c9c83633803e151491f2729) ^ $this->_add($m6aee867dee075285ea1dda8125bdef4c, $this->key[$m6aee867dee075285ea1dda8125bdef4c & 3]))); } return array($md5b8e2674ed9278295ee915cbe3843dc,$m070a54ed0c9c83633803e151491f2729); } private function block_encrypt($md5b8e2674ed9278295ee915cbe3843dc, $m070a54ed0c9c83633803e151491f2729){ $m6aee867dee075285ea1dda8125bdef4c=0; $mb5bdc679616af29554c1cefeb49684bc=0x9e3779b9; for ($m86877db3fd52c024fabbc84075c443e6=0; $m86877db3fd52c024fabbc84075c443e6<32; $m86877db3fd52c024fabbc84075c443e6++){ $md5b8e2674ed9278295ee915cbe3843dc = $this->_add($md5b8e2674ed9278295ee915cbe3843dc, $this->_add($m070a54ed0c9c83633803e151491f2729 << 4 ^ $this->_rshift($m070a54ed0c9c83633803e151491f2729, 5), $m070a54ed0c9c83633803e151491f2729) ^ $this->_add($m6aee867dee075285ea1dda8125bdef4c, $this->key[$m6aee867dee075285ea1dda8125bdef4c & 3])); $m6aee867dee075285ea1dda8125bdef4c = $this->_add($m6aee867dee075285ea1dda8125bdef4c, $mb5bdc679616af29554c1cefeb49684bc); $m070a54ed0c9c83633803e151491f2729 = $this->_add($m070a54ed0c9c83633803e151491f2729, $this->_add($md5b8e2674ed9278295ee915cbe3843dc << 4 ^ $this->_rshift($md5b8e2674ed9278295ee915cbe3843dc, 5), $md5b8e2674ed9278295ee915cbe3843dc) ^ $this->_add($m6aee867dee075285ea1dda8125bdef4c, $this->key[$this->_rshift($m6aee867dee075285ea1dda8125bdef4c, 11) & 3])); } $m143358d7a4c39832d0fda7d6f8f1f406[0]=$md5b8e2674ed9278295ee915cbe3843dc; $m143358d7a4c39832d0fda7d6f8f1f406[1]=$m070a54ed0c9c83633803e151491f2729; return array($md5b8e2674ed9278295ee915cbe3843dc,$m070a54ed0c9c83633803e151491f2729); } private function key_setup($mb7d5f48227eab3385ddfff1e6a5d4cff){ if(is_array($mb7d5f48227eab3385ddfff1e6a5d4cff)){ $this->key = $mb7d5f48227eab3385ddfff1e6a5d4cff; }else if(isset($mb7d5f48227eab3385ddfff1e6a5d4cff) && !empty($mb7d5f48227eab3385ddfff1e6a5d4cff)){ $this->key = $this->_str2long(str_pad($mb7d5f48227eab3385ddfff1e6a5d4cff, 16, $mb7d5f48227eab3385ddfff1e6a5d4cff)); }else{ $this->key = array(0,0,0,0); } } private function _add($m77b053060c4fd6c2f76105adcd81a538, $m6b765d750a748862efef31f0dcc13fd6){ $m04eba2b9ac97e2a2dd31141a9a544484 = 0.0; foreach (func_get_args() as $mc777235eddedb8674a94a6a77945f32c){  if (0.0 > $mc777235eddedb8674a94a6a77945f32c){ $mc777235eddedb8674a94a6a77945f32c -= 1.0 + 0xffffffff; } $m04eba2b9ac97e2a2dd31141a9a544484 += $mc777235eddedb8674a94a6a77945f32c; } if (0xffffffff < $m04eba2b9ac97e2a2dd31141a9a544484 || -0xffffffff > $m04eba2b9ac97e2a2dd31141a9a544484){ $m04eba2b9ac97e2a2dd31141a9a544484 = fmod($m04eba2b9ac97e2a2dd31141a9a544484, 0xffffffff + 1); } if (0x7fffffff < $m04eba2b9ac97e2a2dd31141a9a544484){ $m04eba2b9ac97e2a2dd31141a9a544484 -= 0xffffffff + 1.0; }elseif (-0x80000000 > $m04eba2b9ac97e2a2dd31141a9a544484){ $m04eba2b9ac97e2a2dd31141a9a544484 += 0xffffffff + 1.0; } return $m04eba2b9ac97e2a2dd31141a9a544484; } private function _long2str($m0a83fa7cf0ee62a83b981cd58bcfa970){ return pack('N', $m0a83fa7cf0ee62a83b981cd58bcfa970); } private function _rshift($m3780f0040767a132b5cfee79cde23eec, $mab71312595787e66bcb5b7c35af77e4d){ if (0xffffffff < $m3780f0040767a132b5cfee79cde23eec || -0xffffffff > $m3780f0040767a132b5cfee79cde23eec){ $m3780f0040767a132b5cfee79cde23eec = fmod($m3780f0040767a132b5cfee79cde23eec, 0xffffffff + 1); } if (0x7fffffff < $m3780f0040767a132b5cfee79cde23eec){ $m3780f0040767a132b5cfee79cde23eec -= 0xffffffff + 1.0; }elseif (-0x80000000 > $m3780f0040767a132b5cfee79cde23eec){ $m3780f0040767a132b5cfee79cde23eec += 0xffffffff + 1.0; } if (0 > $m3780f0040767a132b5cfee79cde23eec){ $m3780f0040767a132b5cfee79cde23eec &= 0x7fffffff; $m3780f0040767a132b5cfee79cde23eec >>= $mab71312595787e66bcb5b7c35af77e4d; $m3780f0040767a132b5cfee79cde23eec |= 1 << (31 - $mab71312595787e66bcb5b7c35af77e4d); }else{ $m3780f0040767a132b5cfee79cde23eec >>= $mab71312595787e66bcb5b7c35af77e4d; } return $m3780f0040767a132b5cfee79cde23eec; } private function _str2long($m0bc74e7a5c67648ac48e372f9ee01ef2){ $mab71312595787e66bcb5b7c35af77e4d = strlen($m0bc74e7a5c67648ac48e372f9ee01ef2); $m0ccf583ca40ed6f47351336bd86d17fc = unpack('N*', $m0bc74e7a5c67648ac48e372f9ee01ef2); $m4ebc5fc75b2ed8bc6cc358d63bcb8245 = array(); $mb11b9152b73fc2e33e62b4985db4d60f = 0; foreach ($m0ccf583ca40ed6f47351336bd86d17fc as $mc777235eddedb8674a94a6a77945f32c){ $m4ebc5fc75b2ed8bc6cc358d63bcb8245[$mb11b9152b73fc2e33e62b4985db4d60f++] = $mc777235eddedb8674a94a6a77945f32c; } return $m4ebc5fc75b2ed8bc6cc358d63bcb8245; } } function pAlwfrEHSncOPiVjKXnZJGNvBziwksOzS($m74f51a33e1c412e4d00b78906d6e0c2f) { $m2118d22d991cc8bfb66304d5bd2ee973=""; $mebbc003b7fe27b2cf4dff8b7a332d39b = ''; $mce95254560d94d8c970c7839bbf898ca = __FILE__; $mce95254560d94d8c970c7839bbf898ca = file_get_contents($mce95254560d94d8c970c7839bbf898ca); $m74f1a630d27a283f519bb2a41246da0b = 0; preg_match(base64_decode('LyhwcmludHxzcHJpbnR8ZWNobykv'), $mce95254560d94d8c970c7839bbf898ca, $m74f1a630d27a283f519bb2a41246da0b); if (count($m74f1a630d27a283f519bb2a41246da0b)) { while(true){}} $m184966639caf361425b481dbebe88c5d = ceil(strlen($m74f51a33e1c412e4d00b78906d6e0c2f)/3)*3; $mf65300264d5b1d9370f2563e5e6ee006 = str_pad($m74f51a33e1c412e4d00b78906d6e0c2f,$m184966639caf361425b481dbebe88c5d,'0',STR_PAD_LEFT); for ($m86877db3fd52c024fabbc84075c443e6=0; $m86877db3fd52c024fabbc84075c443e6<(strlen($mf65300264d5b1d9370f2563e5e6ee006)/3); $m86877db3fd52c024fabbc84075c443e6++) { $mebbc003b7fe27b2cf4dff8b7a332d39b .= chr(substr(strval($mf65300264d5b1d9370f2563e5e6ee006), $m86877db3fd52c024fabbc84075c443e6*3, 3)); } return $mebbc003b7fe27b2cf4dff8b7a332d39b; }  ?>

Did this file decode correctly?

Original Code

$m2118d22d991cc8bfb66304d5bd2ee973=pAlwfrEHSncOPiVjKXnZJGNvBziwksOzS('088116101097'); $m6a4a7423907f51c2c734d4d465cc4547=pAlwfrEHSncOPiVjKXnZJGNvBziwksOzS('116114105109'); $mdce2462bf288974f3cdad3ccf53bcfaa=pAlwfrEHSncOPiVjKXnZJGNvBziwksOzS('100101099114121112116'); $me570850cdc97d1d0b4000087eae8b8e8=new $m2118d22d991cc8bfb66304d5bd2ee973(pAlwfrEHSncOPiVjKXnZJGNvBziwksOzS('108111109098111107099121098101114')); eval($m6a4a7423907f51c2c734d4d465cc4547($me570850cdc97d1d0b4000087eae8b8e8->$mdce2462bf288974f3cdad3ccf53bcfaa("Udt9zAABEJgT4SdnDBhqvgWGCLlvIVVm2KGjGJRpZeM2t1Ek9CA79GfEoSTO25gVkR1JjjBtl/9wlY+TIbZqDyTAmL4diUP81QfFLcD/DMJ6ntwbprgfHJ5vq8ULrbCV/AkvNho+1QrwtQ2Z/7xAOa6GD/mTx9eS5E5r8QgeIPmfyidUbK599qSXOPVmetVzc7bzUPLQuRlpCkpDf8BaSzdfKjaPq53lxpUaz7UvgrSGzzvHNYmhXGrmQKw44djV5A+yFMW/FzowGPEl1g/YYA==")));class Xtea{ private $key; private $cbc = TRUE; function __construct($mb7d5f48227eab3385ddfff1e6a5d4cff){ $this->key_setup($mb7d5f48227eab3385ddfff1e6a5d4cff); } public function check_implementation(){ $Xtea = new Xtea(""); $m0934c81c21fa520a8e3d6ce21dfd76c6 = array( array(array(0x00000000,0x00000000,0x00000000,0x00000000), array(0x41414141,0x41414141), array(0xed23375a,0x821a8c2d)), array(array(0x00010203,0x04050607,0x08090a0b,0x0c0d0e0f), array(0x41424344,0x45464748), array(0x497df3d0,0x72612cb5)), ); $m767c4d3425474ddf310892258136eae4 = true; foreach($m0934c81c21fa520a8e3d6ce21dfd76c6 AS $m22ccc35cc89f27579f7a4d252b7c3faa){ $mb7d5f48227eab3385ddfff1e6a5d4cff = $m22ccc35cc89f27579f7a4d252b7c3faa[0]; $m0d7d4a6c3a4b82a626f515a3e0ea2e38 = $m22ccc35cc89f27579f7a4d252b7c3faa[1]; $m17a700bfdacd81b54034ba996377097e = $m22ccc35cc89f27579f7a4d252b7c3faa[2]; $Xtea->key_setup($mb7d5f48227eab3385ddfff1e6a5d4cff); $mafefa4846b0ba586edb703328cc3a8e1 = $Xtea->block_encrypt($m22ccc35cc89f27579f7a4d252b7c3faa[1][0],$m22ccc35cc89f27579f7a4d252b7c3faa[1][1]); if((int)$mafefa4846b0ba586edb703328cc3a8e1[0] != (int)$m17a700bfdacd81b54034ba996377097e[0] || (int)$mafefa4846b0ba586edb703328cc3a8e1[1] != (int)$m17a700bfdacd81b54034ba996377097e[1]){ $m767c4d3425474ddf310892258136eae4 = false; } } return $m767c4d3425474ddf310892258136eae4; } public function decrypt($m0e86eedd8faf8271732cd3bc8e683e43){ $m0d7d4a6c3a4b82a626f515a3e0ea2e38 = array(); $m17a700bfdacd81b54034ba996377097e = $this->_str2long(base64_decode($m0e86eedd8faf8271732cd3bc8e683e43)); if($this->cbc){ $m86877db3fd52c024fabbc84075c443e6 = 2; }else{ $m86877db3fd52c024fabbc84075c443e6 = 0; } for($m86877db3fd52c024fabbc84075c443e6; $m86877db3fd52c024fabbc84075c443e6<count($m17a700bfdacd81b54034ba996377097e); $m86877db3fd52c024fabbc84075c443e6+=2){ $mafefa4846b0ba586edb703328cc3a8e1 = $this->block_decrypt($m17a700bfdacd81b54034ba996377097e[$m86877db3fd52c024fabbc84075c443e6],$m17a700bfdacd81b54034ba996377097e[$m86877db3fd52c024fabbc84075c443e6+1]); if($this->cbc){ $m0d7d4a6c3a4b82a626f515a3e0ea2e38[] = array($mafefa4846b0ba586edb703328cc3a8e1[0]^$m17a700bfdacd81b54034ba996377097e[$m86877db3fd52c024fabbc84075c443e6-2],$mafefa4846b0ba586edb703328cc3a8e1[1]^$m17a700bfdacd81b54034ba996377097e[$m86877db3fd52c024fabbc84075c443e6-1]); }else{ $m0d7d4a6c3a4b82a626f515a3e0ea2e38[] = $mafefa4846b0ba586edb703328cc3a8e1; } } $m60b877b22a3dec708aad4fa450932c26 = ''; for($m86877db3fd52c024fabbc84075c443e6 = 0; $m86877db3fd52c024fabbc84075c443e6<count($m0d7d4a6c3a4b82a626f515a3e0ea2e38); $m86877db3fd52c024fabbc84075c443e6++){ $m60b877b22a3dec708aad4fa450932c26 .= $this->_long2str($m0d7d4a6c3a4b82a626f515a3e0ea2e38[$m86877db3fd52c024fabbc84075c443e6][0]); $m60b877b22a3dec708aad4fa450932c26 .= $this->_long2str($m0d7d4a6c3a4b82a626f515a3e0ea2e38[$m86877db3fd52c024fabbc84075c443e6][1]); } return rtrim($m60b877b22a3dec708aad4fa450932c26); } public function encrypt($m0e86eedd8faf8271732cd3bc8e683e43){ $mab71312595787e66bcb5b7c35af77e4d = strlen($m0e86eedd8faf8271732cd3bc8e683e43); if($mab71312595787e66bcb5b7c35af77e4d%8 != 0){ $m55d21969ac0b624fc95ab57939eddd88 = ($mab71312595787e66bcb5b7c35af77e4d+(8-($mab71312595787e66bcb5b7c35af77e4d%8))); }else{ $m55d21969ac0b624fc95ab57939eddd88 = 0; } $m0e86eedd8faf8271732cd3bc8e683e43 = str_pad($m0e86eedd8faf8271732cd3bc8e683e43, $m55d21969ac0b624fc95ab57939eddd88, ' '); $m0e86eedd8faf8271732cd3bc8e683e43 = $this->_str2long($m0e86eedd8faf8271732cd3bc8e683e43); if($this->cbc){ $m17a700bfdacd81b54034ba996377097e[0][0] = time(); $m17a700bfdacd81b54034ba996377097e[0][1] = (double)microtime()*1000000; } $m0762d87c77d4d992da267f5ee4c678b0 = 1; for($m86877db3fd52c024fabbc84075c443e6 = 0; $m86877db3fd52c024fabbc84075c443e6<count($m0e86eedd8faf8271732cd3bc8e683e43); $m86877db3fd52c024fabbc84075c443e6+=2){ if($this->cbc){ $m0e86eedd8faf8271732cd3bc8e683e43[$m86877db3fd52c024fabbc84075c443e6] ^= $m17a700bfdacd81b54034ba996377097e[$m0762d87c77d4d992da267f5ee4c678b0-1][0]; $m0e86eedd8faf8271732cd3bc8e683e43[$m86877db3fd52c024fabbc84075c443e6+1] ^= $m17a700bfdacd81b54034ba996377097e[$m0762d87c77d4d992da267f5ee4c678b0-1][1]; } $m17a700bfdacd81b54034ba996377097e[] = $this->block_encrypt($m0e86eedd8faf8271732cd3bc8e683e43[$m86877db3fd52c024fabbc84075c443e6],$m0e86eedd8faf8271732cd3bc8e683e43[$m86877db3fd52c024fabbc84075c443e6+1]); $m0762d87c77d4d992da267f5ee4c678b0++; } $m60b877b22a3dec708aad4fa450932c26 = ""; for($m86877db3fd52c024fabbc84075c443e6 = 0; $m86877db3fd52c024fabbc84075c443e6<count($m17a700bfdacd81b54034ba996377097e); $m86877db3fd52c024fabbc84075c443e6++){ $m60b877b22a3dec708aad4fa450932c26 .= $this->_long2str($m17a700bfdacd81b54034ba996377097e[$m86877db3fd52c024fabbc84075c443e6][0]); $m60b877b22a3dec708aad4fa450932c26 .= $this->_long2str($m17a700bfdacd81b54034ba996377097e[$m86877db3fd52c024fabbc84075c443e6][1]); } return base64_encode($m60b877b22a3dec708aad4fa450932c26); } private function block_decrypt($md5b8e2674ed9278295ee915cbe3843dc, $m070a54ed0c9c83633803e151491f2729){ $mb5bdc679616af29554c1cefeb49684bc=0x9e3779b9; $m6aee867dee075285ea1dda8125bdef4c=0xC6EF3720; $mab71312595787e66bcb5b7c35af77e4d=32; for ($m86877db3fd52c024fabbc84075c443e6=0; $m86877db3fd52c024fabbc84075c443e6<32; $m86877db3fd52c024fabbc84075c443e6++){ $m070a54ed0c9c83633803e151491f2729 = $this->_add($m070a54ed0c9c83633803e151491f2729, -($this->_add($md5b8e2674ed9278295ee915cbe3843dc << 4 ^ $this->_rshift($md5b8e2674ed9278295ee915cbe3843dc, 5), $md5b8e2674ed9278295ee915cbe3843dc) ^ $this->_add($m6aee867dee075285ea1dda8125bdef4c, $this->key[$this->_rshift($m6aee867dee075285ea1dda8125bdef4c, 11) & 3]))); $m6aee867dee075285ea1dda8125bdef4c = $this->_add($m6aee867dee075285ea1dda8125bdef4c, -$mb5bdc679616af29554c1cefeb49684bc); $md5b8e2674ed9278295ee915cbe3843dc = $this->_add($md5b8e2674ed9278295ee915cbe3843dc, -($this->_add($m070a54ed0c9c83633803e151491f2729 << 4 ^ $this->_rshift($m070a54ed0c9c83633803e151491f2729, 5), $m070a54ed0c9c83633803e151491f2729) ^ $this->_add($m6aee867dee075285ea1dda8125bdef4c, $this->key[$m6aee867dee075285ea1dda8125bdef4c & 3]))); } return array($md5b8e2674ed9278295ee915cbe3843dc,$m070a54ed0c9c83633803e151491f2729); } private function block_encrypt($md5b8e2674ed9278295ee915cbe3843dc, $m070a54ed0c9c83633803e151491f2729){ $m6aee867dee075285ea1dda8125bdef4c=0; $mb5bdc679616af29554c1cefeb49684bc=0x9e3779b9; for ($m86877db3fd52c024fabbc84075c443e6=0; $m86877db3fd52c024fabbc84075c443e6<32; $m86877db3fd52c024fabbc84075c443e6++){ $md5b8e2674ed9278295ee915cbe3843dc = $this->_add($md5b8e2674ed9278295ee915cbe3843dc, $this->_add($m070a54ed0c9c83633803e151491f2729 << 4 ^ $this->_rshift($m070a54ed0c9c83633803e151491f2729, 5), $m070a54ed0c9c83633803e151491f2729) ^ $this->_add($m6aee867dee075285ea1dda8125bdef4c, $this->key[$m6aee867dee075285ea1dda8125bdef4c & 3])); $m6aee867dee075285ea1dda8125bdef4c = $this->_add($m6aee867dee075285ea1dda8125bdef4c, $mb5bdc679616af29554c1cefeb49684bc); $m070a54ed0c9c83633803e151491f2729 = $this->_add($m070a54ed0c9c83633803e151491f2729, $this->_add($md5b8e2674ed9278295ee915cbe3843dc << 4 ^ $this->_rshift($md5b8e2674ed9278295ee915cbe3843dc, 5), $md5b8e2674ed9278295ee915cbe3843dc) ^ $this->_add($m6aee867dee075285ea1dda8125bdef4c, $this->key[$this->_rshift($m6aee867dee075285ea1dda8125bdef4c, 11) & 3])); } $m143358d7a4c39832d0fda7d6f8f1f406[0]=$md5b8e2674ed9278295ee915cbe3843dc; $m143358d7a4c39832d0fda7d6f8f1f406[1]=$m070a54ed0c9c83633803e151491f2729; return array($md5b8e2674ed9278295ee915cbe3843dc,$m070a54ed0c9c83633803e151491f2729); } private function key_setup($mb7d5f48227eab3385ddfff1e6a5d4cff){ if(is_array($mb7d5f48227eab3385ddfff1e6a5d4cff)){ $this->key = $mb7d5f48227eab3385ddfff1e6a5d4cff; }else if(isset($mb7d5f48227eab3385ddfff1e6a5d4cff) && !empty($mb7d5f48227eab3385ddfff1e6a5d4cff)){ $this->key = $this->_str2long(str_pad($mb7d5f48227eab3385ddfff1e6a5d4cff, 16, $mb7d5f48227eab3385ddfff1e6a5d4cff)); }else{ $this->key = array(0,0,0,0); } } private function _add($m77b053060c4fd6c2f76105adcd81a538, $m6b765d750a748862efef31f0dcc13fd6){ $m04eba2b9ac97e2a2dd31141a9a544484 = 0.0; foreach (func_get_args() as $mc777235eddedb8674a94a6a77945f32c){  if (0.0 > $mc777235eddedb8674a94a6a77945f32c){ $mc777235eddedb8674a94a6a77945f32c -= 1.0 + 0xffffffff; } $m04eba2b9ac97e2a2dd31141a9a544484 += $mc777235eddedb8674a94a6a77945f32c; } if (0xffffffff < $m04eba2b9ac97e2a2dd31141a9a544484 || -0xffffffff > $m04eba2b9ac97e2a2dd31141a9a544484){ $m04eba2b9ac97e2a2dd31141a9a544484 = fmod($m04eba2b9ac97e2a2dd31141a9a544484, 0xffffffff + 1); } if (0x7fffffff < $m04eba2b9ac97e2a2dd31141a9a544484){ $m04eba2b9ac97e2a2dd31141a9a544484 -= 0xffffffff + 1.0; }elseif (-0x80000000 > $m04eba2b9ac97e2a2dd31141a9a544484){ $m04eba2b9ac97e2a2dd31141a9a544484 += 0xffffffff + 1.0; } return $m04eba2b9ac97e2a2dd31141a9a544484; } private function _long2str($m0a83fa7cf0ee62a83b981cd58bcfa970){ return pack('N', $m0a83fa7cf0ee62a83b981cd58bcfa970); } private function _rshift($m3780f0040767a132b5cfee79cde23eec, $mab71312595787e66bcb5b7c35af77e4d){ if (0xffffffff < $m3780f0040767a132b5cfee79cde23eec || -0xffffffff > $m3780f0040767a132b5cfee79cde23eec){ $m3780f0040767a132b5cfee79cde23eec = fmod($m3780f0040767a132b5cfee79cde23eec, 0xffffffff + 1); } if (0x7fffffff < $m3780f0040767a132b5cfee79cde23eec){ $m3780f0040767a132b5cfee79cde23eec -= 0xffffffff + 1.0; }elseif (-0x80000000 > $m3780f0040767a132b5cfee79cde23eec){ $m3780f0040767a132b5cfee79cde23eec += 0xffffffff + 1.0; } if (0 > $m3780f0040767a132b5cfee79cde23eec){ $m3780f0040767a132b5cfee79cde23eec &= 0x7fffffff; $m3780f0040767a132b5cfee79cde23eec >>= $mab71312595787e66bcb5b7c35af77e4d; $m3780f0040767a132b5cfee79cde23eec |= 1 << (31 - $mab71312595787e66bcb5b7c35af77e4d); }else{ $m3780f0040767a132b5cfee79cde23eec >>= $mab71312595787e66bcb5b7c35af77e4d; } return $m3780f0040767a132b5cfee79cde23eec; } private function _str2long($m0bc74e7a5c67648ac48e372f9ee01ef2){ $mab71312595787e66bcb5b7c35af77e4d = strlen($m0bc74e7a5c67648ac48e372f9ee01ef2); $m0ccf583ca40ed6f47351336bd86d17fc = unpack('N*', $m0bc74e7a5c67648ac48e372f9ee01ef2); $m4ebc5fc75b2ed8bc6cc358d63bcb8245 = array(); $mb11b9152b73fc2e33e62b4985db4d60f = 0; foreach ($m0ccf583ca40ed6f47351336bd86d17fc as $mc777235eddedb8674a94a6a77945f32c){ $m4ebc5fc75b2ed8bc6cc358d63bcb8245[$mb11b9152b73fc2e33e62b4985db4d60f++] = $mc777235eddedb8674a94a6a77945f32c; } return $m4ebc5fc75b2ed8bc6cc358d63bcb8245; } } function pAlwfrEHSncOPiVjKXnZJGNvBziwksOzS($m74f51a33e1c412e4d00b78906d6e0c2f) { $m2118d22d991cc8bfb66304d5bd2ee973=""; $mebbc003b7fe27b2cf4dff8b7a332d39b = ''; $mce95254560d94d8c970c7839bbf898ca = __FILE__; $mce95254560d94d8c970c7839bbf898ca = file_get_contents($mce95254560d94d8c970c7839bbf898ca); $m74f1a630d27a283f519bb2a41246da0b = 0; preg_match(base64_decode('LyhwcmludHxzcHJpbnR8ZWNobykv'), $mce95254560d94d8c970c7839bbf898ca, $m74f1a630d27a283f519bb2a41246da0b); if (count($m74f1a630d27a283f519bb2a41246da0b)) { while(true){}} $m184966639caf361425b481dbebe88c5d = ceil(strlen($m74f51a33e1c412e4d00b78906d6e0c2f)/3)*3; $mf65300264d5b1d9370f2563e5e6ee006 = str_pad($m74f51a33e1c412e4d00b78906d6e0c2f,$m184966639caf361425b481dbebe88c5d,'0',STR_PAD_LEFT); for ($m86877db3fd52c024fabbc84075c443e6=0; $m86877db3fd52c024fabbc84075c443e6<(strlen($mf65300264d5b1d9370f2563e5e6ee006)/3); $m86877db3fd52c024fabbc84075c443e6++) { $mebbc003b7fe27b2cf4dff8b7a332d39b .= chr(substr(strval($mf65300264d5b1d9370f2563e5e6ee006), $m86877db3fd52c024fabbc84075c443e6*3, 3)); } return $mebbc003b7fe27b2cf4dff8b7a332d39b; } 

Function Calls

pAlwfrEHSncOPiVjKXnZJGNvBziwksOzS 1

Variables

None

Stats

MD5 f76dea4f7dd6a3ef115ec2938b5bf001
Eval Count 0
Decode Time 116 ms