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

PHP · 1,147 bytes
<?php
 namespace App\System\Command; use App\System\Command; class ChangeUserHomeDirectoryCommand extends Command { private ?string $userName = null; private ?string $homeDirectory = null; public function getCommand() : string { goto f7674; f149d: $this->command = sprintf("\x2f\x75\x73\x72\x2f\x62\x69\x6e\57\x73\x75\x64\x6f\40\x2f\x75\163\x72\x2f\163\142\x69\156\x2f\x75\163\145\162\x6d\157\144\40\x2d\x64\40\x25\163\40\x25\163", escapeshellarg($homeDirectory), escapeshellarg($userName)); goto eef33; F21b2: return $this->command; goto a9e9f; eef33: C35d3: goto F21b2; D929f: $homeDirectory = $this->getHomeDirectory(); goto f149d; B993a: $userName = $this->getUserName(); goto D929f; f7674: if ($this->command) { goto C35d3; } goto B993a; a9e9f: } public function isSuccessful() : bool { return true; } public function setUserName(string $userName) : void { $this->userName = $userName; } public function getUserName() : ?string { return $this->userName; } public function setHomeDirectory(string $homeDirectory) : void { $this->homeDirectory = $homeDirectory; } public function getHomeDirectory() : ?string { return $this->homeDirectory; } }