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 <?php declare(strict_types=1);require_once $_SERVER[base64_decode('RE9DVU1FTlRfUk9PV..
Decoded Output download
<?php <?php declare(strict_types=1);require_once $_SERVER[base64_decode('RE9DVU1FTlRfUk9PVA==')].base64_decode('L2NsYXNzZXMvYXV0b2xvYWRlci5waHA=');use App\Payments\Paypal\PaypalHandler;use App\Payments\Paypal\Transactions;use App\Exceptionhandler\Errorlog;try{$p0=new f1;$l2=[base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('VHJhbnNhY3Rpb24gRmFpbGVkIQ==')];$_POST[base64_decode('cGF5cGFsX2NhcHR1cmVfcGF5bWVudHM=')]=1;$_POST[base64_decode('cGF5cGFsX3JlZmZlcmVuY2VfaWQ=')]=empty($_POST[base64_decode('cGF5cGFsX3JlZmZlcmVuY2VfaWQ=')])?base64_decode('MUhTNjI3Mzk0NzE3MjQyMUg='):$_POST[base64_decode('cGF5cGFsX3JlZmZlcmVuY2VfaWQ=')];if(isset($_POST[base64_decode('cGF5cGFsX2NhcHR1cmVfcGF5bWVudHM=')])){if(!isset($_POST[base64_decode('cGF5cGFsX3JlZmZlcmVuY2VfaWQ=')])){echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('UGF5bWVudCBpZCBjYW5ub3QgYmUgZW1wdHku')]);exit;}$w3=trim($_POST[base64_decode('cGF5cGFsX3JlZmZlcmVuY2VfaWQ=')]);$f4=$p0->l5($w3);if(empty($f4)){echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('VW5hYmxlIHRvIHByb2Nlc3MgeW91ciBwYXltZW50Lg==')]);exit;}$w6=json_decode($f4);if(empty($w6->$h7)){$o8=new s9();$o8->aa($f4,base64_decode('cGF5cGFsLWZ1bmQtcHJvY2Vzc2luZy1lcnJvcg=='));unset($o8);echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('RXJyb3Igb2NjdXJlZCBkdXJpbmcgbW9uZXkgdHJhbnNmZXIu')]);exit;}$jb=$p0->ac($w6->$h7);unset($p0);if(empty($jb)){echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('Q291bGRuJ3QgdmVyaWZ5aW5nIHlvdXIgcGF5bWVudCBzdGF0dXMuIENvbnRhY3Qgc2VsbGVyLg==')]);exit;}$od=json_decode($jb);if(empty($od->$ee)){$o8=new s9();$o8->aa($jb,base64_decode('UEFZUEFMX1BBWU1FTlRfUkVTUE9OU0VfRVJST1I='));unset($o8);if(!empty($od->$pf)&&$od->$pf===base64_decode('SU5TVFJVTUVOVF9ERUNMSU5FRA==')){echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('UGF5bWVudCBzb3VyY2UgZGVjbGluZWQ=')]);exit;}else if(!empty($od->$s10)){echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>$od->$s10]);exit;}else{echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('TW9uZXkgdHJhbnNmZXIgd2FzIG5vdCBzdWNjZXNzZnVsbHku')]);exit;}}$d11=empty($od->$b12)?strtotime(date(base64_decode('WS1tLWQgSDppOnM='))):strtotime($od->$b12);$n13=date(base64_decode('WS1tLWQgSDppOnM='),$d11);$s14=$od->$h7;$q15=$od->$ee;$s16=$od->$m17;if(!empty($od->$j18[0])){$t19=$od->$j18[0];$q1a=$t19->$l1b;$j1c=$t19->$f1d;$o1e=NULL;if(!empty($q1a)){$z1f=json_decode($q1a);$o1e=base64_decode($z1f->$t20);$x21=$z1f->$v22;}if(!empty($t19->$y23)){$c24=$b25=$t19->$y23->$i26;$t27=$k28=$t19->$y23->$v29;}if(!empty($t19->$f2a->$b2b[0])){$p2c=$t19->$f2a->$b2b[0];$g2d=$p2c->$h7;$w2e=$p2c->$m17;}if(!empty($t19->$q2f)){$f30=$t19->$q2f;$d31=$f30->$o32;$i33=$f30->$a34;}}$q35='';if(!empty($od->$c36)){foreach($od->$c36 as $t37=>$c38){$q35=$t37;}}if(!empty($od->$p39)){$w3a=$od->$p39;$y3b=$w3a->$a3c;$p3d=$w3a->$k3e;$u3f=!empty($p3d->$p40)?$p3d->$p40:'';$x41=!empty($p3d->$i42)?$p3d->$i42:'';$g43=trim($u3f.base64_decode('IA==').$x41);$g43=filter_var($g43,FILTER_SANITIZE_STRING,FILTER_FLAG_STRIP_HIGH);$a44=$w3a->$o32;$s45=$w3a->$p46;$i47=!empty($s45->$l48)?$s45->$l48:'';}$o49=base64_decode('YHNlcnZpY2VfZGVzY3JpcHRpb25gID0gPyxgcGF5ZXJfaWRgID0gPyAsIGBwYXllcl9uYW1lYCA9ID8gLCBgcGF5ZXJfZW1haWxgID0gPyAsIGBwYXllcl9jb3VudHJ5YCA9ID8gLCBgbWVyY2hhbnRfaWRgID0gPyAsIGBtZXJjaGFudF9lbWFpbGAgPSA/ICwgYHBheXBhbF9yZWZmZXJlbmNlX2lkYCA9ID8gLGBwYXltZW50X2lkYCA9ID8sIGBwYWlkX2Ftb3VudGAgPSA/LCBgcGFpZF9hbW91bnRfY3VycmVuY3lgID0gPywgYHBheW1lbnRfc291cmNlYCA9ID8sIGBwYXltZW50X3N0YXR1c2AgPSA/LCBgY3JlYXRlZGAgPSA/LCBgbW9kaWZpZWRgID0gTk9XKCksIGBwYXltZW50X2NvbXBsZXRlYCA9ID8=');$y4a=base64_decode('V0hFUkUgYHNlcnZpY2VfaWRgID0gPyA=');$e4b=base64_decode('c3Nzc3Nzc3NzZHNzc3NpaQ==');if(!empty($s14)&&$s16==base64_decode('Q09NUExFVEVE')&&$w2e==base64_decode('Q09NUExFVEVE')){$g4c=true;$d4d=[$j1c,$y3b,$g43,$a44,$i47,$i33,$d31,$s14,$g2d,$k28,$b25,$q35,$w2e,$n13,$g4c,$o1e];$x4e=new i4f($o49,$y4a,$e4b,$d4d);$l2=$x4e->v50();unset($x4e);if($l2>0){$a51=base64_encode($o1e);echo json_encode([base64_decode('c3RhdHVz')=>true,base64_decode('cGFpZA==')=>1,base64_decode('bXNn')=>base64_decode('UGF5bWVudCBoYXMgYmVlbiBzdWNjZXNzZnVsbHkgY29tcGxldGVkIQ=='),base64_decode('cmVmX2lk')=>$a51]);exit;}else{$a51=base64_encode($s14);echo json_encode([base64_decode('c3RhdHVz')=>true,base64_decode('cGFpZA==')=>1,base64_decode('bXNn')=>base64_decode('UGF5bWVudCBoYXMgYmVlbiBzdWNjZXNzZnVsbHkgY29tcGxldGVkIQ=='),base64_decode('cmVmX2lk')=>$a51]);exit;}}else{$g4c=false;$d4d=[$j1c,$y3b,$g43,$a44,$i47,$i33,$d31,$s14,$g2d,$k28,$b25,$q35,$w2e,$n13,$g4c,$o1e];$x4e=new i4f($o49,$y4a,$e4b,$d4d);$l2=$x4e->v50();unset($x4e);if($l2>0){$a51=base64_encode($o1e);echo json_encode([base64_decode('c3RhdHVz')=>true,base64_decode('cGFpZA==')=>0,base64_decode('bXNn')=>base64_decode('UGF5bWVudCBub3QgY29tcGxldGUgaW4gcGF5cGFsIQ=='),base64_decode('cmVmX2lk')=>$a51]);exit;}else{$a51=base64_encode($s14);echo json_encode([base64_decode('c3RhdHVz')=>true,base64_decode('cGFpZA==')=>0,base64_decode('bXNn')=>base64_decode('UGF5bWVudCBub3QgY29tcGxldGUgaW4gcGF5cGFsIQ=='),base64_decode('cmVmX2lk')=>$a51]);exit;}}}else{echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('VHJhbnNhY3Rpb24gRmFpbGVkISBObyBQT1NUIHZhbHVlLg==')]);exit;}}catch(\Throwable $i52){$o8=new s9();$o8->aa($i52,base64_decode('VEVDSE5JQ0FMX1BBWVBBTF9QQVlNRU5UX0VSUk9S'));unset($o8);echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('RXJyb3Igb2NjdXJlZCBkdXJpbmcgcGF5bWVudA==')]);exit;}?>
Did this file decode correctly?
Original Code
<?php <?php declare(strict_types=1);require_once $_SERVER[base64_decode('RE9DVU1FTlRfUk9PVA==')].base64_decode('L2NsYXNzZXMvYXV0b2xvYWRlci5waHA=');use App\Payments\Paypal\PaypalHandler;use App\Payments\Paypal\Transactions;use App\Exceptionhandler\Errorlog;try{$p0=new f1;$l2=[base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('VHJhbnNhY3Rpb24gRmFpbGVkIQ==')];$_POST[base64_decode('cGF5cGFsX2NhcHR1cmVfcGF5bWVudHM=')]=1;$_POST[base64_decode('cGF5cGFsX3JlZmZlcmVuY2VfaWQ=')]=empty($_POST[base64_decode('cGF5cGFsX3JlZmZlcmVuY2VfaWQ=')])?base64_decode('MUhTNjI3Mzk0NzE3MjQyMUg='):$_POST[base64_decode('cGF5cGFsX3JlZmZlcmVuY2VfaWQ=')];if(isset($_POST[base64_decode('cGF5cGFsX2NhcHR1cmVfcGF5bWVudHM=')])){if(!isset($_POST[base64_decode('cGF5cGFsX3JlZmZlcmVuY2VfaWQ=')])){echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('UGF5bWVudCBpZCBjYW5ub3QgYmUgZW1wdHku')]);exit;}$w3=trim($_POST[base64_decode('cGF5cGFsX3JlZmZlcmVuY2VfaWQ=')]);$f4=$p0->l5($w3);if(empty($f4)){echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('VW5hYmxlIHRvIHByb2Nlc3MgeW91ciBwYXltZW50Lg==')]);exit;}$w6=json_decode($f4);if(empty($w6->$h7)){$o8=new s9();$o8->aa($f4,base64_decode('cGF5cGFsLWZ1bmQtcHJvY2Vzc2luZy1lcnJvcg=='));unset($o8);echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('RXJyb3Igb2NjdXJlZCBkdXJpbmcgbW9uZXkgdHJhbnNmZXIu')]);exit;}$jb=$p0->ac($w6->$h7);unset($p0);if(empty($jb)){echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('Q291bGRuJ3QgdmVyaWZ5aW5nIHlvdXIgcGF5bWVudCBzdGF0dXMuIENvbnRhY3Qgc2VsbGVyLg==')]);exit;}$od=json_decode($jb);if(empty($od->$ee)){$o8=new s9();$o8->aa($jb,base64_decode('UEFZUEFMX1BBWU1FTlRfUkVTUE9OU0VfRVJST1I='));unset($o8);if(!empty($od->$pf)&&$od->$pf===base64_decode('SU5TVFJVTUVOVF9ERUNMSU5FRA==')){echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('UGF5bWVudCBzb3VyY2UgZGVjbGluZWQ=')]);exit;}else if(!empty($od->$s10)){echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>$od->$s10]);exit;}else{echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('TW9uZXkgdHJhbnNmZXIgd2FzIG5vdCBzdWNjZXNzZnVsbHku')]);exit;}}$d11=empty($od->$b12)?strtotime(date(base64_decode('WS1tLWQgSDppOnM='))):strtotime($od->$b12);$n13=date(base64_decode('WS1tLWQgSDppOnM='),$d11);$s14=$od->$h7;$q15=$od->$ee;$s16=$od->$m17;if(!empty($od->$j18[0])){$t19=$od->$j18[0];$q1a=$t19->$l1b;$j1c=$t19->$f1d;$o1e=NULL;if(!empty($q1a)){$z1f=json_decode($q1a);$o1e=base64_decode($z1f->$t20);$x21=$z1f->$v22;}if(!empty($t19->$y23)){$c24=$b25=$t19->$y23->$i26;$t27=$k28=$t19->$y23->$v29;}if(!empty($t19->$f2a->$b2b[0])){$p2c=$t19->$f2a->$b2b[0];$g2d=$p2c->$h7;$w2e=$p2c->$m17;}if(!empty($t19->$q2f)){$f30=$t19->$q2f;$d31=$f30->$o32;$i33=$f30->$a34;}}$q35='';if(!empty($od->$c36)){foreach($od->$c36 as $t37=>$c38){$q35=$t37;}}if(!empty($od->$p39)){$w3a=$od->$p39;$y3b=$w3a->$a3c;$p3d=$w3a->$k3e;$u3f=!empty($p3d->$p40)?$p3d->$p40:'';$x41=!empty($p3d->$i42)?$p3d->$i42:'';$g43=trim($u3f.base64_decode('IA==').$x41);$g43=filter_var($g43,FILTER_SANITIZE_STRING,FILTER_FLAG_STRIP_HIGH);$a44=$w3a->$o32;$s45=$w3a->$p46;$i47=!empty($s45->$l48)?$s45->$l48:'';}$o49=base64_decode('YHNlcnZpY2VfZGVzY3JpcHRpb25gID0gPyxgcGF5ZXJfaWRgID0gPyAsIGBwYXllcl9uYW1lYCA9ID8gLCBgcGF5ZXJfZW1haWxgID0gPyAsIGBwYXllcl9jb3VudHJ5YCA9ID8gLCBgbWVyY2hhbnRfaWRgID0gPyAsIGBtZXJjaGFudF9lbWFpbGAgPSA/ICwgYHBheXBhbF9yZWZmZXJlbmNlX2lkYCA9ID8gLGBwYXltZW50X2lkYCA9ID8sIGBwYWlkX2Ftb3VudGAgPSA/LCBgcGFpZF9hbW91bnRfY3VycmVuY3lgID0gPywgYHBheW1lbnRfc291cmNlYCA9ID8sIGBwYXltZW50X3N0YXR1c2AgPSA/LCBgY3JlYXRlZGAgPSA/LCBgbW9kaWZpZWRgID0gTk9XKCksIGBwYXltZW50X2NvbXBsZXRlYCA9ID8=');$y4a=base64_decode('V0hFUkUgYHNlcnZpY2VfaWRgID0gPyA=');$e4b=base64_decode('c3Nzc3Nzc3NzZHNzc3NpaQ==');if(!empty($s14)&&$s16==base64_decode('Q09NUExFVEVE')&&$w2e==base64_decode('Q09NUExFVEVE')){$g4c=true;$d4d=[$j1c,$y3b,$g43,$a44,$i47,$i33,$d31,$s14,$g2d,$k28,$b25,$q35,$w2e,$n13,$g4c,$o1e];$x4e=new i4f($o49,$y4a,$e4b,$d4d);$l2=$x4e->v50();unset($x4e);if($l2>0){$a51=base64_encode($o1e);echo json_encode([base64_decode('c3RhdHVz')=>true,base64_decode('cGFpZA==')=>1,base64_decode('bXNn')=>base64_decode('UGF5bWVudCBoYXMgYmVlbiBzdWNjZXNzZnVsbHkgY29tcGxldGVkIQ=='),base64_decode('cmVmX2lk')=>$a51]);exit;}else{$a51=base64_encode($s14);echo json_encode([base64_decode('c3RhdHVz')=>true,base64_decode('cGFpZA==')=>1,base64_decode('bXNn')=>base64_decode('UGF5bWVudCBoYXMgYmVlbiBzdWNjZXNzZnVsbHkgY29tcGxldGVkIQ=='),base64_decode('cmVmX2lk')=>$a51]);exit;}}else{$g4c=false;$d4d=[$j1c,$y3b,$g43,$a44,$i47,$i33,$d31,$s14,$g2d,$k28,$b25,$q35,$w2e,$n13,$g4c,$o1e];$x4e=new i4f($o49,$y4a,$e4b,$d4d);$l2=$x4e->v50();unset($x4e);if($l2>0){$a51=base64_encode($o1e);echo json_encode([base64_decode('c3RhdHVz')=>true,base64_decode('cGFpZA==')=>0,base64_decode('bXNn')=>base64_decode('UGF5bWVudCBub3QgY29tcGxldGUgaW4gcGF5cGFsIQ=='),base64_decode('cmVmX2lk')=>$a51]);exit;}else{$a51=base64_encode($s14);echo json_encode([base64_decode('c3RhdHVz')=>true,base64_decode('cGFpZA==')=>0,base64_decode('bXNn')=>base64_decode('UGF5bWVudCBub3QgY29tcGxldGUgaW4gcGF5cGFsIQ=='),base64_decode('cmVmX2lk')=>$a51]);exit;}}}else{echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('VHJhbnNhY3Rpb24gRmFpbGVkISBObyBQT1NUIHZhbHVlLg==')]);exit;}}catch(\Throwable $i52){$o8=new s9();$o8->aa($i52,base64_decode('VEVDSE5JQ0FMX1BBWVBBTF9QQVlNRU5UX0VSUk9S'));unset($o8);echo json_encode([base64_decode('c3RhdHVz')=>false,base64_decode('ZXJyb3I=')=>base64_decode('RXJyb3Igb2NjdXJlZCBkdXJpbmcgcGF5bWVudA==')]);exit;}?>
Function Calls
None |
Stats
MD5 | 7c3332f31a7dbd60d150a3892c6efd4d |
Eval Count | 0 |
Decode Time | 50 ms |