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

Signing you up...

Thank you for signing up!

PHP Decode

eval(gzinflate(base64_decode("lVLBTuMwEL3nKwapUtIeEsplta2QIhUOSICQ4F4Ze9J4SWzLdugi6L+v7To0..

Decoded Output download



/**
 * Delete temp files and folders.
 *
 * @category   Phpdocx
 * @package    clean
 * @copyright  Copyright (c) Narcea Producciones Multimedia S.L.
 *             (http://www.2mdc.com)
 * @license    phpdocx LICENSE
 * @version    2017.09.11
 * @link       https://www.phpdocx.com
 */
class CleanTemp
{

    /**
     * Construct
     *
     * @access private
     */
    private function __construct()
    {
        
    }

    /**
     * Destruct
     *
     * @access public
     */
    public function __destruct()
    {
        
    }

    /**
     * Delete files and folders
     *
     * @param string $path To delete
     */
    public static function clean($path)
    {
        if (is_file($path)) {
            @unlink($path);
        }
        if (!$dh = @opendir($path)) {
            return;
        }
        while (($obj = readdir($dh))) {
            if ($obj == '.' || $obj == '..') {
                continue;
            }
            if (!@unlink($path . '/' . $obj)) {
                self::clean($path . '/' . $obj);
            }
        }

        closedir($dh);
        @rmdir($path);
    }

}

Did this file decode correctly?

Original Code

eval(gzinflate(base64_decode("lVLBTuMwEL3nKwapUtIeEsplta2QIhUOSICQ4F4Ze9J4SWzLdugi6L+v7To0aQFp59CkM2/eezOZJClmswRmcIUNWgSLrYKKN2iACAaVbBhqkzuEB5WUWNxI/QYAD7Vikv4NaUXoC9mgywJtkIg9Vqo3zTe1BVh9vmZ0CvdEUyTwoCXrKOVSOLG7rrG8RcYJPOa3Xg+GkdXWqkVRbLfb/KJlNKeynQaVhlMUJkirvSO4vVld3z9eh/Krc+8UfPnifP4rP/+dz+exUbxEdk9uInsk8QIOViS0IcbAyk/15HaTvCeJbwlb8zFzwwljdUdtTPT5klCKrldp/urWFtNFeMYcVJ2g1vtbr2lPk00D5D3phw8vuxPdK/xZtnt2uxmrhtRQlOH/aoYrOTmQYw+KaNKC4+ZiAxNFbA1PEljo/sqSscQOnYUrykLjsTNeQcbN2luIgOmg6qPshP+4sbr8rO1GHGcTVsMllFKhYFx/w6XRdlp8xbGtnQPIsol8/uN4NBIWaJgjOWbxenvcJaR5Ch8fcPibp8dwH+4cLBcdLkeV3Qnt2WhayCEtUvfr6U9s+DDYVIvFYL/jlu/k4ikEZ4002I96wJe6Paxx2d/PLvkH")));

Function Calls

gzinflate 1
base64_decode 1

Variables

None

Stats

MD5 f6ffd46b760d19487388799164f1e15f
Eval Count 1
Decode Time 84 ms