Exploit databaseDownload repository ZIP
GH-7feacea856188eafd49a6762828c436f
chocapikk/cve-2023-35885
Sources for CVE-2023-35885
4 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files14
chocapikk/cve-2023-35885Revision 78ece7c3f53e
- ↑..Parent directory
- Generator/
- LetsEncrypt/
- Util/
- Certificate.php
- CertificateParser.php
- DataSigner.php
- DistinguishedName.php
- Key.php
- KeyParser.php
- LetsEncryptClient.php
- ParsedCertificate.php
- ParsedKey.php
- PrivateKey.php
- PublicKey.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/Site/Ssl/DataSigner.php
PHP · 637 bytes<?php
namespace App\Site\Ssl; class DataSigner { public function signData($data, PrivateKey $privateKey, $algorithm = OPENSSL_ALGO_SHA256) : ?string { goto D831f; Fde8d: if (openssl_sign($data, $signature, $resource, $algorithm)) { goto C3aad; } goto C7932; D831f: $resource = $privateKey->getResource(); goto Fde8d; C7932: throw new \Exception(sprintf("\117\x70\145\x6e\x53\x53\x4c\x20\144\x61\164\141\40\163\151\x67\156\x69\156\147\x20\146\141\x69\x6c\145\144\x20\167\x69\x74\x68\x20\145\x72\x72\157\x72\x3a\x20\45\x73", openssl_error_string())); goto a99c9; a99c9: C3aad: goto D6cbc; D6cbc: return $signature; goto F2f04; F2f04: } }