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 namespace Deployer;use Deployer\Component\Ssh\Client;use Deployer\Host\Localhost;use..

Decoded Output download

<?php namespace Deployer;use Deployer\Component\Ssh\Client;use Deployer\Host\Localhost;use Deployer\Task\Context;jwzs1(base64_decode('cnN5bmM='),[base64_decode('ZXhjbHVkZQ==')=>[base64_decode('LmdpdA=='),base64_decode('ZGVwbG95LnBocA=='),],base64_decode('ZXhjbHVkZS1maWxl')=>false,base64_decode('aW5jbHVkZQ==')=>[],base64_decode('aW5jbHVkZS1maWxl')=>false,base64_decode('ZmlsdGVy')=>[],base64_decode('ZmlsdGVyLWZpbGU=')=>false,base64_decode('ZmlsdGVyLXBlcmRpcg==')=>false,base64_decode('ZmxhZ3M=')=>base64_decode('cno='),base64_decode('b3B0aW9ucw==')=>[base64_decode('ZGVsZXRl')],base64_decode('dGltZW91dA==')=>300,]);jwzs1(base64_decode('cnN5bmNfc3Jj'),__DIR__);jwzs1(base64_decode('cnN5bmNfZGVzdA=='),base64_decode('e3tyZWxlYXNlX3BhdGh9fQ=='));jwzs1(base64_decode('cnN5bmNfZXhjbHVkZXM='),function(){$czjt2=gnwl0(base64_decode('cnN5bmM='));$gsqe3=$czjt2[base64_decode('ZXhjbHVkZQ==')];$qhzr4=$czjt2[base64_decode('ZXhjbHVkZS1maWxl')];$olnv5='';foreach($gsqe3 as $dgzl6){$olnv5.=base64_decode('IC0tZXhjbHVkZT0=').escapeshellarg($dgzl6);}if(!empty($qhzr4)&&file_exists($qhzr4)&&is_file($qhzr4)&&is_readable($qhzr4)){$olnv5.=base64_decode('IC0tZXhjbHVkZS1mcm9tPQ==').escapeshellarg($qhzr4);}return $olnv5;});jwzs1(base64_decode('cnN5bmNfaW5jbHVkZXM='),function(){$czjt2=gnwl0(base64_decode('cnN5bmM='));$hoky7=$czjt2[base64_decode('aW5jbHVkZQ==')];$qjfj8=$czjt2[base64_decode('aW5jbHVkZS1maWxl')];$ysmv9='';foreach($hoky7 as $iodoa){$ysmv9.=base64_decode('IC0taW5jbHVkZT0=').escapeshellarg($iodoa);}if(!empty($qjfj8)&&file_exists($qjfj8)&&is_file($qjfj8)&&is_readable($qjfj8)){$ysmv9.=base64_decode('IC0taW5jbHVkZS1mcm9tPQ==').escapeshellarg($qjfj8);}return $ysmv9;});jwzs1(base64_decode('cnN5bmNfZmlsdGVy'),function(){$czjt2=gnwl0(base64_decode('cnN5bmM='));$lwtgb=$czjt2[base64_decode('ZmlsdGVy')];$yhfbc=$czjt2[base64_decode('ZmlsdGVyLWZpbGU=')];$xxzxd=$czjt2[base64_decode('ZmlsdGVyLXBlcmRpcg==')];$omkxe='';foreach($lwtgb as $aqxrf){$omkxe.=" --filter='$aqxrf'";}if(!empty($yhfbc)){$omkxe.=" --filter='merge $yhfbc'";}if(!empty($xxzxd)){$omkxe.=" --filter='dir-merge $xxzxd'";}return $omkxe;});jwzs1(base64_decode('cnN5bmNfb3B0aW9ucw=='),function(){$czjt2=gnwl0(base64_decode('cnN5bmM='));$sjxg10=$czjt2[base64_decode('b3B0aW9ucw==')];$dmrj11=[];foreach($sjxg10 as $fbhi12){$dmrj11[]="--$fbhi12";}return implode(base64_decode('IA=='),$dmrj11);});wvgt13(base64_decode('V2FybXVwcyByZW1vdGUgUnN5bmMgdGFyZ2V0'));uqxk14(base64_decode('cnN5bmM6d2FybXVw'),function(){$czjt2=gnwl0(base64_decode('cnN5bmM='));$tlkk15=base64_decode('e3tjdXJyZW50X3BhdGh9fQ==');$tmjx16=base64_decode('e3tkZXBsb3lfcGF0aH19L3JlbGVhc2U=');if(ofhj17("[ -d $(echo $tlkk15) ]")){wgcv18("rsync -{$czjt2[base64_decode('ZmxhZ3M=')]} {{rsync_options}}{{rsync_excludes}}{{rsync_includes}}{{rsync_filter}} $tlkk15/ $tmjx16/");}else{wsmb19(base64_decode('PGNvbW1lbnQ+Tm8gd2F5IHRvIHdhcm11cCByc3luYy48L2NvbW1lbnQ+'));}});wvgt13(base64_decode('UnN5bmMgbG9jYWwtPnJlbW90ZQ=='));uqxk14(base64_decode('cnN5bmM='),function(){$czjt2=gnwl0(base64_decode('cnN5bmM='));$sjdo1a=gnwl0(base64_decode('cnN5bmNfc3Jj'));while(is_callable($sjdo1a)){$sjdo1a=$sjdo1a();}if(!trim($sjdo1a)){throw new \mrud1b(base64_decode('WW91IG5lZWQgdG8gc3BlY2lmeSBhIHNvdXJjZSBwYXRoLg=='));}$acha1c=gnwl0(base64_decode('cnN5bmNfZGVzdA=='));while(is_callable($acha1c)){$acha1c=$acha1c();}if(!trim($acha1c)){throw new \mrud1b(base64_decode('WW91IG5lZWQgdG8gc3BlY2lmeSBhIGRlc3RpbmF0aW9uIHBhdGgu'));}$geow1d=Context::gnwl0()->qpxu1e();if($geow1d instanceof Localhost){etbm1f("rsync -{$czjt2[base64_decode('ZmxhZ3M=')]} {{rsync_options}}{{rsync_includes}}{{rsync_excludes}}{{rsync_filter}} '$sjdo1a/' '$acha1c/'",$czjt2);return;}$icmb20=$geow1d->olib21();etbm1f("rsync -{$czjt2[base64_decode('ZmxhZ3M=')]} -e 'ssh $icmb20' {{rsync_options}}{{rsync_includes}}{{rsync_excludes}}{{rsync_filter}} '$sjdo1a/' '{$geow1d->jfmp22()}:$acha1c/'",$czjt2);});?>

