Exploit database

GH-25ed919a3c63ff26fc49a3fe47dc7565

datackmy/fallingskies-cve-2023-35885

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-35885

4 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files43
datackmy/fallingskies-cve-2023-35885Revision cb3449d9acca

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

src/Command/VhostTemplateViewCommand.php

PHP · 2,241 bytes
<?php
 namespace App\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; use App\Command\Command as BaseCommand; use App\Entity\Manager\VhostTemplateManager as VhostTemplateEntityManager; class VhostTemplateViewCommand extends BaseCommand { private VhostTemplateEntityManager $vhostTemplateEntityManager; public function __construct(VhostTemplateEntityManager $vhostTemplateEntityManager) { $this->vhostTemplateEntityManager = $vhostTemplateEntityManager; parent::__construct(); } protected function configure() : void { goto Beca4; b39b8: $this->addOption("\156\x61\155\145", null, InputOption::VALUE_REQUIRED); goto be61e; Beca4: $this->setName("\x76\150\x6f\163\x74\55\x74\x65\x6d\x70\x6c\x61\x74\145\72\x76\151\145\167"); goto C2d87; C2d87: $this->setDescription("\143\154\x70\143\x74\154\40\166\x68\x6f\x73\x74\55\x74\x65\x6d\160\154\141\x74\145\72\166\151\145\167\x20\x2d\x2d\156\x61\155\145\x3d\47\x4d\171\40\x41\160\160\x6c\x69\143\x61\x74\151\157\x6e\x27"); goto b39b8; be61e: } protected function execute(InputInterface $input, OutputInterface $output) : int { try { goto c5aaf; a2937: ddbf4: goto e73d8; E83f6: Dff0f: goto C1907; Cadc0: if (false === is_null($vhostTemplateEntity)) { goto Dff0f; } goto Ffc4e; c1034: $output->writeln($vhostTemplate); goto aed81; e73d8: return SiteCommand::FAILURE; goto B79df; E3de7: $vhostTemplateEntity = $this->vhostTemplateEntityManager->findOneByName($name); goto Cadc0; be1a7: goto ddbf4; goto E83f6; Ffc4e: throw new \Exception(sprintf("\126\x68\x6f\163\164\40\124\145\x6d\160\154\141\x74\145\40\42\45\x73\42\40\144\157\145\163\40\x6e\157\164\x20\x65\170\151\163\164\x2e", $name)); goto be1a7; C1907: $vhostTemplate = $vhostTemplateEntity->getTemplate(); goto c1034; c5aaf: $name = trim($input->getOption("\156\141\155\145")); goto E3de7; aed81: return SiteCommand::SUCCESS; goto a2937; B79df: } catch (\Exception $e) { goto E147d; E147d: $errorMessage = $e->getMessage(); goto Cdef6; Cdef6: $output->writeln(sprintf("\74\x65\x72\162\157\x72\x3e\x25\x73\x3c\x2f\x65\x72\162\157\x72\76", $errorMessage)); goto a5924; a5924: return SiteCommand::FAILURE; goto Ba83c; Ba83c: } } }