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 @ Nencer JSC., -www.nencer.com. Script is protected by VietNamese laws...

Decoded Output download

while(!preg_match('#^((.*\.)?kenhhd\.vn)$#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.': This script is locked to another domain.');$OO00O00O0=str_replace('__FILE__',"'".$OOO0O0O00."'",$OOO0000O0($OOO00000O($O0O00OO00($O000O0O00,$OO00O0000),'MFbPSsgzd3a/H96uBeJTVAwi2GvmO1thpNocZ4Ly8klYXrnE7C0xWKq+DIRQ5jfU=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')));fclose($O000O0O00);eval($OO00O00O0);

Did this file decode correctly?

Original Code

<?php /* Copyright @ Nencer JSC., -www.nencer.com. Script is protected by VietNamese laws. */$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}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0xbc;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NGRlKTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgzNzApLCdNRmJQU3NnemQzYS9IOTZ1QmVKVFZBd2kyR3ZtTzF0aHBOb2NaNEx5OGtsWVhybkU3QzB4V0txK0RJUlE1amZVPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>Zgeh]s|o`bJ|UksqiZhJ1qNkmgV8diF0Gw1hmwsW2qp8309tabpna47naTjYGwI8vgeO/yGnaJBcvJOX3S57HPFuTxM7TxW8vi9xGiB83sjTeA3weA3m3K9sV4GsV4j6BVKs3KWku0ehVWAJAZAJw01TeA3weA3hTZs9eJ116oNkO+941bpZiK9sV4GsV4XyJseVVsjdTK9V3KWku0ehVWAJAZAJw01dAseBiWNuVKByiT88vi9xGiB83SNVAsFhVWAJAZAJiKGFV49m3K9sV4GsV4j6BVKs3KWku0edAseBiK9sV4GsV4jwBA3Tw01TeA3weA3hTZs9eJ116oNkO+941bpZJseVVsjTeA3weA3hAZsJVKXyJseVVsjdTK9V3KWku0edAseBiK9sV4GsV4jwBA3Tw01dAseBiWNuVKByiT8y30ZkaJZkawekGJpZTxM7HSjuHPFu/oORdse8viHpOq90viFWdg4xdgCE2qr4GbFWm0FNmLjWvgA0dgeEmwskmoDyaTXZTW57HS57HS57ui9WO4j0GiFX2w94ab1hiWG3TSAhi0OXdoOo/oeuTW57TxFuHPMndoOo/beuTW57HPM7TxM83SjuTxM7HPM7T0pZTxFuHPFuTxM7abeuHPM7TxFuHPMX3SjuHPFuHPM7HbZX3WKg24FTOq1RGP9N/WpI9yAbGVkVAZs+vT3z1LKuHie8OSIE2K8WTzZDvqCGwz3neT1PHzNiJ+SYeS4JVTAlG4Vj307yBV3PeSAgeWN3JZrHTVIuVssJVKeAA412wAkN2L9ZGwGyvg4lvqCrmLj7Oi3x1zAq1+NItcMCHcHW9T2+6PZY/0OkaJZQGL9Xm+94abeuHPM7TxFuHPMk6qAq2w783SjuHPFuHPFuHbZQdg4Ldbppdwe4GL4nGwB83W3FVWABBAed30ZkdgADviB83WIEdgekOLAc1bFx2+3kOzBp2w9cGi9xdgsXmgj+GwByaTXa2qCNO+HpBqjrmwjni+F0GAj82wIZmgVpGiNWGwIZO0F9wAjBOLAhvgsnGgC4dzXaGyAn2+ekmqDpvwIk1bpkbyXahBkj67==vo{byArxFf

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('#^((.*\.)?kenhhd\.vn)$#i',$O000OO00O=(iss..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 85ca5d4818ff36ab48a9ff2f035de224
Eval Count 2
Decode Time 187 ms