Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<form id="form1" name="form1" method="get" action=""> <label> <div align="center"> ..

Decoded Output download


<form id="form1" name="form1" method="get" action="">
  <label>
  <div align="center">
    <input name="dir" type="text" value="c:/" />
    <input type="submit" name="Submit" value="" />
  </div>
  </label>
</form><label>

<div align="center">code Author:<span class="STYLE1"><font color='red'> QQ:87074139</font></span></div>

<?php
header("content-Type: text/html; charset=gb2312");
function listDir($dir){
   if(is_dir($dir)){
     if ($dh = opendir($dir)) {
        while (($file= readdir($dh)) !== false){
		
       if((is_dir($dir."/".$file)) && $file!="." && $file!="..")
       {
	    if(is_writable($dir."/".$file)&&is_readable($dir."/".$file))
		{
		echo "<b><font color='red'></font></b>".$dir.$file."<font color='red'> </font><font color='Blue'> </font>"."<br><hr>";
		}else{
		if(is_writable($dir."/".$file))
		{
              echo "<b><font color='red'></font></b>".$dir.$file."<font color='red'> </font>"."<br><hr>";
		}else
		{
	      echo "<b><font color='red'></font></b>".$dir.$file."<font color='red'> </font><font color='Blue'> </font>"."<br><hr>";
		}
		}
		
		listDir($dir."/".$file."/");
       }
     
       }
        }
closedir($dh);

     }
 
   }

//
if(isset($_GET['dir']))
{
listDir($_GET['dir']);
}
?>

Did this file decode correctly?

Original Code


<form id="form1" name="form1" method="get" action="">
  <label>
  <div align="center">
    <input name="dir" type="text" value="c:/" />
    <input type="submit" name="Submit" value="" />
  </div>
  </label>
</form><label>

<div align="center">code Author:<span class="STYLE1"><font color='red'> QQ:87074139</font></span></div>

<?php
header("content-Type: text/html; charset=gb2312");
function listDir($dir){
   if(is_dir($dir)){
     if ($dh = opendir($dir)) {
        while (($file= readdir($dh)) !== false){
		
       if((is_dir($dir."/".$file)) && $file!="." && $file!="..")
       {
	    if(is_writable($dir."/".$file)&&is_readable($dir."/".$file))
		{
		echo "<b><font color='red'></font></b>".$dir.$file."<font color='red'> </font><font color='Blue'> </font>"."<br><hr>";
		}else{
		if(is_writable($dir."/".$file))
		{
              echo "<b><font color='red'></font></b>".$dir.$file."<font color='red'> </font>"."<br><hr>";
		}else
		{
	      echo "<b><font color='red'></font></b>".$dir.$file."<font color='red'> </font><font color='Blue'> </font>"."<br><hr>";
		}
		}
		
		listDir($dir."/".$file."/");
       }
     
       }
        }
closedir($dh);

     }
 
   }

//
if(isset($_GET['dir']))
{
listDir($_GET['dir']);
}
?>

Function Calls

header 1

Variables

None

Stats

MD5 c7a4ab71ba8f732a874db4fb3b920890
Eval Count 0
Decode Time 102 ms