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/DownloadFileCommand.php

PHP · 1,239 bytes
<?php
 namespace App\System\Command; use App\System\Command; class DownloadFileCommand extends Command { private ?string $file = null; private ?string $outputFile = null; public function getCommand() : string { goto Cb81a; Cb81a: if ($this->command) { goto cef3b; } goto fe2d1; Cbf25: cef3b: goto C4fc0; C4fc0: return $this->command; goto E5fbd; e6fd9: $outputFile = $this->getOutputFile(); goto eb3b2; fe2d1: $file = $this->getFile(); goto e6fd9; eb3b2: $this->command = sprintf("\x2f\x75\163\162\x2f\x62\151\x6e\57\163\165\x64\157\40\x2f\165\x73\162\x2f\x62\x69\x6e\x2f\143\165\162\x6c\40\55\153\114\163\x20\x25\x73\40\55\55\157\165\x74\x70\x75\164\x20\x25\x73", escapeshellarg($file), escapeshellarg($outputFile)); goto Cbf25; E5fbd: } public function isSuccessful() : bool { goto A3d1e; d036b: $isSuccessful = empty($output); goto a52ec; A3d1e: $output = $this->getOutput(); goto d036b; a52ec: return $isSuccessful; goto b60e6; b60e6: } public function setFile(string $file) : void { $this->file = $file; } public function getFile() : ?string { return $this->file; } public function setOutputFile(string $outputFile) : void { $this->outputFile = $outputFile; } public function getOutputFile() : ?string { return $this->outputFile; } }