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 // Este archivo es protegido por la ley del derechos de propiedad literaria. La ing..

Decoded Output download

?>
<?php
///////ESTE PROGRAMA ES ORIGINAL HAY UNA COPIA EN MENTES01201A 
session_start();
$a="Listar Indices de terceros";
include ("/Z1/htdocs/sh2/pro/adm/mencon005/mencon005.php");
include("/Z1/htdocs/sh2/fun/todo/permisos.php");
if (($admcinco[5]=="S")and($adm1[4]=="S")and($adm[3]=="S"))
{
include ("/Z1/htdocs/sh2/fun/todo/conexion.php");
include ("/Z1/htdocs/sh2/fun/todo/color.php");
?>
<style>
tbody tr:nth-child(even){
background-color: #DBE1EB;
}
.trselected {
    background: #FDCBCB;
    color: black;
}
.impar {
    background: #CCCCCC;
}

</style>
<script language="javascript">function doSearch() {
                var tableReg = document.getElementById('datos1');
                var searchText = document.getElementById('searchTerm').value.toLowerCase();
                for (var i = 1; i < tableReg.rows.length; i++) {
                    var cellsOfRow = tableReg.rows[i].getElementsByTagName('td');
                    var found = false;
                    for (var j = 0; j < cellsOfRow.length && !found; j++) {
                        var compareWith = cellsOfRow[j].innerHTML.toLowerCase();
                        if (searchText.length == 0 || (compareWith.indexOf(searchText) > -1)) {
                            found = true;
                        }
                    }
                    if (found) {
                        tableReg.rows[i].style.display = '';
                    } else {
                        tableReg.rows[i].style.display = 'none';
                    }
                }
            }

</script>
<form method="post" action="excel.php">
<?php
include ("/Z1/htdocs/sh2/fun/todo/boton6.php");	
?>
<p>
  </p>
<center>
  <p>&nbsp;</p>
<?php
$q="LISTAR INDICES DE TERCEROS";
include ("/Z1/htdocs/sh2/fun/todo/titulonegro.php");	
?> 
<p><span class="sombra">Busqueda</span>        
    <input class="textbox1" id="searchTerm" type="text" onkeyup="doSearch()" /></p>
<p><a class ="Estilo30" href="mencon00506ai.php"> REGRESAR</a></p>
<table onclick = 'onclick(e)' style='cursor:pointer' id="datos1" width="600" border="1">
<tr bgcolor="grey">
<th align="center"><strong>NIT</strong></th>
<th align="center"><strong>RAZON</strong></th>
<th align="center"><strong>DIRECCION</strong></th>
<th align="center"><strong>CIUDAD</strong></th>
<th align="center"><strong>DEP</strong></th>
<th align="center"><strong>MUN</strong></th>
</tr>
<?php
$wlab11a="maecon4b";
$tabla14b=($wlab11a."01"."01"."01");
    
$result4 = mysql_query("SELECT * FROM $tabla14b order by tbnit42b")or die ("<br><br><br><div align='center'><font color='#FF0000'><b>Error cuando se va a conectar a $tabla14b, por favor verificar datos</b><br><br></font><a href='javascript:history.back()' class='Estilo30'>REGRESAR</a></div>");  

while ($row4 = mysql_fetch_row($result4)){   

$nit=ltrim($row4[0],"0");


?>  
<tr onclick="myFunction(this)">
<td><strong><?php echo $nit; ?></strong></td>
<td><strong><?php echo $row4[2]; ?></strong></td>
<td><strong><?php echo $row4[6]; ?></strong></td>
<td><strong><?php echo $row4[8]; ?></strong></td>
<td><strong><?php echo $row4[9]; ?></strong></td>
<td><strong><?php echo $row4[10]; ?></strong></td>
</tr>
<?php
}
mysql_free_result($result4);
mysql_close($link);
?>
</table>
</center>
<script>
function myFunction(x) {
 
/*Comprueba si existe un elemento con el class="trselected". El
metodo getElementsByClassName devuelve un array con todos
los elementos que llevan el estilo que le pases como parametro.*/
 
if (document.getElementsByClassName("trselected").length > 0) {
	var element = document.getElementsByClassName("trselected");
 
        /*Como solo hay uno, me quedo con el primer elemento del 
         array.*/
	if (element[0].id%2 != 0) element[0].className = "impar";
	else element[0].className = "";
}
x.className="trselected";
}
</script>
</form>
<?php
}  
else
{
include("/Z1/htdocs/sh2/fun/todo/errorp.php");
}
?>
<?

Did this file decode correctly?

Original Code

<?php
// Este archivo es protegido por la ley del derechos de propiedad literaria. La ingenieria inversa de este codigo se prohibe estrictamente.
eval(gzinflate(base64_decode('
pVd7b9pIEP87SPkO022umD4wpGl112BHhDgtUh4V
UJ2uURSt7QXcGK+7uyZBbb77za6xcRpCLzpHgWV3
ZvY37/GBW+scpNN0u2bnjzccefB5cP5x0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yh3AQy8jwNv2B10bFrIMNGC9wRxFFzr4FguLdao
g4kcpx5kQmJzSHmkrV43iPPqS+AmCtXUIe9beLHP
RciEQ9rG20qAPzFtxSETwRb55hRoHE0wNHIXEjSk
EjyZuGf9kW4kZt2x1XQz9aD79fzsCfRH/YHX6/Wf
xNPrfznqHj3lEu/zE6hPvzwEYytRieGbmPrtNg5Q
M8rQl3u+jtsd7THa3vMdqyBoklabrD6Kwoq0gsks
Vnvo19lCfo+vMDrFwiJD78TrjeAlHA/OT6GUCMZ/
4OO44SeR2tv1SQN7RRjpLOn4wi3/w2i+VKueq1V3
sQwkKh8jnPrz4+MWPrjru54QKCTIcJ7i2JWxWwBG
LeZVoIdCurr+NaRIOKZz/JwzEY2jAAlMoHVsf3W5
rW/SoW8Cvb4aMT5McdDkYtHUw4qF8ZvnWr1Ijbp7
PwFQCxetpS21XbvB0Qr13MGqubLXmKlgeoVbVmHK
RuMH5Aw7aCInViKa5UwXrcvXpGWsr/+wUECeBcuM
QjcujpcjkKUQaiPPiLCMCON3YMGUgxa+DwduNULC
DeQGwO7lk1neP53lz6ez/PV0lnZrPc+9DMFWtPST
YOwq99DKU/vFaRBznDd24ii5Lsdr2xQ+syqbSafs
aeWoWnHZbd7R8S3pZQ/nDxwafAoyApz1pWKQJdiZ
zbjGdXTjj7LUl2M4aYIXIyqm+wvcG/B6mlaPePh6
NM9YPDcSqRDYsrU4zSG3a6hJeY0ETGeIYzan5jpm
wjzfZJDijCX1WMZxKVAw2rH50jYa6CFlzUhchWFV
YTeKCcyFlrHClh75ljjWj9ePy9o3EIreaIyJdQHr
BkxR1yzhr3GY0FqEpSFTTDImVvYNca8ylBgrGd22
tGZLMszHZhT+sQvPHI26shuUtnaAmLccXVi3zGD1
GBnJ33ZuV7v3HJufVqciW49FlVDV1UDfUH2JfHz2
YLpopuUb4Z2OWhT1Lw==
')));
?>	        

Function Calls

gzinflate 1
base64_decode 1

Variables

None

Stats

MD5 7c740d79d85d49027930f43753dd1871
Eval Count 1
Decode Time 55 ms