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 files45
datackmy/fallingskies-cve-2023-35885Revision cb3449d9acca
- ↑..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/WriteFileCommand.php
PHP · 1,202 bytes<?php
namespace App\System\Command; use App\System\Command; class WriteFileCommand extends Command { private ?string $file = null; private ?string $content = null; public function getCommand() : string { goto Be323; C9c9b: return $this->command; goto fdf1e; Be323: if ($this->command) { goto C7b49; } goto Dd672; B38a8: $this->command = sprintf("\145\x63\150\x6f\40\x25\x73\40\x7c\40\57\x75\163\162\57\142\151\156\x2f\163\x75\x64\x6f\40\57\x75\x73\162\x2f\142\x69\x6e\57\x74\x65\x65\x20\45\x73\x20\76\x20\57\144\x65\x76\x2f\156\165\x6c\154", escapeshellarg($content), $file); goto C1866; C1866: C7b49: goto C9c9b; Dd672: $file = $this->getFile(); goto f67ce; f67ce: $content = $this->getContent(); goto B38a8; fdf1e: } public function isSuccessful() : bool { goto aab49; c243c: return $isSuccessful; goto E079e; aab49: $output = $this->getOutput(); goto E6dc6; E6dc6: $isSuccessful = empty($output); goto c243c; E079e: } public function setFile(string $file) : void { $this->file = $file; } public function getFile() : ?string { return $this->file; } public function setContent(string $content) : void { $this->content = $content; } public function getContent() : ?string { return $this->content; } }