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 files45
chocapikk/cve-2023-35885Revision 78ece7c3f53e
- ↑..Parent directory
- BsdTarExtractCommand.php
- CatFileCommand.php
- ChangeDatabaseUserPasswordCommand.php
- ChangeUserHomeDirectoryCommand.php
- ChangeUserPasswordCommand.php
- CheckIfFileExistsCommand.php
- CheckIfPortIsInUseCommand.php
- ChmodCommand.php
- ChownCommand.php
- CopyFileCommand.php
- CreateDatabaseDumpCommand.php
- CreateDirectoryCommand.php
- CreateSymlinkCommand.php
- CreateUserCommand.php
- DeleteDirectoryCommand.php
- DeleteFileCommand.php
- DeleteOldFilesRecursiveCommand.php
- DeleteUserCommand.php
- DownloadFileCommand.php
- FindChmodCommand.php
- GunzipCommand.php
- ImportDatabaseDumpCommand.php
- LsCommand.php
- MemoryInformationCommand.php
- MoveFileCommand.php
- NginxConfigTestCommand.php
- NvmInstallNodejsCommand.php
- ProcessorCoresCommand.php
- RcloneCopyCommand.php
- RcloneLsJsonCommand.php
- RclonePasswordObscureCommand.php
- RclonePurgeCommand.php
- SedCommand.php
- ServiceReloadCommand.php
- ServiceRestartCommand.php
- ServiceStatusCommand.php
- SetTimezoneCommand.php
- TailCommand.php
- TarCreateCommand.php
- TarExtractCommand.php
- UnzipCommand.php
- WordPressConfigCreateCommand.php
- WordPressCoreInstallCommand.php
- WordPressSetConfigValueCommand.php
- WriteFileCommand.php
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/System/Command/CheckIfFileExistsCommand.php
PHP · 942 bytes<?php
namespace App\System\Command; use App\System\Command; class CheckIfFileExistsCommand extends Command { private ?string $file = null; public function getCommand() : string { goto a0540; Ef097: $file = $this->getFile(); goto cfbdf; a0540: if ($this->command) { goto Db602; } goto Ef097; cfbdf: $this->command = sprintf("\57\x75\x73\x72\57\142\151\156\57\163\x75\x64\157\40\x5b\40\55\x65\40\42\x25\x73\x22\40\135\40\46\46\x20\145\143\150\157\x20\x31\40\174\174\x20\x65\143\x68\x6f\x20\60", $file); goto f18a8; Afabd: return $this->command; goto f8168; f18a8: Db602: goto Afabd; f8168: } public function isSuccessful() : bool { goto D932b; db859: $isSuccessful = "\61" == $output ? true : false; goto A257d; D932b: $output = $this->getOutput(); goto db859; A257d: return $isSuccessful; goto d7b46; d7b46: } public function setFile(string $file) : void { $this->file = $file; } public function getFile() : ?string { return $this->file; } }