HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/goinggoinggreenfl/public_html/wp-content/plugins/migrate-guru/wp_cli.php
<?php
if (!defined('ABSPATH')) exit;
if (!class_exists('MGWPCli')) :

require_once dirname( __FILE__ ) . '/recover.php';

class MGWPCli {
  public $settings;
  public $siteinfo;
  public $bvinfo;
  public $bvapi;

  public function __construct($settings, $bvinfo, $bvsiteinfo, $bvapi) {
    $this->settings = $settings;
    $this->siteinfo = $bvsiteinfo;
    $this->bvinfo = $bvinfo;
    $this->bvapi = $bvapi;
  }

  public function get_connection_key() {
    WP_CLI::line($this->bvinfo->getConnectionKey());
  }

  public function refresh_connection_key() {
    MGRecover::refreshDefaultSecret($this->settings);
    WP_CLI::success('Key Refreshed Successfully.');
  }

}
endif;