Did this file decode correctly?

Original Code

<?php namespace Deployer;use Deployer\Component\Ssh\Client;use Deployer\Host\Localhost;use Deployer\Task\Context;jwzs1(base64_decode('cnN5bmM='),[base64_decode('ZXhjbHVkZQ==')=>[base64_decode('LmdpdA=='),base64_decode('ZGVwbG95LnBocA=='),],base64_decode('ZXhjbHVkZS1maWxl')=>false,base64_decode('aW5jbHVkZQ==')=>[],base64_decode('aW5jbHVkZS1maWxl')=>false,base64_decode('ZmlsdGVy')=>[],base64_decode('ZmlsdGVyLWZpbGU=')=>false,base64_decode('ZmlsdGVyLXBlcmRpcg==')=>false,base64_decode('ZmxhZ3M=')=>base64_decode('cno='),base64_decode('b3B0aW9ucw==')=>[base64_decode('ZGVsZXRl')],base64_decode('dGltZW91dA==')=>300,]);jwzs1(base64_decode('cnN5bmNfc3Jj'),__DIR__);jwzs1(base64_decode('cnN5bmNfZGVzdA=='),base64_decode('e3tyZWxlYXNlX3BhdGh9fQ=='));jwzs1(base64_decode('cnN5bmNfZXhjbHVkZXM='),function(){$czjt2=gnwl0(base64_decode('cnN5bmM='));$gsqe3=$czjt2[base64_decode('ZXhjbHVkZQ==')];$qhzr4=$czjt2[base64_decode('ZXhjbHVkZS1maWxl')];$olnv5='';foreach($gsqe3 as $dgzl6){$olnv5.=base64_decode('IC0tZXhjbHVkZT0=').escapeshellarg($dgzl6);}if(!empty($qhzr4)&&file_exists($qhzr4)&&is_file($qhzr4)&&is_readable($qhzr4)){$olnv5.=base64_decode('IC0tZXhjbHVkZS1mcm9tPQ==').escapeshellarg($qhzr4);}return $olnv5;});jwzs1(base64_decode('cnN5bmNfaW5jbHVkZXM='),function(){$czjt2=gnwl0(base64_decode('cnN5bmM='));$hoky7=$czjt2[base64_decode('aW5jbHVkZQ==')];$qjfj8=$czjt2[base64_decode('aW5jbHVkZS1maWxl')];$ysmv9='';foreach($hoky7 as $iodoa){$ysmv9.=base64_decode('IC0taW5jbHVkZT0=').escapeshellarg($iodoa);}if(!empty($qjfj8)&&file_exists($qjfj8)&&is_file($qjfj8)&&is_readable($qjfj8)){$ysmv9.=base64_decode('IC0taW5jbHVkZS1mcm9tPQ==').escapeshellarg($qjfj8);}return $ysmv9;});jwzs1(base64_decode('cnN5bmNfZmlsdGVy'),function(){$czjt2=gnwl0(base64_decode('cnN5bmM='));$lwtgb=$czjt2[base64_decode('ZmlsdGVy')];$yhfbc=$czjt2[base64_decode('ZmlsdGVyLWZpbGU=')];$xxzxd=$czjt2[base64_decode('ZmlsdGVyLXBlcmRpcg==')];$omkxe='';foreach($lwtgb as $aqxrf){$omkxe.=" --filter='$aqxrf'";}if(!empty($yhfbc)){$omkxe.=" --filter='merge $yhfbc'";}if(!empty($xxzxd)){$omkxe.=" --filter='dir-merge $xxzxd'";}return $omkxe;});jwzs1(base64_decode('cnN5bmNfb3B0aW9ucw=='),function(){$czjt2=gnwl0(base64_decode('cnN5bmM='));$sjxg10=$czjt2[base64_decode('b3B0aW9ucw==')];$dmrj11=[];foreach($sjxg10 as $fbhi12){$dmrj11[]="--$fbhi12";}return implode(base64_decode('IA=='),$dmrj11);});wvgt13(base64_decode('V2FybXVwcyByZW1vdGUgUnN5bmMgdGFyZ2V0'));uqxk14(base64_decode('cnN5bmM6d2FybXVw'),function(){$czjt2=gnwl0(base64_decode('cnN5bmM='));$tlkk15=base64_decode('e3tjdXJyZW50X3BhdGh9fQ==');$tmjx16=base64_decode('e3tkZXBsb3lfcGF0aH19L3JlbGVhc2U=');if(ofhj17("[ -d $(echo $tlkk15) ]")){wgcv18("rsync -{$czjt2[base64_decode('ZmxhZ3M=')]} {{rsync_options}}{{rsync_excludes}}{{rsync_includes}}{{rsync_filter}} $tlkk15/ $tmjx16/");}else{wsmb19(base64_decode('PGNvbW1lbnQ+Tm8gd2F5IHRvIHdhcm11cCByc3luYy48L2NvbW1lbnQ+'));}});wvgt13(base64_decode('UnN5bmMgbG9jYWwtPnJlbW90ZQ=='));uqxk14(base64_decode('cnN5bmM='),function(){$czjt2=gnwl0(base64_decode('cnN5bmM='));$sjdo1a=gnwl0(base64_decode('cnN5bmNfc3Jj'));while(is_callable($sjdo1a)){$sjdo1a=$sjdo1a();}if(!trim($sjdo1a)){throw new \mrud1b(base64_decode('WW91IG5lZWQgdG8gc3BlY2lmeSBhIHNvdXJjZSBwYXRoLg=='));}$acha1c=gnwl0(base64_decode('cnN5bmNfZGVzdA=='));while(is_callable($acha1c)){$acha1c=$acha1c();}if(!trim($acha1c)){throw new \mrud1b(base64_decode('WW91IG5lZWQgdG8gc3BlY2lmeSBhIGRlc3RpbmF0aW9uIHBhdGgu'));}$geow1d=Context::gnwl0()->qpxu1e();if($geow1d instanceof Localhost){etbm1f("rsync -{$czjt2[base64_decode('ZmxhZ3M=')]} {{rsync_options}}{{rsync_includes}}{{rsync_excludes}}{{rsync_filter}} '$sjdo1a/' '$acha1c/'",$czjt2);return;}$icmb20=$geow1d->olib21();etbm1f("rsync -{$czjt2[base64_decode('ZmxhZ3M=')]} -e 'ssh $icmb20' {{rsync_options}}{{rsync_includes}}{{rsync_excludes}}{{rsync_filter}} '$sjdo1a/' '{$geow1d->jfmp22()}:$acha1c/'",$czjt2);});?>

Function Calls

None

Variables

None

Stats

MD5 f19979ed386e6dd71e75cdcc4f92f3cf
Eval Count 0
Decode Time 94 ms