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 files76
chocapikk/cve-2023-35885Revision 78ece7c3f53e
- ↑..Parent directory
- AdminAwsAccessKeysType.php
- AdminAwsImageType.php
- AdminAwsImagesSettingsType.php
- AdminBasicAuthType.php
- AdminCustomDomainSettingsType.php
- AdminDatabaseServerEditType.php
- AdminDatabaseServerType.php
- AdminDoAccessTokenType.php
- AdminDoSnapshotType.php
- AdminDoSnapshotsSettingsType.php
- AdminFirewallRuleAddType.php
- AdminFirewallRuleEditType.php
- AdminGceServiceAccountKeysType.php
- AdminGceSnapshotType.php
- AdminGceSnapshotsSettingsType.php
- AdminHetznerApiTokenType.php
- AdminHetznerSnapshotType.php
- AdminHetznerSnapshotsSettingsType.php
- AdminInstanceSettingsType.php
- AdminProftpdSettingsType.php
- AdminRemoteBackupAmazonS3EditType.php
- AdminRemoteBackupAmazonS3Type.php
- AdminRemoteBackupCustomRcloneEditType.php
- AdminRemoteBackupCustomRcloneType.php
- AdminRemoteBackupDigitalOceanSpacesEditType.php
- AdminRemoteBackupDigitalOceanSpacesType.php
- AdminRemoteBackupDropboxEditType.php
- AdminRemoteBackupDropboxType.php
- AdminRemoteBackupGoogleDriveEditType.php
- AdminRemoteBackupGoogleDriveType.php
- AdminRemoteBackupSftpEditType.php
- AdminRemoteBackupSftpType.php
- AdminRemoteBackupStorageProviderType.php
- AdminRemoteBackupWasabiEditType.php
- AdminRemoteBackupWasabiType.php
- AdminUserEditType.php
- AdminUserType.php
- AdminVultrApiKeyType.php
- AdminVultrSnapshotType.php
- AdminVultrSnapshotsSettingsType.php
- LoginMfaType.php
- SiteBasicAuthType.php
- SiteBlockedBotType.php
- SiteBlockedIPType.php
- SiteCloudflareType.php
- SiteCronJobEditType.php
- SiteCronJobType.php
- SiteDatabaseType.php
- SiteDatabaseUserEditType.php
- SiteDatabaseUserType.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/Form/AdminRemoteBackupSftpEditType.php
PHP · 7,942 bytes<?php
namespace App\Form; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\Extension\Core\Type\ChoiceType; use Symfony\Component\Form\Extension\Core\Type\CheckboxType; use Symfony\Component\Form\Extension\Core\Type\TextType; use Symfony\Component\Form\Extension\Core\Type\PasswordType; use Symfony\Component\Form\Extension\Core\Type\TextareaType; use App\Validator\Constraints as AppAssert; use App\Backup\Frequency; class AdminRemoteBackupSftpEditType extends AbstractType { public function buildForm(FormBuilderInterface $builder, array $options) : void { goto D622f; c2662: $builder->add("\141\x75\x74\150\145\156\164\x69\x63\141\164\x69\157\x6e\115\145\x74\150\x6f\144", ChoiceType::class, ["\x72\x65\161\165\x69\162\145\x64" => true, "\x61\x74\x74\162" => ["\143\154\x61\x73\163" => "\x66\157\x72\155\x2d\163\x65\154\x65\143\x74\x20\x66\x6f\x72\x6d\55\x73\x65\154\x65\x63\164\55\x6c\x67"], "\154\x61\x62\x65\154" => "\x41\x75\164\150\145\x6e\164\x69\x63\x61\164\x69\157\156\40\115\145\164\x68\157\x64", "\143\150\x6f\x69\x63\x65\x73" => $authenticationMethodChoices]); goto Be31a; e3bca: $builder->add("\160\x6f\162\x74", TextType::class, ["\162\145\161\165\151\x72\x65\144" => true, "\141\x74\x74\x72" => ["\143\154\141\163\163" => "\146\157\x72\x6d\55\x63\x6f\x6e\x74\x72\157\154\40\146\x6f\x72\x6d\x2d\143\157\156\x74\x72\x6f\x6c\55\x6c\x67", "\160\154\x61\x63\x65\x68\x6f\154\x64\145\162" => "\x32\x32"], "\x6c\141\x62\x65\154" => "\x50\157\162\164"]); goto cd523; bda0f: E55f7: goto eeb5b; C969b: $builder->add("\x73\164\157\x72\x61\147\145\104\151\162\145\x63\164\157\162\x79", TextType::class, ["\162\145\x71\x75\x69\162\145\x64" => true, "\x61\164\x74\162" => ["\x63\154\x61\x73\x73" => "\146\157\162\155\55\x63\x6f\156\164\162\x6f\154\40\146\157\162\155\x2d\143\x6f\x6e\x74\x72\x6f\x6c\x2d\154\x67", "\160\154\x61\143\145\150\x6f\x6c\x64\x65\x72" => "\57\x68\157\155\145\57\x62\141\143\x6b\165\x70\x2d\x6d\x61\163\x74\145\162\57"], "\x6c\x61\142\x65\154" => "\x52\145\x6d\157\164\145\40\123\x65\162\166\145\162\40\x50\141\x74\150"]); goto e3bca; Be31a: $retentionPeriodChoices = ["\x33" => 3, "\67" => 7, "\x31\x34" => 14, "\x32\x31" => 21, "\x33\x30" => 30]; goto da8f0; Dfe65: $builder->add("\x6b\145\x79\106\151\154\145", TextType::class, ["\x72\x65\161\x75\151\162\145\x64" => false, "\141\164\164\162" => ["\143\x6c\x61\x73\163" => "\x66\x6f\x72\155\x2d\143\x6f\156\164\162\x6f\x6c\40\x66\x6f\162\x6d\x2d\143\x6f\x6e\164\x72\x6f\x6c\55\154\147", "\160\154\x61\143\145\150\157\154\144\145\162" => "\x2f\162\157\x6f\164\57\56\x73\x73\x68\57\160\x72\151\166\141\164\145\x2d\153\145\171"], "\x6c\x61\x62\145\x6c" => "\x50\162\151\x76\x61\x74\145\40\x4b\145\171\x20\x50\141\x74\150"]); goto C969b; Ba39a: foreach (range(0, 23) as $number) { goto Ee5be; d7443: f9bd8: goto B6301; C55d8: $timeChoices[$timeFormatted] = $number; goto d7443; Ee5be: $timeFormatted = sprintf("\x25\163\72\60\60", $number < 10 ? sprintf("\x30\x25\x73", $number) : $number); goto C55d8; B6301: } goto bda0f; d38e2: $builder->add("\165\163\x65\x72", TextType::class, ["\162\145\161\165\151\x72\x65\144" => true, "\141\x74\x74\162" => ["\143\154\141\163\x73" => "\x66\157\x72\x6d\x2d\x63\157\x6e\164\162\x6f\154\x20\146\157\x72\155\55\143\157\156\x74\x72\157\x6c\55\154\x67", "\x70\154\141\143\x65\x68\157\x6c\x64\145\x72" => "\142\141\x63\x6b\165\160\x2d\155\141\163\164\145\x72"], "\x6c\141\x62\145\154" => "\x55\163\145\x72", "\x63\157\156\163\x74\x72\141\151\x6e\x74\163" => [new AppAssert\SftpCredentials()]]); goto d5aac; d8a37: $frequencyChoices = ["\104\141\151\x6c\x79" => Frequency::DAILY, "\105\x76\145\162\x79\x20\124\x68\x72\x65\x65\40\110\157\x75\162\x73" => Frequency::EVERY_THREE_HOURS, "\x45\x76\145\162\171\40\123\151\x78\40\110\157\x75\x72\163" => Frequency::EVERY_SIX_HOURS, "\105\166\145\x72\x79\x20\124\x77\145\x6c\166\145\40\110\x6f\165\x72\x73" => Frequency::EVERY_TWELVE_HOURS]; goto b0758; cd523: $excludesPlaceholder = ["\57\x68\157\155\145\x2f\x73\x69\x74\x65\55\165\x73\145\x72\57\150\164\x64\157\x63\163\x2f\x64\x6f\x6d\x61\x69\x6e\56\143\x6f\155\57\143\141\x63\x68\145\57", "\57\150\157\155\x65\57\163\151\x74\x65\55\x75\x73\145\162\x2f\150\164\144\x6f\143\163\x2f\144\157\x6d\x61\151\156\56\143\x6f\x6d\57\146\151\x6c\145\x2e\164\170\x74"]; goto Cdd0e; d5aac: $builder->add("\160\141\x73\x73\x77\x6f\162\144", PasswordType::class, ["\162\x65\x71\165\x69\x72\145\x64" => false, "\141\164\164\162" => ["\x63\x6c\141\163\x73" => "\146\x6f\x72\x6d\x2d\143\x6f\x6e\x74\162\x6f\154\40\146\157\162\155\x2d\x63\x6f\156\164\x72\157\154\x2d\154\x67", "\x70\154\141\x63\145\x68\x6f\154\x64\x65\x72" => "\x2a\52\x2a\x2a\52\x2a\52\x2a\52\52\x2a\52\x2a\52\52\52"], "\154\x61\x62\x65\154" => "\120\x61\x73\163\167\157\162\x64"]); goto Dfe65; Cdd0e: $builder->add("\x65\170\143\x6c\x75\x64\145\163", TextareaType::class, ["\x72\x65\x71\165\x69\x72\145\144" => false, "\x61\164\x74\162" => ["\143\154\141\x73\163" => "\x66\157\x72\155\55\x63\157\156\164\162\x6f\154\40\x66\157\162\155\55\x63\x6f\x6e\164\x72\157\x6c\x2d\x6c\x67", "\162\x6f\167\163" => 5, "\160\x6c\x61\x63\x65\150\157\154\144\145\x72" => implode(PHP_EOL, $excludesPlaceholder)], "\154\x61\x62\x65\x6c" => "\x45\x78\x63\154\165\144\145\x73", "\143\157\156\x73\x74\162\x61\x69\156\x74\x73" => [new AppAssert\RemoteBackupExcludes()]]); goto e26d7; da8f0: $builder->add("\x72\145\x74\145\x6e\x74\x69\x6f\156\x50\x65\162\151\157\x64", ChoiceType::class, ["\x72\x65\x71\x75\x69\162\145\144" => true, "\141\164\x74\162" => ["\143\x6c\141\x73\163" => "\x66\157\x72\155\x2d\x73\x65\x6c\x65\x63\164\x20\146\157\162\x6d\55\x73\145\154\x65\143\164\x2d\x6c\147"], "\154\x61\x62\x65\x6c" => "\x52\145\164\x65\x6e\164\x69\157\x6e\40\120\145\162\151\x6f\x64\x20\50\x44\141\x79\x73\x29", "\143\x68\157\x69\x63\x65\163" => $retentionPeriodChoices]); goto e234b; eeb5b: $builder->add("\x65\170\x65\143\165\x74\151\157\156\x54\151\x6d\x65", ChoiceType::class, ["\162\x65\x71\165\151\x72\145\x64" => false, "\x61\164\x74\x72" => ["\x63\154\141\x73\163" => "\146\x6f\x72\x6d\x2d\163\x65\154\x65\x63\164\x20\x66\157\162\155\x2d\163\x65\x6c\145\x63\164\x2d\x6c\x67"], "\x6c\141\142\x65\154" => "\x54\x69\155\x65", "\160\x6c\141\143\145\x68\157\154\x64\145\162" => false, "\x63\150\157\151\143\145\x73" => $timeChoices]); goto D3d7d; D3d7d: $authenticationMethodChoices = ["\120\141\x73\163\167\157\x72\144" => "\160\x61\x73\163\x77\157\x72\144", "\x4b\145\x79" => "\153\x65\171"]; goto c2662; dc7b7: $timeChoices = []; goto Ba39a; e234b: $builder->add("\x68\x6f\x73\x74", TextType::class, ["\162\x65\x71\165\x69\162\145\x64" => true, "\141\164\164\162" => ["\x63\x6c\141\163\163" => "\x66\157\x72\155\55\x63\157\156\164\x72\x6f\x6c\x20\146\x6f\162\x6d\55\143\x6f\156\x74\162\x6f\x6c\55\154\147", "\160\154\x61\143\x65\x68\157\x6c\x64\x65\162" => "\x38\x2e\70\x2e\x38\56\x38"], "\x6c\141\142\x65\x6c" => "\110\x6f\163\x74"]); goto d38e2; D622f: $builder->add("\x65\x6e\x61\142\154\145\x52\x65\155\157\x74\x65\102\141\143\x6b\x75\160", CheckboxType::class, ["\x72\x65\161\x75\x69\x72\145\144" => false, "\x61\164\x74\162" => ["\143\154\141\x73\163" => "\146\157\162\155\55\143\150\x65\x63\153\55\x69\x6e\x70\165\x74"], "\x6c\x61\142\x65\154" => "\x45\156\x61\142\154\x65\40\x52\x65\x6d\x6f\x74\145\x20\102\141\143\x6b\x75\x70"]); goto d8a37; b0758: $builder->add("\146\162\145\161\x75\x65\x6e\x63\x79", ChoiceType::class, ["\162\145\161\165\151\162\x65\x64" => true, "\141\164\x74\162" => ["\143\x6c\141\163\163" => "\146\157\x72\x6d\x2d\x73\145\x6c\x65\143\164\40\x66\x6f\x72\155\55\163\145\x6c\x65\x63\x74\x2d\x6c\147"], "\154\x61\x62\145\x6c" => "\106\162\x65\161\x75\145\x6e\143\x79", "\x63\150\157\151\143\x65\x73" => $frequencyChoices]); goto dc7b7; e26d7: } public function getName() : string { return "\x63\x6c\x70\x5f\141\144\155\x69\x6e\137\162\145\155\x6f\x74\145\x5f\142\141\143\x6b\x75\x70\137\163\x66\164\160"; } }