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 files16
chocapikk/cve-2023-35885Revision 78ece7c3f53e
- ↑..Parent directory
- NginxAccessLog.php
- NginxErrorLog.php
- NodejsAppPort.php
- PhpFpmPort.php
- PhpSettings.php
- Processor.php
- PythonAppPort.php
- RedirectDomain.php
- RedirectServerName.php
- ReverseProxyUrl.php
- RootDirectory.php
- ServerName.php
- Settings.php
- SslCertificate.php
- SslCertificateKey.php
- VarnishProxyPass.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/Site/Nginx/Vhost/Processor/RootDirectory.php
PHP · 651 bytes<?php
namespace App\Site\Nginx\Vhost\Processor; class RootDirectory extends Processor { protected string $placeholder = "\x7b\173\162\157\x6f\x74\x7d\175"; public function process(string $content) : string { goto f7960; F264d: $content = $this->replace($placeholderValue, $content); goto b5eb6; b5eb6: return $content; goto fa6ab; e0a44: $rootDirectory = $this->site->getRootDirectory(); goto Ac9e9; Ac9e9: $placeholderValue = rtrim(sprintf("\162\x6f\x6f\164\x20\57\x68\157\x6d\x65\57\45\163\57\150\x74\x64\157\143\163\57\x25\163\x3b", $siteUser, $rootDirectory), "\57"); goto F264d; f7960: $siteUser = $this->site->getUser(); goto e0a44; fa6ab: } }