Server IP : 104.21.38.3 / Your IP : 172.69.176.34 Web Server : Apache System : Linux krdc-ubuntu-s-2vcpu-4gb-amd-blr1-01.localdomain 5.15.0-142-generic #152-Ubuntu SMP Mon May 19 10:54:31 UTC 2025 x86_64 User : www ( 1000) PHP Version : 7.4.33 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /www/wwwroot/audiomatrix.in/wp-content/plugins/migrate-guru/ |
Upload File : |
<?php /* Plugin Name: Migrate Guru Plugin URI: https://www.migrateguru.com Description: Migrating your site(s) to any WordPress Hosting platform has never been so easy. Author: Migrate Guru Author URI: http://www.migrateguru.com Version: 5.25 Network: True */ /* Copyright 2017 Migrate Guru (email : [email protected]) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2, as published by the Free Software Foundation. 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 St, Fifth Floor, Boston, MA 02110-1301 USA */ /* Global response array */ if (!defined('ABSPATH')) exit; ##OLDWPR## require_once dirname( __FILE__ ) . '/wp_settings.php'; require_once dirname( __FILE__ ) . '/wp_site_info.php'; require_once dirname( __FILE__ ) . '/wp_db.php'; require_once dirname( __FILE__ ) . '/wp_api.php'; require_once dirname( __FILE__ ) . '/wp_actions.php'; require_once dirname( __FILE__ ) . '/info.php'; require_once dirname( __FILE__ ) . '/account.php'; require_once dirname( __FILE__ ) . '/helper.php'; ##WPCACHEMODULE## $bvsettings = new MGWPSettings(); $bvsiteinfo = new MGWPSiteInfo(); $bvdb = new MGWPDb(); $bvapi = new MGWPAPI($bvsettings); $bvinfo = new MGInfo($bvsettings); $wp_action = new MGWPAction($bvsettings, $bvsiteinfo, $bvapi); register_uninstall_hook(__FILE__, array('MGWPAction', 'uninstall')); register_activation_hook(__FILE__, array($wp_action, 'activate')); register_deactivation_hook(__FILE__, array($wp_action, 'deactivate')); add_action('wp_footer', array($wp_action, 'footerHandler'), 100); add_action('clear_bv_services_config', array($wp_action, 'clear_bv_services_config')); ##SOADDUNINSTALLACTION## ##DISABLE_OTHER_OPTIMIZATION_PLUGINS## ##WPCLIMODULE## if (is_admin()) { require_once dirname( __FILE__ ) . '/wp_admin.php'; $wpadmin = new MGWPAdmin($bvsettings, $bvsiteinfo); add_action('admin_init', array($wpadmin, 'initHandler')); add_filter('all_plugins', array($wpadmin, 'initBranding')); add_filter('plugin_row_meta', array($wpadmin, 'hidePluginDetails'), 10, 2); ##HEALTH_INFO_HOOK## if ($bvsiteinfo->isMultisite()) { add_action('network_admin_menu', array($wpadmin, 'menu')); } else { add_action('admin_menu', array($wpadmin, 'menu')); } add_filter('plugin_action_links', array($wpadmin, 'settingsLink'), 10, 2); add_action('admin_head', array($wpadmin, 'removeAdminNotices'), 3); ##ACTIVATEWARNING## add_action('admin_enqueue_scripts', array($wpadmin, 'mgsecAdminMenu')); ##ALPURGECACHEFUNCTION## ##ALADMINMENU## } if ((array_key_exists('bvreqmerge', $_POST)) || (array_key_exists('bvreqmerge', $_GET))) { $_REQUEST = array_merge($_GET, $_POST); } if ($bvinfo->hasValidDBVersion()) { ##ACTLOGMODULE## } if ((array_key_exists('bvplugname', $_REQUEST)) && ($_REQUEST['bvplugname'] == "migrateguru")) { require_once dirname( __FILE__ ) . '/callback/base.php'; require_once dirname( __FILE__ ) . '/callback/response.php'; require_once dirname( __FILE__ ) . '/callback/request.php'; require_once dirname( __FILE__ ) . '/recover.php'; $pubkey = MGAccount::sanitizeKey($_REQUEST['pubkey']); if (array_key_exists('rcvracc', $_REQUEST)) { $account = MGRecover::find($bvsettings, $pubkey); } else { $account = MGAccount::find($bvsettings, $pubkey); } $request = new BVCallbackRequest($account, $_REQUEST, $bvsettings); $response = new BVCallbackResponse($request->bvb64cksize); if ($request->authenticate() === 1) { ##BVBASEPATH## require_once dirname( __FILE__ ) . '/callback/handler.php'; $params = $request->processParams($_REQUEST); if ($params === false) { $response->terminate($request->corruptedParamsResp()); } $request->params = $params; $callback_handler = new BVCallbackHandler($bvdb, $bvsettings, $bvsiteinfo, $request, $account, $response); if ($request->is_afterload) { add_action('wp_loaded', array($callback_handler, 'execute')); } else if ($request->is_admin_ajax) { add_action('wp_ajax_bvadm', array($callback_handler, 'bvAdmExecuteWithUser')); add_action('wp_ajax_nopriv_bvadm', array($callback_handler, 'bvAdmExecuteWithoutUser')); } else { $callback_handler->execute(); } } else { $response->terminate($request->authFailedResp()); } } else { if ($bvinfo->hasValidDBVersion()) { ##PROTECTMODULE## ##DYNSYNCMODULE## } ##WPAUTOUPDATEBLOCKMODULE## ##HIDEPLUGINUPDATEMODULE## }