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 function buka_dir($getcwd){ if(is_readable($getcwd)){ $a = scandir("$..
Decoded Output download
<?php
function buka_dir($getcwd){
if(is_readable($getcwd)){
$a = scandir("$getcwd");
foreach($a as $aa){
if($aa == "." | $aa == ".."){
}elseif(is_dir("$getcwd/$aa")){
$buka_lagi = buka_dir("$getcwd/$aa");
}
else{
if(preg_match("/tmp_name/i", file_get_contents(addslashes("$getcwd/$aa")),$match)){
if($match[0]){
echo "[Disini] => $getcwd/$aa <br>";
}
}
}
}
}
else{
echo "Dir ngk Readable";
}
}
$coba = buka_dir($_SERVER['DOCUMENT_ROOT']);
echo $coba;
?>
Did this file decode correctly?
Original Code
<?php
function buka_dir($getcwd){
if(is_readable($getcwd)){
$a = scandir("$getcwd");
foreach($a as $aa){
if($aa == "." | $aa == ".."){
}elseif(is_dir("$getcwd/$aa")){
$buka_lagi = buka_dir("$getcwd/$aa");
}
else{
if(preg_match("/tmp_name/i", file_get_contents(addslashes("$getcwd/$aa")),$match)){
if($match[0]){
echo "[Disini] => $getcwd/$aa <br>";
}
}
}
}
}
else{
echo "Dir ngk Readable";
}
}
$coba = buka_dir($_SERVER['DOCUMENT_ROOT']);
echo $coba;
?>
Function Calls
buka_dir | 1 |
is_readable | 1 |
Stats
MD5 | 0d72c7ec30a8ddf397900cacbc6fb0e6 |
Eval Count | 0 |
Decode Time | 52 ms |