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 files43
chocapikk/cve-2023-35885Revision 78ece7c3f53e
- ↑..Parent directory
- AnnouncementCheckCommand.php
- AppGetConfigValueCommand.php
- AppSetConfigValueCommand.php
- AwsImageCreateCommand.php
- CloudPanelDeleteSitesCommand.php
- CloudPanelDisableBasicAuthCommand.php
- CloudPanelEnableBasicAuthCommand.php
- CloudPanelSetReleaseChannelCommand.php
- CloudflareUpdateIpsCommand.php
- Command.php
- DatabaseAddCommand.php
- DatabaseBackupCommand.php
- DatabaseDeleteCommand.php
- DatabaseExportCommand.php
- DatabaseImportCommand.php
- DatabaseShowMasterCredentialsCommand.php
- DoSnapshotCreateCommand.php
- GceSnapshotCreateCommand.php
- HetznerSnapshotCreateCommand.php
- LetsEncryptInstallCertificateCommand.php
- LetsEncryptRenewCertificatesCommand.php
- LetsEncryptRenewCustomDomainCertificateCommand.php
- ListCommand.php
- MonitoringDataCleanCommand.php
- RemoteBackupCreateCommand.php
- SiteAddNodejsCommand.php
- SiteAddPhpCommand.php
- SiteAddPythonCommand.php
- SiteAddReverseProxyCommand.php
- SiteAddStaticCommand.php
- SiteCommand.php
- SiteDeleteCommand.php
- SystemPermissionsResetCommand.php
- TestCommand.php
- UserDisableMfaCommand.php
- UserResetPasswordCommand.php
- VarnishCachePurgeCommand.php
- VhostTemplateAddCommand.php
- VhostTemplateDeleteCommand.php
- VhostTemplateViewCommand.php
- VhostTemplatesImportCommand.php
- VhostTemplatesListCommand.php
- VultrSnapshotCreateCommand.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/Command/SiteDeleteCommand.php
PHP · 3,104 bytes<?php
namespace App\Command; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\Console\Question\ConfirmationQuestion; use App\Command\SiteCommand as SiteCommand; class SiteDeleteCommand extends SiteCommand { protected function configure() : void { goto Db28d; B8333: $this->addOption("\146\157\162\x63\145", null, InputOption::VALUE_NONE); goto Af100; Db28d: $this->setName("\x73\x69\x74\x65\72\x64\145\x6c\145\x74\x65"); goto f528c; fdc6f: $this->addOption("\144\157\x6d\141\151\156\x4e\141\x6d\x65", null, InputOption::VALUE_REQUIRED); goto B8333; f528c: $this->setDescription("\x63\x6c\x70\x63\x74\154\x20\163\x69\x74\145\72\144\145\154\x65\x74\x65\40\x2d\x2d\x64\x6f\x6d\x61\151\x6e\116\x61\x6d\145\x3d\167\x77\x77\x2e\144\157\x6d\141\x69\156\56\143\x6f\155"); goto fdc6f; Af100: } protected function execute(InputInterface $input, OutputInterface $output) : int { try { goto B2651; f3fea: $output->writeln(sprintf("\x3c\x69\x6e\146\x6f\x3e\123\x69\164\x65\x3c\57\151\x6e\146\157\76\x20\x3c\143\157\x6d\155\145\x6e\x74\76\45\x73\74\57\143\157\155\x6d\145\156\x74\x3e\x20\x3c\x69\156\146\x6f\x3e\x68\x61\x73\x20\x62\x65\x65\156\x20\x64\145\x6c\x65\164\145\144\56\74\x2f\151\156\x66\157\x3e", $domainName)); goto B1364; A0fc0: return SiteCommand::SUCCESS; goto E50a4; ef566: if (!(false === $force)) { goto C0a84; } goto Cfaa6; d7fc9: $force = $input->getOption("\x66\x6f\162\143\x65") === true; goto f3ad0; F12e7: $this->siteEntityManager->deleteEntity($siteEntity); goto f3fea; c4586: return SiteCommand::SUCCESS; goto A38f5; b8bc9: $siteEntity = $this->getSiteEntity($domainName); goto E98c1; acb08: $siteDeleter = $this->getSiteDeleter($site); goto D31c0; D31c0: $siteDeleter->delete(); goto F12e7; B1364: A3da7: goto c4586; a3bce: if (!(false === $answer)) { goto Aa0e9; } goto A0fc0; E98c1: if (!(false === is_null($siteEntity))) { goto A3da7; } goto acb08; E50a4: Aa0e9: goto Bc513; f3ad0: $site = $this->getSite($domainName); goto ef566; Cfaa6: $helper = $this->getHelper("\x71\x75\x65\163\x74\151\x6f\x6e"); goto F44f3; f61d8: $answer = $helper->ask($input, $output, $question); goto a3bce; F44f3: $question = new ConfirmationQuestion(sprintf("\74\x69\x6e\146\157\x3e\103\157\x6e\x66\x69\x72\x6d\40\x74\157\x20\144\145\x6c\145\x74\145\x20\x74\x68\x65\x20\x73\x69\164\145\72\x20\45\163\x3c\57\x69\156\x66\x6f\x3e\40\74\143\x6f\x6d\x6d\x65\x6e\164\x3e\x28\x79\145\x73\57\x6e\157\x29\x3a\74\x2f\143\x6f\155\x6d\145\156\x74\x3e\40", $domainName), false, "\x2f\136\50\x79\x65\x73\51\57\151"); goto f61d8; Bc513: C0a84: goto b8bc9; C48ae: $domainName = trim($input->getOption("\x64\x6f\x6d\141\151\156\116\141\x6d\x65")); goto d7fc9; B2651: $this->validateInput($input); goto C48ae; A38f5: } catch (\Exception $e) { goto De120; De120: $errorMessage = $e->getMessage(); goto a3f5f; cda3c: return SiteCommand::FAILURE; goto b3f31; a3f5f: $output->writeln(sprintf("\74\x65\x72\x72\157\162\76\45\163\x3c\x2f\145\x72\162\157\162\76", $errorMessage)); goto cda3c; b3f31: } } }