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

echo '';
include('../key.php');
array_map("anti_injection",$_POST);
array_map("anti_injection",$_GET);
$colname_Rs_alt = "-1";
if (isset($_GET['ids'])) {
$colname_Rs_alt = $_GET['ids'];
}
mysql_select_db($database_buttiformatura,$buttiformatura);
$query_RS_sit = sprintf("SELECT * FROM tab_situacao WHERE id_situacao = %s",GetSQLValueString($colname_Rs_alt,"int"));
$RS_sit = mysql_query($query_RS_sit,$buttiformatura) or die(mysql_error());
$row_RS_sit = mysql_fetch_assoc($RS_sit);
$totalRows_RS_sit = mysql_num_rows($RS_sit);
;echo '<!doctype html>
<html lang="pt-br">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Butti & Oliveira</title>

<link rel="stylesheet" href="../css/jquery.mobile-1.4.3.min.css">
<link href="../css/butti.min.css" rel="stylesheet" type="text/css">

<link rel="stylesheet" href="../css/jquery.mobile.datepicker.css">
	<script src="../js/jquery-1.10.2.min.js"></script>
    <script src="../js/jquery.mobile-1.4.3.min.js"></script>
    <script src="../js/jquery.ui.datepicker.js"></script>
    <script src="../js/jquery.mobile.datepicker.js"></script>
     <script src="js/action_situacao.js"></script>
    <script src="../js/jquery.mask.min.js"></script>
 
</head>

<body>
	<div data-role="page" id="aluno">
	<div data-role="header" data-theme="a">
   <div class="ui-grid-a">
    <div class="ui-block-a"><div style="height:50px;padding-right:2em;">
               <span><img src="../imagem/logo_butti.png"></span>
    </div></div>
    <div class="ui-block-b"><div style="height:50px;text-align:right;padding-right:1.5em;">
     <a href="../dologout.php" class="ui-btn-icon-right ui-btn ui-btn-inline ui-mini ui-corner-all ui-btn-icon-right ui-icon-forbidden">Sair</a>
    </div></div>
</div><!-- /grid-a -->
 
</div> <!-- /header -->
<div data-role="footer" class="ui-bar" data-theme="b">

 <div class="ui-grid-b ui-responsive">
    <div class="ui-block-a" style="text-align:left;">';echo  "Usurio: ".$_SESSION['MM_Username'] ."<br>Data: ".date('d-m-Y');;echo '</div>
    <div class="ui-block-b" style="text-align:center"><br>ALTERAR SITUAO</div>
    <div class="ui-block-c" style="text-align:right;">
    <a href="index.php?id=';echo 10;;echo '" class="ui-btn-icon-left ui-btn ui-btn-inline ui-mini ui-corner-all ui-btn-icon-left ui-icon-search">Pesquisar</a>
    <a href="#add-form" class="ui-btn-icon-right ui-btn ui-btn-inline ui-mini ui-corner-all ui-btn-icon-right ui-icon-grid">Menu</a>  </div>
</div>
</div>
		<div role="main" class="ui-content" id="page-content">
<!-- menu -->';include('menu.php');;echo '<!-- /menu -->

 <div data-role="content">
 
      <form id="my-altform" name="my-altform" class="ui-body ui-body-a ui-corner-all validate" method="post" style="z-index:10">
			<label><span class="teste">*</span>Situao</label>
               	<input type="text" name="des_situacao" id="des_situacao" value="';echo $row_RS_sit['des_situacao'];;echo '" required>             
                <input type="hidden" name="MM_update" value="form1" />
                <input type="hidden" name="id_situacao" id="id_situacao" value="';echo $row_RS_sit['id_situacao'];;echo '" />
                  <div class="ui-grid-b ui-responsive">
    <div class="ui-block-a"><a href="index.php?id=';echo $item['id_perfil'];;echo '" class="ui-shadow ui-btn ui-corner-all ui-btn-icon-left ui-icon-arrow-l" data-ajax="false" >VOLTAR</a></div>
    <div class="ui-block-b"><input type="button" data-icon="refresh" value="ATUALIZAR" onClick="refreshform()"></div>
    <div class="ui-block-c"><input type="button" id="Registeralt" data-icon="check" data-iconpos="right" value="GRAVAR DADOS" data-theme="b"></div>
</div>
                </form>
        </div>
  </div>
</div>
        
         <div data-role="footer" style="margin-top:20%">
		<h4></h4>
	</div><!-- /footer -->
	</div> <!-- /page -->
    
 </body> 

</html>
';
mysql_free_result($RS_sit);

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=0x1504;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE8wMDBPME8wMCwweDU3Zik7JE9PMDBPMDBPMD0kR0xPQkFMU1snT09PMDAwME8wJ10oJEdMT0JBTFNbJ09PTzAwMDAwTyddKCRHTE9CQUxTWydPME8wME9PMDAnXSgkTzAwME8wTzAwLDB4MWE4KSwndEE5NG5zMzJYUUViSGFXZDYvMVBxWWZPRkdTVERwenJ1aHk4SlUwNVZtb3dSdlorSU1pZU5La2pCTDdsZ2N4Qz0nLCdBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MDEyMzQ1Njc4OSsvJykpO2V2YWwoJE9PMDBPMDBPMCk7'));return;?>BpIQncdH4AdH4AdH4Kep2QrD0YIT3s8G1u5OKc31qMsOKg5b9X5XyBJPNcdHngIPetIbyX5Xy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U8TkLITjHcX5QmGkhNXyAkFfMKGPNy/KQAYJs1Xn/A/ncPXyAJFO/hbO/VGfKUd1QyX8Bgbk/mp8Ba98I+G3UkduNEX9tuX9tuX9tuX9tuX9tuX4I+G0ciTPBa9ytuX9tuX9tud9cJSOFx46VuX4I+G3UkduNEd9cJSOFx46VuX9tuX9tuXtNEX9tuX9tuX9tud3/mpyAJFO/hbOQ+T3qcX0G+Tj/UDyXuDj/LT3qcX0KhD0pmTyKNTjt7H8tUX8Ba9uJQd3uNd8I+S46x46VQd9cJSOFxd9nvb1t+G0c+p3YiX9NvduNE9PI+G3UkdytgX1NvX9cIFfpUX9NvduNEX9tuXtNEX4I+F0cJzPBu46Va98I+S2/vT4Ba9yDl46mvzOaMTsc0D0YUOjQUDjYRp9uJqUarDkUNEPR=A|SgSLX}a

Function Calls

fopen 1
fread 3
strtr 2
fclose 1
urldecode 1
str_replace 1
base64_decode 3

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O00OO00 fread
$OO00O0000 5380
$OO00O00O0 echo ''; include('../key.php'); array_map("anti_injection"..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 c814257dbbec3ca7d4b1b91cae8fe858
Eval Count 3
Decode Time 141 ms