Exploit database

GH-7feacea856188eafd49a6762828c436f

chocapikk/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. Open preferred source

Repository files5
chocapikk/cve-2023-35885Revision 78ece7c3f53e

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

src/System/Process.php

PHP · 1,177 bytes
<?php
 namespace App\System; use Symfony\Component\Process\Process as BaseProcess; use App\System\Command\TarCreateCommand; class Process extends BaseProcess { private ?Command $command = null; public function isSuccessful() : bool { goto d91e9; E0ebf: $this->addErrorOutput($output); goto e3ecb; Bfc66: Af349: goto e05fd; Fba6b: if (!(false === $this->command->isSuccessful())) { goto E06db; } goto Bcc06; Dbb05: $output = $this->getErrorOutput() ?: $this->getOutput(); goto Fc851; d91e9: if ($this->command instanceof TarCreateCommand) { goto Af349; } goto C298d; C298d: $isSuccessful = parent::isSuccessful(); goto afd8c; e3ecb: E06db: goto E1f4b; Abd86: fe59f: goto Dbb05; Fc851: $output = trim($output); goto d578f; e05fd: $exitCode = $this->getExitCode(); goto C2689; Bcc06: $isSuccessful = false; goto E0ebf; d578f: $this->command->setOutput($output); goto Fba6b; C2689: $isSuccessful = true === in_array($exitCode, [0, 1]); goto Abd86; afd8c: goto fe59f; goto Bfc66; E1f4b: return $isSuccessful; goto c9976; c9976: } public function setCommand(Command $command) : void { $this->command = $command; } public function getCommand() : ?Command { return $this->command; } }