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 /* This file is protected by copyright law and provided under license. Reverse engin..

Decoded Output download

while(!preg_match('#^((.*\.)?masasonline\.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.': This script is locked to another domain.');$OO00O00O0=str_replace('__FILE__',"'".$OOO0O0O00."'",$GLOBALS['OOO0000O0']($GLOBALS['OOO00000O']($GLOBALS['O0O00OO00']($O000O0O00,$OO00O0000),'wVNh4+d/orIeM8qWazLsuGZgD53QEXlnkjcyUF6xJ7vRbO9PipSYK02AHCfm1BtT=','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/')));fclose($O000O0O00);eval($OO00O00O0);

Did this file decode correctly?

Original Code

<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$GLOBALS['OOO0000O0']=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5}.$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$GLOBALS['OOO0000O0'].=$GLOBALS['OOO0000O0']{3}.$OOO000000{11}.$OOO000000{12}.$GLOBALS['OOO0000O0']{7}.$OOO000000{5};$GLOBALS['OOO000O00']=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$GLOBALS['O0O000O00']=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$GLOBALS['O0O000O00']=$O0O000O00.$OOO000000{3};$GLOBALS['O0O00OO00']=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$GLOBALS['OOO00000O']=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x160;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE8wMDBPME8wMCwweDU4Nik7JE9PMDBPMDBPMD0kR0xPQkFMU1snT09PMDAwME8wJ10oJEdMT0JBTFNbJ09PTzAwMDAwTyddKCRHTE9CQUxTWydPME8wME9PMDAnXSgkTzAwME8wTzAwLDB4M2E0KSwnd1ZOaDQrZC9vckllTThxV2F6THN1R1pnRDUzUUVYbG5ramN5VUY2eEo3dlJiTzlQaXBTWUswMkFIQ2ZtMUJ0VD0nLCdBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MDEyMzQ1Njc4OSsvJykpO2V2YWwoJE9PMDBPMDBPMCk7'));return;?>XOInqETrj|X2j7QduJogVS5ZXnQZ+KD2kJrS8lINk9IFi9IsBODg8jE2B9QdF95Gi9D2BOILay3LEbr41iMhVWsYwisYKJ3g8Y5gaJr+BszGrZzGrQr08+uF5+uFBqau0+r0K7WSznuKGLGUGLZSXszGrZzGrnsU+8zLXXqcj7EA8FXNkUg08+uF5+uFbxL+zuu+Bos08ur0K7WSznuKGLGUGLZSXoG+zagKjWu0axgsJJ3g8Y5gaJr4juG+VnuKGLGUGLg05VuF8Qr08+uF5+uFBqau0+r0K7WSzoG+zag08+uF5+uFBZaGrsZSXszGrZzGrnsU+8zLXXqcj7EA8FXNkUL+zuu+BszGrZzGrnGU+Lu0bxL+zuu+Bos08ur0K7WSzoG+zag08+uF5+uFBZaGrsZSXoG+zagKjWu0axgsJxrSU7ILU7IZz75LkUsYwiM4BWMhVWecEfo+zJ3gMkE28S3gVKodFYodpPD2OF5NVKQSVjQ6BK3dGSodzPQZ+7QcHxIsbUsK1iM41iM41iWg8KEFBS5gVbDZ8FINXngK5rs4GngSEbocEceczWsK1isYVWMhw9ocEceNz/s4BNaupsZSXWsK1iMhwisYwxgLkUzKpWaU+Mu0bxsKBWMhwiMhVWr0KJr4XMsKrVs+8QrK1isYwisK1iMNXXINzWMhwisYVWMhwbr4BWMhVWMhwiMNUbrAXZs6kKI2aPQArr5uKHEGXjlUpYXuX35Ka0M0++Zdp9327ylGGd8xjI8A5LDU1CudFiu0FeMhrVL486Qs+NX+aBrSixaurhz4GdzKjrLUOMsuCWu++Lu0zGGFXDZG7jD68U5Z5x3dFv32pOQ6BiEgrYX/G2XAjClywpMyMK8sDAqhUReSE7ILUm568bQA8FINzWMhwisYVWMhw7q2G2DZiJr4BWMhVWMhVWMNUmha7FExrPEFBS5gVPExz7Q6EJMNUmha7U5Z57Q6uJr05+uF8rsKHxeNEYeyw9McHirSUmha775cwJ3g8n56Fb5LkxecHP5grPEcCi3/wxILUkliKIE6GpXZFS5GBPQ68FINE9ecBFE6BSexVJENE7qiKInaKI3ZDkIN+U5Z57Q6GUINX4LGrnaGVas4FhaGzrsKHxILUkliKI3dGj5dGSINXMQ28jXdFPQyJk3ZCYXd+bQNB7Q6zFlNCi3/wxIsb8N6GH3gamha7Bha7S5g+03grFg2B9D2uJz4FLg085u0z+sLw9rA8KDgrKXgw9EdjirSUmha7YXd+SXNkxD2+KDZpP5SE7qi==Bo`Qa}uUJag_IIA_

Function Calls

fopen 1
fread 2
strtr 1
urldecode 1
base64_decode 2

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O00OO00 fread
$OO00O0000 352
$OO00O00O0 while(!preg_match('#^((.*\.)?masasonline\.com)$#i',$O000OO00..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 0d4fd0e4306432b14a47afee6dc03ae0
Eval Count 2
Decode Time 113 ms