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 files4
datackmy/fallingskies-cve-2023-35885Revision cb3449d9acca
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/Database/Importer.php
PHP · 1,121 bytes<?php
namespace App\Database; use App\Entity\Database as DatabaseEntity; use App\System\CommandExecutor; use App\System\Command\ImportDatabaseDumpCommand; class Importer { private DatabaseEntity $databaseEntity; private CommandExecutor $commandExecutor; private ?string $runAsUser = null; public function __construct(DatabaseEntity $databaseEntity) { $this->databaseEntity = $databaseEntity; $this->commandExecutor = new CommandExecutor(); } public function setRunAsUser(string $userName) : void { $this->runAsUser = $userName; } public function getRunAsUser() : ?string { return $this->runAsUser; } private function addImportDatabaseDumpCommand(string $importFile) { goto fff5a; f1302: $this->commandExecutor->execute($importDatabaseDumpCommand, 7200); goto Ebcc4; bba8b: $importDatabaseDumpCommand->setFile($importFile); goto f1302; fff5a: $importDatabaseDumpCommand = new ImportDatabaseDumpCommand(); goto B7532; B7532: $importDatabaseDumpCommand->setDatabaseEntity($this->databaseEntity); goto bba8b; Ebcc4: } public function import(string $importFile) : void { $this->addImportDatabaseDumpCommand($importFile); } }