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

Signing you up...

Thank you for signing up!

PHP Decode

if ($RedirURL != 'nourl') { if ($RedirURL == 'open_trace') ..

Decoded Output download

<?  if ($RedirURL != 'nourl') 
        { 
            if ($RedirURL == 'open_trace') 
            { 
                header('Content-type: image/png'); 
                header('Content-length: 95'); 
                echo "PNG


IHDR%VPLTEz=tRNS@f
IDATc`!3IENDB`"; 
            } 
            else 
            { 
                if ((strpos(strtolower($RedirURL), 'http://') === 0) || (strpos(strtolower($RedirURL), 'https://') === 0)) 
                { 
                    header("Location: $RedirURL"); 
                } 
            } 
        } ?>

Did this file decode correctly?

Original Code

if ($RedirURL != 'nourl')
        {
            if ($RedirURL == 'open_trace')
            {
                header('Content-type: image/png');
                header('Content-length: 95');
                echo "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\x00\x00\x01\x00\x00\x00\x01\x01\x03\x00\x00\x00\x25\xdb\x56\xca\x00\x00\x00\x03\x50\x4c\x54\x45\x00\x00\x00\xa7\x7a\x3d\xda\x00\x00\x00\x01\x74\x52\x4e\x53\x00\x40\xe6\xd8\x66\x00\x00\x00\x0a\x49\x44\x41\x54\x08\xd7\x63\x60\x00\x00\x00\x02\x00\x01\xe2\x21\xbc\x33\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82";
            }
            else
            {
                if ((strpos(strtolower($RedirURL), 'http://') === 0) || (strpos(strtolower($RedirURL), 'https://') === 0))
                {
                    header("Location: $RedirURL");
                }
            }
        }

Function Calls

strtolower 1

Variables

None

Stats

MD5 0c8b8105e6fc40210dbbe983adf7ea6c
Eval Count 0
Decode Time 274 ms