Exploit databaseDownload repository ZIP
GH-8c7f0e4b0e998904a1d6f7dcd99e3e7d
d-xuan/cve-2024-52510
Sources for CVE-2024-52510
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files13
d-xuan/cve-2024-52510Revision 6c0d89756ae0
- ↑..Parent directory
- HMACWithSHA1AlgorithmIdentifier.php
- HMACWithSHA224AlgorithmIdentifier.php
- HMACWithSHA256AlgorithmIdentifier.php
- HMACWithSHA384AlgorithmIdentifier.php
- HMACWithSHA512AlgorithmIdentifier.php
- MD5AlgorithmIdentifier.php
- RFC4231HMACAlgorithmIdentifier.php
- SHA1AlgorithmIdentifier.php
- SHA224AlgorithmIdentifier.php
- SHA256AlgorithmIdentifier.php
- SHA2AlgorithmIdentifier.php
- SHA384AlgorithmIdentifier.php
- SHA512AlgorithmIdentifier.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
3rdparty/spomky-labs/pki-framework/src/CryptoTypes/AlgorithmIdentifier/Hash/SHA384AlgorithmIdentifier.php
PHP · 1,112 bytes<?php
declare(strict_types=1);
namespace SpomkyLabs\Pki\CryptoTypes\AlgorithmIdentifier\Hash;
use SpomkyLabs\Pki\ASN1\Type\UnspecifiedType;
use SpomkyLabs\Pki\CryptoTypes\AlgorithmIdentifier\SpecificAlgorithmIdentifier;
/**
* SHA-384 algorithm identifier.
*
* @see http://oid-info.com/get/2.16.840.1.101.3.4.2.2
* @see https://tools.ietf.org/html/rfc4055#section-2.1
* @see https://tools.ietf.org/html/rfc5754#section-2.3
*/
final class SHA384AlgorithmIdentifier extends SHA2AlgorithmIdentifier
{
private function __construct()
{
parent::__construct(self::OID_SHA384);
}
public static function create(): self
{
return new self();
}
/**
* @return self
*/
public static function fromASN1Params(?UnspecifiedType $params = null): SpecificAlgorithmIdentifier
{
$obj = new static();
// if parameters field is present, it must be null type
if (isset($params)) {
$obj->_params = $params->asNull();
}
return $obj;
}
public function name(): string
{
return 'sha384';
}
}