SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > uipress-lite > admin > classes > Utils >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins/uipress-lite/admin/classes/Utils/

NameTypeSizeLast ModifiedActions
Ajax.php File 986 bytes May 13 2025 16:28:30.
Dates.php File 471 bytes May 13 2025 16:28:30.
Objects.php File 2281 bytes May 13 2025 16:28:30.
Posts.php File 4862 bytes May 13 2025 16:28:30.
Sanitize.php File 5438 bytes May 13 2025 16:28:30.
URL.php File 1610 bytes May 13 2025 16:28:30.
UserRoles.php File 5771 bytes May 13 2025 16:28:30.
Users.php File 3789 bytes May 13 2025 16:28:30.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins/uipress-lite/admin/classes/Utils//Ajax.php

<?php
namespace UipressLite\Classes\Utils;

!defined("ABSPATH") ? exit() : "";

class Ajax
{
  /**
   * Checks whether ajax is running as well as checking the security nonce
   *
   * @return Boolean
   * @since 3.2.13
   */
  public static function check_referer()
  {
    $doingAjax = defined("DOING_AJAX") && DOING_AJAX ? true : false;
    $referer = check_ajax_referer("uip-security-nonce", "security") > 0 ? true : false;
    $result = $doingAjax && $referer ? true : false;

    // Abort if not doing ajax or bad referer
    if (!$result) {
      $message = __("Unable to perform action", "uipress-lite");
      self::error($message);
    }
  }

  /**
   * Returns a new error to the application and kills the process
   *
   * @param string $message - the message to display
   * @return void
   * @since 3.2.13
   */
  public static function error(string $message)
  {
    $returndata["error"] = true;
    $returndata["message"] = $message;
    wp_send_json($returndata);
  }
}

SILENT KILLER Tool