Exploit database

GH-25ed919a3c63ff26fc49a3fe47dc7565

datackmy/fallingskies-cve-2023-35885

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-35885

4 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files45

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; } }