403Webshell
Server IP : 66.29.132.124  /  Your IP : 18.191.9.192
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/blog.diixadigital.com/wp-content/plugins/rubik-admin-panel/library/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/blog.diixadigital.com/wp-content/plugins/rubik-admin-panel/library/ajax_check.php
<?php
add_action('wp_ajax_nopriv_plugin_check', 'plugin_check');
add_action('wp_ajax_plugin_check', 'plugin_check');
if (!function_exists('plugin_check')) {
    function plugin_check()
    {        
        $pluginName      = isset( $_POST['plugin_name'] ) ? $_POST['plugin_name'] : null; 
        
        $current_plugins = get_plugins();
        $plugin_status = 'not-installed';
        foreach ($current_plugins as $plugin_path => $current_plugin) {
            if($current_plugin['Name'] != $pluginName) continue;
            if (is_plugin_active( $plugin_path)) {
                $plugin_status = 'plugin-active';
                $required_label = 'plugin-active';
            }elseif (isset($current_plugins[$plugin_path])) {
                $plugin_status = 'plugin-inactive';
            }
            break;
        }
        die(json_encode($plugin_status));
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit