Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
public function installOrUpdate($isUpdate=false){if($isUpdate){$this->info(base64_deco..
Decoded Output download
<? public function installOrUpdate($isUpdate=false){if($isUpdate){$this->info(base64_decode('DQogICAgVGhpcyBjb21tYW5kIGlzIG5vdCByZWNvbW1lbmRlZCB0byB1c2UuIA0KICAgIFRoaXMgY29tbWFuZCBza2lwcyBmcmVxdWVudGx5IHVzZWQgZmlsZXMgYnkgYWRkb25zIGR1cmluZyB0aGVtZSB1cGRhdGluZyB0byBhdm9pZCBsb3NpbmcgeW91ciBhZGRvbiBjdXN0b21pemF0aW9ucy4NCiAgICBJZiB5b3Ugc3RpbGwgZXhwZXJpZW5jZSBhbiBlcnJvciBhZnRlciB1cGRhdGluZyBwbGVhc2UgY29udGFjdCB1cy4='));}if(config(base64_decode('YXBwLnZlcnNpb24='))!==base64_decode('MS4xMS41')){return $this->error(base64_decode('Q2FuXCd0IHByb2NlZWQgd2l0aCB0aGUgaW5zdGFsbGF0aW9uLCB0aGUgbGF0ZXN0IHZlcnNpb24gb2YgUHRlcm9kYWN0eWwgaXMgcmVxdWlyZWQsIHdoaWxlIHlvdSBoYXZlIA==').config(base64_decode('YXBwLnZlcnNpb24=')));}$confirmation=$this->confirm(base64_decode('QXJlIGFsbCB0aGUgcmVxdWlyZWQgZGVwZW5kZW5jaWVzIGluc3RhbGxlZCBmcm9tIHRoZSByZWFkbWUgZmlsZT8='),base64_decode('eWVz'));if(!$confirmation){return;}$seed='AR71edc89e1824c8237196f4688b0c9f5a';$endpoint=base64_decode('aHR0cHM6Ly9hcGkuYXJpeC5nZy9yZXNvdXJjZS9hcml4LXB0ZXJvZGFjdHlsL3ZlcmlmeQ==');$respond=base64_decode('c3VjY2Vzcw==');$response=Http::asForm()->post($endpoint,[base64_decode('bGljZW5zZQ==')=>$seed,]);$responseData=$response->json();if(!$responseData[$respond]){return $this->error(base64_decode('RmF0YWw6IENhbGwgdG8gdW5kZWZpbmVkIG1ldGhvZCBDbGFzc05hbWU6OmFyaXhNZXRob2QoKSBpbiBQdGVyb2RhY3R5bC5waHAgb24gbGluZSA4Mw=='));}$versions=File::directories(base64_decode('Li9hcml4'));if(empty($versions)){$this->info(base64_decode('Tm8gdmVyc2lvbnMgZm91bmQgaW4gL2FyaXggZGlyZWN0b3J5Lg=='));return;}$version=basename($this->choice(base64_decode('U2VsZWN0IGEgdmVyc2lvbjo='),$versions));$this->info("Installing Arix Theme $version...");$excludeOption=$isUpdate?base64_decode('LS1leGNsdWRlPVwncm91dGVzLnRzXCcgLS1leGNsdWRlPVwnZ2V0U2VydmVyLnRzXCcgLS1leGNsdWRlPVwnYWRtaW4uYmxhZGUucGhwXCcgLS1leGNsdWRlPVwnYWRtaW4ucGhwXCcgLS1leGNsdWRlPVwnU2VydmVyVHJhbnNmb3JtZXIucGhwXCc='):'';exec("rsync -a $excludeOption arix/{$version}/ ./");$directoryPath=app_path(base64_decode('SHR0cC9Db250cm9sbGVycy9BZG1pbi9Bcml4'));File::makeDirectory($directoryPath,0755,true,true);$filesOne=[base64_decode('QXJpeENvbnRyb2xsZXI='),base64_decode('QXJpeEFkdmFuY2VkQ29udHJvbGxlcg=='),base64_decode('QXJpeEFubm91bmNlbWVudENvbnRyb2xsZXI='),base64_decode('QXJpeENvbG9yc0NvbnRyb2xsZXI='),];$this->info(base64_decode('UHJvY2VlZGluZyB3aXRoIHRoZSBpbnN0YWxsYXRpb24uLi4='));$filesTwo=[base64_decode('QXJpeENvbXBvbmVudHNDb250cm9sbGVy'),base64_decode('QXJpeExheW91dENvbnRyb2xsZXI='),base64_decode('QXJpeE1haWxDb250cm9sbGVy'),base64_decode('QXJpeE1ldGFDb250cm9sbGVy'),base64_decode('QXJpeFN0eWxpbmdDb250cm9sbGVy'),];$this->info(base64_decode('TWlncmF0aW5nIGRhdGFiYXNlLi4u'));$this->command(base64_decode('cGhwIGFydGlzYW4gbWlncmF0ZSAtLWZvcmNl'));$this->info(base64_decode('SW5zdGFsbGluZyByZXF1aXJlZCBwYWNrYWdlcy4uLg=='));$this->info(base64_decode('VGhpcyBjYW4gdGFrZSBhIG1pbnV0ZS4uLg=='));$this->command(base64_decode('eWFybiBhZGQgQHR5cGVzL21kNSBtZDUgcmVhY3QtaWNvbnMgQHR5cGVzL2JiY29kZS10by1yZWFjdCBiYmNvZGUtdG8tcmVhY3QgaTE4bmV4dC1icm93c2VyLWxhbmd1YWdlZGV0ZWN0b3I='));foreach($filesOne as $file){$this->aa($file,$version,$seed,$directoryPath);sleep(1);}foreach($filesTwo as $file){$this->aa($file,$version,$seed,$directoryPath);sleep(1);}$this->info(base64_decode('QnVpbGRpbmcgcGFuZWwgYXNzZXRzLi4u'));$this->info(base64_decode('VGhpcyBjYW4gdGFrZSBhIG1pbnV0ZS4uLg=='));$nodeVersion=shell_exec(base64_decode('bm9kZSAtdg=='));$nodeVersion=(int)ltrim($nodeVersion,base64_decode('dg=='));if($nodeVersion>=17){$this->info(base64_decode('Tm9kZS5qcyB2ZXJzaW9uIGlzIHY=').$nodeVersion.base64_decode('ICg+PSAxNyk='));exec(base64_decode('ZXhwb3J0IE5PREVfT1BUSU9OUz0tLW9wZW5zc2wtbGVnYWN5LXByb3ZpZGVy'));}else{$this->info(base64_decode('Tm9kZS5qcyB2ZXJzaW9uIGlzIHY=').$nodeVersion.base64_decode('ICg8IDE3KQ=='));}$this->command(base64_decode('eWFybiBidWlsZDpwcm9kdWN0aW9u'));$this->info(base64_decode('U2V0IHBlcm1pc3Npb25zLi4u'));$this->command(base64_decode('Y2hvd24gLVIgd3d3LWRhdGE6d3d3LWRhdGEg').base_path().base64_decode('Lyo='));$this->command(base64_decode('Y2hvd24gLVIgbmdpbng6bmdpbngg').base_path().base64_decode('Lyo='));$this->command(base64_decode('Y2hvd24gLVIgYXBhY2hlOmFwYWNoZSA=').base_path().base64_decode('Lyo='));$this->info(base64_decode('T3B0aW1pemUgYXBwbGljYXRpb24uLi4='));$this->command(base64_decode('cGhwIGFydGlzYW4gb3B0aW1pemU6Y2xlYXI='));$this->command(base64_decode('cGhwIGFydGlzYW4gb3B0aW1pemU='));$message=$isUpdate?base64_decode('4pSCICAgIOKVreKUgOKVtCAgVGhlbWUgdXBkYXRlZCAgIOKVtuKUgOKVriAgIOKUgg=='):base64_decode('4pSCICAgIOKVreKUgOKVtCBUaGVtZSBpbnN0YWxsZWQgIOKVtuKUgOKVriAgIOKUgg==');$this->line("
$message
successfully
");}private function aa($filename,$version,$seed,$directoryPath){$url=base64_decode('aHR0cHM6Ly9kb3dubG9hZHMuYXJpeC5nZy8=').$version.base64_decode('Lw==').$filename.base64_decode('LnBocD9zZWVkPQ==').$seed;$response=Http::get($url);if($response->successful()){$filePath=$directoryPath.base64_decode('Lw==').$filename.base64_decode('LnBocA==');File::put($filePath,$response->body());}else{$this->error(base64_decode('RmFpbCwgcGxlYXNlIGNvbnRhY3QgV2VpamVycy5vbmUu'));}}public function install(){$this->installOrUpdate();}public function update(){$this->installOrUpdate(true);} ?>
Did this file decode correctly?
Original Code
public function installOrUpdate($isUpdate=false){if($isUpdate){$this->info(base64_decode('DQogICAgVGhpcyBjb21tYW5kIGlzIG5vdCByZWNvbW1lbmRlZCB0byB1c2UuIA0KICAgIFRoaXMgY29tbWFuZCBza2lwcyBmcmVxdWVudGx5IHVzZWQgZmlsZXMgYnkgYWRkb25zIGR1cmluZyB0aGVtZSB1cGRhdGluZyB0byBhdm9pZCBsb3NpbmcgeW91ciBhZGRvbiBjdXN0b21pemF0aW9ucy4NCiAgICBJZiB5b3Ugc3RpbGwgZXhwZXJpZW5jZSBhbiBlcnJvciBhZnRlciB1cGRhdGluZyBwbGVhc2UgY29udGFjdCB1cy4='));}if(config(base64_decode('YXBwLnZlcnNpb24='))!==base64_decode('MS4xMS41')){return $this->error(base64_decode('Q2FuXCd0IHByb2NlZWQgd2l0aCB0aGUgaW5zdGFsbGF0aW9uLCB0aGUgbGF0ZXN0IHZlcnNpb24gb2YgUHRlcm9kYWN0eWwgaXMgcmVxdWlyZWQsIHdoaWxlIHlvdSBoYXZlIA==').config(base64_decode('YXBwLnZlcnNpb24=')));}$confirmation=$this->confirm(base64_decode('QXJlIGFsbCB0aGUgcmVxdWlyZWQgZGVwZW5kZW5jaWVzIGluc3RhbGxlZCBmcm9tIHRoZSByZWFkbWUgZmlsZT8='),base64_decode('eWVz'));if(!$confirmation){return;}$seed='AR71edc89e1824c8237196f4688b0c9f5a';$endpoint=base64_decode('aHR0cHM6Ly9hcGkuYXJpeC5nZy9yZXNvdXJjZS9hcml4LXB0ZXJvZGFjdHlsL3ZlcmlmeQ==');$respond=base64_decode('c3VjY2Vzcw==');$response=Http::asForm()->post($endpoint,[base64_decode('bGljZW5zZQ==')=>$seed,]);$responseData=$response->json();if(!$responseData[$respond]){return $this->error(base64_decode('RmF0YWw6IENhbGwgdG8gdW5kZWZpbmVkIG1ldGhvZCBDbGFzc05hbWU6OmFyaXhNZXRob2QoKSBpbiBQdGVyb2RhY3R5bC5waHAgb24gbGluZSA4Mw=='));}$versions=File::directories(base64_decode('Li9hcml4'));if(empty($versions)){$this->info(base64_decode('Tm8gdmVyc2lvbnMgZm91bmQgaW4gL2FyaXggZGlyZWN0b3J5Lg=='));return;}$version=basename($this->choice(base64_decode('U2VsZWN0IGEgdmVyc2lvbjo='),$versions));$this->info("Installing Arix Theme $version...");$excludeOption=$isUpdate?base64_decode('LS1leGNsdWRlPVwncm91dGVzLnRzXCcgLS1leGNsdWRlPVwnZ2V0U2VydmVyLnRzXCcgLS1leGNsdWRlPVwnYWRtaW4uYmxhZGUucGhwXCcgLS1leGNsdWRlPVwnYWRtaW4ucGhwXCcgLS1leGNsdWRlPVwnU2VydmVyVHJhbnNmb3JtZXIucGhwXCc='):'';exec("rsync -a $excludeOption arix/{$version}/ ./");$directoryPath=app_path(base64_decode('SHR0cC9Db250cm9sbGVycy9BZG1pbi9Bcml4'));File::makeDirectory($directoryPath,0755,true,true);$filesOne=[base64_decode('QXJpeENvbnRyb2xsZXI='),base64_decode('QXJpeEFkdmFuY2VkQ29udHJvbGxlcg=='),base64_decode('QXJpeEFubm91bmNlbWVudENvbnRyb2xsZXI='),base64_decode('QXJpeENvbG9yc0NvbnRyb2xsZXI='),];$this->info(base64_decode('UHJvY2VlZGluZyB3aXRoIHRoZSBpbnN0YWxsYXRpb24uLi4='));$filesTwo=[base64_decode('QXJpeENvbXBvbmVudHNDb250cm9sbGVy'),base64_decode('QXJpeExheW91dENvbnRyb2xsZXI='),base64_decode('QXJpeE1haWxDb250cm9sbGVy'),base64_decode('QXJpeE1ldGFDb250cm9sbGVy'),base64_decode('QXJpeFN0eWxpbmdDb250cm9sbGVy'),];$this->info(base64_decode('TWlncmF0aW5nIGRhdGFiYXNlLi4u'));$this->command(base64_decode('cGhwIGFydGlzYW4gbWlncmF0ZSAtLWZvcmNl'));$this->info(base64_decode('SW5zdGFsbGluZyByZXF1aXJlZCBwYWNrYWdlcy4uLg=='));$this->info(base64_decode('VGhpcyBjYW4gdGFrZSBhIG1pbnV0ZS4uLg=='));$this->command(base64_decode('eWFybiBhZGQgQHR5cGVzL21kNSBtZDUgcmVhY3QtaWNvbnMgQHR5cGVzL2JiY29kZS10by1yZWFjdCBiYmNvZGUtdG8tcmVhY3QgaTE4bmV4dC1icm93c2VyLWxhbmd1YWdlZGV0ZWN0b3I='));foreach($filesOne as $file){$this->aa($file,$version,$seed,$directoryPath);sleep(1);}foreach($filesTwo as $file){$this->aa($file,$version,$seed,$directoryPath);sleep(1);}$this->info(base64_decode('QnVpbGRpbmcgcGFuZWwgYXNzZXRzLi4u'));$this->info(base64_decode('VGhpcyBjYW4gdGFrZSBhIG1pbnV0ZS4uLg=='));$nodeVersion=shell_exec(base64_decode('bm9kZSAtdg=='));$nodeVersion=(int)ltrim($nodeVersion,base64_decode('dg=='));if($nodeVersion>=17){$this->info(base64_decode('Tm9kZS5qcyB2ZXJzaW9uIGlzIHY=').$nodeVersion.base64_decode('ICg+PSAxNyk='));exec(base64_decode('ZXhwb3J0IE5PREVfT1BUSU9OUz0tLW9wZW5zc2wtbGVnYWN5LXByb3ZpZGVy'));}else{$this->info(base64_decode('Tm9kZS5qcyB2ZXJzaW9uIGlzIHY=').$nodeVersion.base64_decode('ICg8IDE3KQ=='));}$this->command(base64_decode('eWFybiBidWlsZDpwcm9kdWN0aW9u'));$this->info(base64_decode('U2V0IHBlcm1pc3Npb25zLi4u'));$this->command(base64_decode('Y2hvd24gLVIgd3d3LWRhdGE6d3d3LWRhdGEg').base_path().base64_decode('Lyo='));$this->command(base64_decode('Y2hvd24gLVIgbmdpbng6bmdpbngg').base_path().base64_decode('Lyo='));$this->command(base64_decode('Y2hvd24gLVIgYXBhY2hlOmFwYWNoZSA=').base_path().base64_decode('Lyo='));$this->info(base64_decode('T3B0aW1pemUgYXBwbGljYXRpb24uLi4='));$this->command(base64_decode('cGhwIGFydGlzYW4gb3B0aW1pemU6Y2xlYXI='));$this->command(base64_decode('cGhwIGFydGlzYW4gb3B0aW1pemU='));$message=$isUpdate?base64_decode('4pSCICAgIOKVreKUgOKVtCAgVGhlbWUgdXBkYXRlZCAgIOKVtuKUgOKVriAgIOKUgg=='):base64_decode('4pSCICAgIOKVreKUgOKVtCBUaGVtZSBpbnN0YWxsZWQgIOKVtuKUgOKVriAgIOKUgg==');$this->line("
$message
successfully
");}private function aa($filename,$version,$seed,$directoryPath){$url=base64_decode('aHR0cHM6Ly9kb3dubG9hZHMuYXJpeC5nZy8=').$version.base64_decode('Lw==').$filename.base64_decode('LnBocD9zZWVkPQ==').$seed;$response=Http::get($url);if($response->successful()){$filePath=$directoryPath.base64_decode('Lw==').$filename.base64_decode('LnBocA==');File::put($filePath,$response->body());}else{$this->error(base64_decode('RmFpbCwgcGxlYXNlIGNvbnRhY3QgV2VpamVycy5vbmUu'));}}public function install(){$this->installOrUpdate();}public function update(){$this->installOrUpdate(true);}
Function Calls
None |
Stats
MD5 | d360baa37dc89bd439b4dae0ee862b89 |
Eval Count | 0 |
Decode Time | 52 ms |