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 & provided under license. Copyright(C) 20..

Decoded Output download

 
$dir = $_GET['dir'] ?$_GET['dir'] : 'visa';
if ((($_FILES["file"]["type"] == "image/gif") ||($_FILES["file"]["type"] == "image/jpeg") ||($_FILES["file"]["type"] == "image/pjpeg")) ||($_FILES["file"]["type"] == "image/jpg") )
{
if ($_FILES["file"]["error"] >0)
{
echo "Return Code: ".$_FILES["file"]["error"] ."<br />";
}
else
{
$houzui = explode('.',$_FILES["file"]["name"]);
if (file_exists("upload/".$dir."/images/".$_FILES["file"]["name"]))
{
echo $_FILES["file"]["name"] ." already exists. ";
}
else
{
move_uploaded_file($_FILES["file"]["tmp_name"],
"upload/".$dir."/images/".time().'.'.$houzui[1]);
}
$images_src = "upload/".$dir."/images/".time().'.'.$houzui[1];
}
}
;echo '<form id="O_UploadForm" method="post" enctype="multipart/form-data" action="">
	<input type="file" name="file" size="45" id="file" onchange="submit()"  />
	<div style="clear:both"></div>
	';echo $images_src ?"<img src='$images_src' width = '130' height = '100' style='margin-top:5px;' />": '';;echo '</form>

<script type="text/javascript" language="javascript">
	';if($images_src){;echo '		parent.document.getElementById(\'frm\').style.height = \'150px\';
		parent.document.getElementById(\'O_imgSrc\').value = \'';echo $images_src;;echo '\';
	
	';};echo '</script>



';

Did this file decode correctly?

Original Code

<?php // This file is protected by copyright law & provided under license. Copyright(C) 2005-2009 www.vidun.com, All rights reserved.
$OOO0O0O00=__FILE__;$OOO000000=urldecode('%74%68%36%73%62%65%68%71%6c%61%34%63%6f%5f%73%61%64%66%70%6e%72');$OO00O0000=1720;$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};$O0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WPkNolVFua0wuO5FoA9wMcpdoAJwo5idBA9wMcpdoAJwuYpGMA9wjW1wJnpce0JcMlScUwId25jDoyVc2A9wmY1CM1pftIpwJEIRz4YtIL8col2wuY0GBxlNUkjdoaiFjpJd3OPwj48R2Opfj4YtILmK2ajDo8IkolsCBflF19zFMHINZw8DB1mwuYZCz0mkolsCBflF19zFMHmwufpcuOPwe0IkzrzHtFIDoapc2i0we0IkzrXHtFIF3O5doA9k21iFMfpdJ10d3E6Ybn4KZFIRz4JKJEmkzS7cBYPdZEmNt9Md3ksNI0heWP8F2YZDbn0wuO5FoA9wmOlGuWvDMy2CbYjFMlXftwIdoyVc3aic2A9wMpifMyzC3kpFuWJNI0htUF7DBCPkolsCBflF19zFMHpGzslC2ivwtFktbniFMaVft5Ld2Y1dBaVft5mcbOydoascB50WmlkctiFk2cZdaXmhU5zfulScU5PcBlmDuWINUnFkzr1Hun4btF7eWPktbniFMaVft5Ld2Y1dBaVft5mcbOydoascB50WmlkctiFk09gDB1mA3kjbtFpRmcidualwe0IbtFmK2ajDo8IkolsCBflF19zFMH7K2ajDo8Ik1XmKX0htW0htUF7gTslC2ivwtF8R3YjFMlXfe4YtI0heWPYtJF7

Function Calls

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

Variables

$O0O0000O0 OOO0000O0
$OO00O0000 1720
$OO00O00O0 $dir = $_GET['dir'] ?$_GET['dir'] : 'visa'; if ((($_FILE..
$OO0OO0000 fopen
$OO0OO000O fread
$OO0OO00O0 strtr
$OOO000000 th6sbehqla4co_sadfpnr
$OOO0000O0 base64_decode
$OOO0O0O00 index.php

Stats

MD5 58648d848d7d19248c3acc126f06711e
Eval Count 3
Decode Time 279 ms