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/CopyFileCommand.php
PHP · 1,549 bytes<?php
namespace App\System\Command; use App\System\Command; class CopyFileCommand extends Command { private ?string $sourceFile = null; private ?string $destinationFile = null; private bool $recursive = false; public function getCommand() : string { goto da521; a3a4a: $recursive = $this->getRecursive(); goto c4343; B7e56: return $this->command; goto E8b97; da521: if ($this->command) { goto c1459; } goto ddcdf; D6442: $destinationFile = $this->getDestinationFile(); goto a3a4a; E3324: c1459: goto B7e56; c4343: $this->command = sprintf("\x2f\x75\163\162\x2f\x62\x69\156\x2f\163\x75\x64\x6f\40\57\142\x69\x6e\x2f\x63\x70\40\45\x73\40\45\163\40\x25\163", true === $recursive ? "\x2d\x61" : '', escapeshellarg($sourceFile), escapeshellarg($destinationFile)); goto E3324; ddcdf: $sourceFile = $this->getSourceFile(); goto D6442; E8b97: } public function isSuccessful() : bool { goto d3f11; a3d15: return $isSuccessful; goto Ca5e7; e92d7: $isSuccessful = empty($output); goto a3d15; d3f11: $output = $this->getOutput(); goto e92d7; Ca5e7: } public function setSourceFile(string $sourceFile) : void { $this->sourceFile = $sourceFile; } public function getSourceFile() : ?string { return $this->sourceFile; } public function setDestinationFile(string $destinationFile) : void { $this->destinationFile = $destinationFile; } public function getDestinationFile() : ?string { return $this->destinationFile; } public function setRecursive(bool $flag) : void { $this->recursive = $flag; } public function getRecursive() : bool { return $this->recursive; } }