Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /proc/thread-self/cwd/wp-content/plugins/uicore-framework/includes/studio/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/thread-self/cwd/wp-content/plugins/uicore-framework/includes/studio/class-common.php
<?php
namespace UiCore;

class Common {
  public static function init() {
    if (isset($_GET['uistudio_preview']) && $_GET['uistudio_preview'] === 'true') {
      add_action('wp_footer', [__CLASS__, 'add_scripts']);
    }
    add_action('admin_init', [__CLASS__, 'save_settings']);
  }

  public static function enqueue_scripts() {
    echo '<script>
    console.log("dada");
    </script>';
  }

  public static function save_settings() {
    if (isset($_POST['uicore_settings'])) {
      $new_settings = [];
      parse_str($_POST['uicore_settings'], $new_settings);
      Settings::update_settings($new_settings);
      if (isset($_GET['uistudio_preview']) && $_GET['uistudio_preview'] === 'true') {
        wp_redirect($_SERVER['HTTP_REFERER']);
        exit;
      }
    }
  }
}

Spamworldpro Mini