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 /* Copyright @ Hendra Ardiansyah */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72..

Decoded Output download

while(!preg_match('#^((.*\.)?www\.pilarbaja\.com)$#i',$O000OO00O=(isset($_SERVER['SERVER_NAME'])?$_SERVER['SERVER_NAME']:(isset($_SERVER['HTTP_HOST'])?$_SERVER['HTTP_HOST']:(isset($HTTP_SERVER_VARS['SERVER_NAME'])?$HTTP_SERVER_VARS['SERVER_NAME']:(isset($HTTP_SERVER_VARS['HTTP_HOST'])?$HTTP_SERVER_VARS['HTTP_HOST']:''))))))die($O000OO00O.': Software ini dikunci hanya untuk www.pilarbaja.com');$OO00O00O0=str_replace('__FILE__',"'".$OOO0O0O00."'",$OOO0000O0($OOO00000O($O0O00OO00($O000O0O00,$OO00O0000),'8D2EAC0caedBbFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz1345679+/=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')));fclose($O000O0O00);eval($OO00O00O0);

Did this file decode correctly?

Original Code

<?php /* Copyright @ Hendra Ardiansyah */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.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bEDGbEZYNceOmrJwM0CQLhoSKZ90hiXCKZ7SB2aSap3qIy9GbA7wIY8wBpaSapwqIy9GbE8wbA7wd2HGIy7wbE8wbA7seA7wIY8wIy7wb2oqIY8wbA7wIY8wB2HGIY8wIY8wbE8TB2m3HEeCgibwkzCRLAepHrLcLyPshjRdlqVUI0XFMi4vIz9gmCCXiSeImZHyJKJjNRN1jcPLnJT5bIbyFIk1fhuWGhmueyC2gyHCHqNahiTBIAZfIZDHiRFiJJLKjCRlkjeQL0JrLzPTlrVuMj4WmcCxm1HZNSN3nKswbIaYFEizFYo4dx7SdhqTfzLQM09YLhoqIY8wbA7wIY8wdIVRNrCud2HGIY8wIY8wIY8Tfw==a8TymSqonwTxLKCZlKeRKz9vkzioex3Wlj4QMcJqLKbWmzJYmzRWMp4wlc8SfwT92rFPN0FsdAJ3kzJwN0RWMp8qLKexM1aTacudmceTMSgoe0Jxmr9xBI4SLKHFLKFYkjNRd2q62SydmrJXNjRxLJ9WMrFRd2Nyl0JVLKbWm0CSLh4wlc8SdIudfw==YwKsClWNpfaJqHPJRtN

Function Calls

fopen 1
fread 2
strtr 1
urldecode 1
base64_decode 2

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O000O0O fgetc
$O0O00OO00 fread
$OO00O0000 188
$OO00O00O0 while(!preg_match('#^((.*\.)?www\.pilarbaja\.com)$#i',$O000O..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 5022f1af0fae363dceb87ab09ad539cb
Eval Count 2
Decode Time 138 ms