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 /*********************/ /* Dezend for PHP5 */ /* NWS */ /* IonCu..

Decoded Output download

<?php 
/*********************/ 
/*  Dezend for PHP5  */ 
/*         NWS       */ 
/* IonCube 7 support */ 
/*        by:        */ 
/*      tokk250      */ 
/*********************/ 
 
set_time_limit( 0 ); 
define( "ROOT", "./" ); 
include_once( ROOT."config.php" ); 
include_once( ROOT.( "LibDir" )."/db.php" ); 
include_once( ROOT.( "LibDir" )."/files.php" ); 
( ( "MysqlHost" ), ( "MysqlUsername" ), ( "MysqlPassword" ), ( "MysqlDatabase" ) ); 
foreach ( $rows as $row ) 
{ 
    $fullFileName = ROOT.( "FilesDir" )."/".$row['Filename']; 
    echo "".$fullFileName." md5 is ".$md5."
"; 
    $row['FileUrl'] = str_replace( "&amp;", "&", $row['FileUrl'] ); 
    echo "".$row['FileUrl']." md5 is ".$md52."
"; 
    if ( function_exists( "finfo_open" ) ) 
    { 
        file_put_contents( ROOT.( "FilesDir" )."/test", $content2 ); 
        _obfuscate_DTMcJgU4Iik9GyQVDhcmFSwCHAgTOAE( $finfo ); 
        unlink( ROOT.( "FilesDir" )."/test" ); 
        if ( $info !== "application/octet-stream" && $info !== "application/x-dosexec" ) 
        { 
            echo "not application".( "
" ); 
            continue; 
        } 
    } 
    if ( $md5 == $md52 ) 
    { 
        echo "equal md5".( "
" ); 
        continue; 
    } 
    file_put_contents( $fullFileName, $content2 ); 
    echo "written".( "
" ); 
    ::update( $row['ID'], array( "LastUpdate" => time( ) ), "Files" ); 
    ->time->filesize( array( "FileID" => $fileID, "Date" => time( ), "Size" => filesize( $fullFileName ), "MD5" => $md52 ), "FileUpdates" ); 
} 
?> 

Did this file decode correctly?

Original Code

<?php
/*********************/
/*  Dezend for PHP5  */
/*         NWS       */
/* IonCube 7 support */
/*        by:        */
/*      tokk250      */
/*********************/

set_time_limit( 0 );
define( "ROOT", "./" );
include_once( ROOT."config.php" );
include_once( ROOT.( "LibDir" )."/db.php" );
include_once( ROOT.( "LibDir" )."/files.php" );
( ( "MysqlHost" ), ( "MysqlUsername" ), ( "MysqlPassword" ), ( "MysqlDatabase" ) );
foreach ( $rows as $row )
{
    $fullFileName = ROOT.( "FilesDir" )."/".$row['Filename'];
    echo "".$fullFileName." md5 is ".$md5."\n";
    $row['FileUrl'] = str_replace( "&amp;", "&", $row['FileUrl'] );
    echo "".$row['FileUrl']." md5 is ".$md52."\n";
    if ( function_exists( "finfo_open" ) )
    {
        file_put_contents( ROOT.( "FilesDir" )."/test", $content2 );
        _obfuscate_DTMcJgU4Iik9GyQVDhcmFSwCHAgTOAE( $finfo );
        unlink( ROOT.( "FilesDir" )."/test" );
        if ( $info !== "application/octet-stream" && $info !== "application/x-dosexec" )
        {
            echo "not application".( "\n" );
            continue;
        }
    }
    if ( $md5 == $md52 )
    {
        echo "equal md5".( "\n" );
        continue;
    }
    file_put_contents( $fullFileName, $content2 );
    echo "written".( "\n" );
    ::update( $row['ID'], array( "LastUpdate" => time( ) ), "Files" );
    ->time->filesize( array( "FileID" => $fileID, "Date" => time( ), "Size" => filesize( $fullFileName ), "MD5" => $md52 ), "FileUpdates" );
}
?>

Function Calls

None

Variables

None

Stats

MD5 60642944af05cd2b17355bcb11b292fa
Eval Count 0
Decode Time 73 ms