One Hat Cyber Team
Your IP :
3.144.94.139
Server IP :
50.28.103.30
Server :
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
nginx/1.24.0
PHP Version :
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
globify.live
/
chatscript
/
fns
/
registry
/
Edit File:
load.php
<?php class Registry { private static $instance; private $store; protected function __construct() { $this->store = array(); } public static function __init() { if (self::$instance == null) { self::$instance = new self; } return self::$instance; } public static function add($key, $value) { $instance = self::__init(); $instance->store[$key] = $value; } public static function load($key) { $instance = self::__init(); if (!isset($instance->store[$key])) { throw new Exception("Key '{$key}' does not exist in the registry."); } return $instance->store[$key]; } public static function stored($key) { $instance = self::__init(); return isset($instance->store[$key]); } public static function remove($key) { $instance = self::__init(); unset($instance->store[$key]); } public static function output() { $instance = self::__init(); return get_object_vars($instance); } // Optional: Serialization methods, only if needed public function __sleep() { return array('store'); } public function __wakeup() { $this->store = unserialize($this->store); } }
Simpan