Server IP : 104.21.38.3 / Your IP : 172.71.124.71 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 if (!defined('ABSPATH')) exit; if (!class_exists('MGInfo')) : class MGInfo { public $settings; public $config; public $plugname = 'migrateguru'; public $brandname = 'Migrate Guru'; public $badgeinfo = 'bvmgbadge'; public $ip_header_option = 'bvmgipheader'; public $brand_option = 'bvmgbrand'; public $version = '5.25'; public $webpage = 'https://www.migrateguru.com'; public $appurl = 'https://mg.blogvault.net'; public $slug = 'migrate-guru/migrateguru.php'; public $plug_redirect = 'bvmgredirect'; public $logo = '../img/migrateguru.png'; public $brand_icon = '/img/icon.png'; public $services_option_name = 'BVSERVICESOPTIONNAME'; public $author = 'Migrate Guru'; public $title = 'Migrate Guru'; const DB_VERSION = '4'; public function __construct($settings) { $this->settings = $settings; $this->config = $this->settings->getOption($this->services_option_name); } public function getCurrentDBVersion() { $bvconfig = $this->config; if ($bvconfig && array_key_exists('db_version', $bvconfig)) { return $bvconfig['db_version']; } return false; } public function hasValidDBVersion() { return MGInfo::DB_VERSION === $this->getCurrentDBVersion(); } public static function getRequestID() { if (!defined("BV_REQUEST_ID")) { define("BV_REQUEST_ID", uniqid(mt_rand())); } return BV_REQUEST_ID; } public function canSetCWBranding() { if (MGWPSiteInfo::isCWServer()) { $bot_protect_accounts = MGAccount::accountsByType($this->settings, 'botprotect'); if (sizeof($bot_protect_accounts) >= 1) return true; $bot_protect_accounts = MGAccount::accountsByPattern($this->settings, 'email', '/@cw_user\.com$/'); if (sizeof($bot_protect_accounts) >= 1) return true; } return false; } public function getBrandInfo() { return $this->settings->getOption($this->brand_option); } public function getBrandName() { $brand = $this->getBrandInfo(); if (is_array($brand) && array_key_exists('menuname', $brand)) { return $brand['menuname']; } return $this->brandname; } public function getBrandIcon() { $brand = $this->getBrandInfo(); if (is_array($brand) && array_key_exists('brand_icon', $brand)) { return $brand['brand_icon']; } return $this->brand_icon; } public function getWatchTime() { $time = $this->settings->getOption('bvwatchtime'); return ($time ? $time : 0); } public function appUrl() { if (defined('BV_APP_URL')) { return BV_APP_URL; } else { $brand = $this->getBrandInfo(); if (is_array($brand) && array_key_exists('appurl', $brand)) { return $brand['appurl']; } return $this->appurl; } } public function isActivePlugin() { $expiry_time = time() - (3 * 24 * 3600); return ($this->getWatchTime() > $expiry_time); } public function isValidEnvironment(){ $bvsiteinfo = new MGWPSiteInfo(); $bvconfig = $this->config; if (is_multisite()) { return true; } elseif ($bvconfig && array_key_exists("siteurl_scheme", $bvconfig)) { $siteurl = $bvsiteinfo->siteurl('', $bvconfig["siteurl_scheme"]); if (array_key_exists("abspath", $bvconfig) && array_key_exists("siteurl", $bvconfig) && !empty($siteurl)) { return ($bvconfig["abspath"] == ABSPATH && $bvconfig["siteurl"] == $siteurl); } } return true; } public function isProtectModuleEnabled() { return $this->isServiceActive("protect") && $this->isValidEnvironment(); } public function isDynSyncModuleEnabled() { if ($this->isServiceActive("dynsync")) { $dynconfig = $this->config['dynsync']; if (array_key_exists('dynplug', $dynconfig) && ($dynconfig['dynplug'] === $this->plugname)) { return true; } } return false; } public function isServiceActive($service) { $bvconfig = $this->config; if ($bvconfig && array_key_exists('services', $bvconfig)) { return in_array($service, $bvconfig['services']) && $this->isActivePlugin(); } return false; } public function isActivateRedirectSet() { return ($this->settings->getOption($this->plug_redirect) === 'yes') ? true : false; } public function isMalcare() { return $this->getBrandName() === 'MalCare'; } public function isBlogvault() { return $this->getBrandName() === 'BlogVault'; } public function info() { return array( "bvversion" => $this->version, "sha1" => "true", "plugname" => $this->plugname ); } } endif;