Exploit databaseDownload repository ZIP
GH-25ed919a3c63ff26fc49a3fe47dc7565
datackmy/fallingskies-cve-2023-35885
Sources for CVE-2023-35885
4 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files16
datackmy/fallingskies-cve-2023-35885Revision cb3449d9acca
- ↑..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/PhpSettings.php
PHP · 2,664 bytes<?php
namespace App\Site\Nginx\Vhost\Processor; class PhpSettings extends Processor { protected string $placeholder = "\173\173\160\x68\x70\x5f\x73\145\164\x74\x69\x6e\147\x73\175\175"; public function process(string $content) : string { goto b1fef; Bc829: f60cc: goto abebf; b323d: if (!(false === empty($additionalConfigurations))) { goto f60cc; } goto C3a38; ee83e: $configurationSettings["\x61\165\x74\x6f\x5f\160\x72\145\160\145\156\144\x5f\146\x69\154\145"] = $varnishControllerFile; goto bc694; Faf96: $errorLog = sprintf("\57\150\157\155\x65\57\x25\x73\x2f\154\157\x67\163\x2f\160\x68\160\57\145\x72\x72\157\162\x2e\154\157\147", $siteUser); goto B309d; F3abe: if (!(true === $varnishCache)) { goto b757b; } goto a34df; e5ed9: $configurationSettings = ["\x65\x72\162\x6f\x72\137\x6c\x6f\x67" => $errorLog, "\155\145\155\x6f\x72\x79\137\x6c\151\x6d\x69\x74" => $phpSettings->getMemoryLimit(), "\155\141\x78\137\x65\x78\x65\143\x75\164\151\x6f\156\x5f\x74\x69\x6d\x65" => $phpSettings->getMaxExecutionTime(), "\x6d\141\x78\x5f\x69\x6e\x70\165\x74\x5f\x74\151\155\x65" => $phpSettings->getMaxInputTime(), "\x6d\141\170\137\151\x6e\x70\165\x74\x5f\166\141\x72\x73" => $phpSettings->getMaxInputVars(), "\x70\x6f\x73\x74\137\x6d\x61\x78\x5f\163\151\x7a\145" => $phpSettings->getPostMaxSize(), "\x75\160\154\157\x61\144\137\x6d\141\170\137\x66\151\154\x65\163\151\172\x65" => $phpSettings->getUploadMaxFileSize()]; goto F3abe; Bf290: foreach ($configurationSettings as $key => $value) { $placeholderValue .= PHP_EOL . sprintf("\45\163\x3d\45\163\x3b", $key, $value); F64aa: } goto B2209; bc694: Db4f0: goto F2145; B309d: $varnishCache = $this->site->getVarnishCache(); goto e5ed9; B578d: $placeholderValue = ''; goto Bf290; b6363: $varnishControllerFile = sprintf("\57\x68\157\x6d\145\57\x25\x73\57\56\x76\141\162\x6e\151\x73\x68\x2d\143\141\143\150\145\57\x63\x6f\x6e\x74\162\157\154\154\145\162\56\160\150\160", $siteUser); goto ee83e; b1fef: $siteUser = $this->site->getUser(); goto a1b1b; f2c3a: if (!(true === isset($varnishCacheSettings["\145\156\141\142\x6c\x65\144"]) && true === $varnishCacheSettings["\145\x6e\141\x62\154\x65\144"])) { goto Db4f0; } goto b6363; a34df: $varnishCacheSettings = $this->site->getVarnishCacheSettings(); goto f2c3a; B2209: A00dc: goto E0ef8; abebf: $content = $this->replace($placeholderValue, $content); goto C02b7; F2145: b757b: goto B578d; E0ef8: $additionalConfigurations = $phpSettings->getAdditionalConfiguration(); goto b323d; a1b1b: $phpSettings = $this->site->getPhpSettings(); goto Faf96; C3a38: $placeholderValue .= PHP_EOL . $additionalConfigurations; goto Bc829; C02b7: return $content; goto D92a6; D92a6: } }