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 files1
datackmy/fallingskies-cve-2023-35885Revision cb3449d9acca
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/CloudPanel/Hetzner/Instance.php
PHP · 1,434 bytes<?php
namespace App\CloudPanel\Hetzner; use App\CloudPanel\Instance as BaseInstance; use App\Hetzner\Client as HetznerClient; class Instance extends BaseInstance { private HetznerClient $hetznerClient; private ?string $instanceId = null; public function __construct(HetznerClient $hetznerClient) { parent::__construct(); $this->hetznerClient = $hetznerClient; } public function setInstanceId(string $instanceId) : void { $this->instanceId = $instanceId; } public function getRegion() : string { goto acf7c; a9ceb: Cd50d: goto C6f75; C6f75: return $this->region; goto a5918; acf7c: if (!(true === is_null($this->region))) { goto Cd50d; } goto D6d44; D6d44: $this->region = $this->hetznerClient->getMetaDataRegion(); goto a9ceb; a5918: } public function getInstanceId() : string { goto D2254; D2254: if (!(true === is_null($this->instanceId))) { goto Bc71b; } goto d8e4d; d8e4d: $this->instanceId = $this->hetznerClient->getMetaDataInstanceId(); goto C834e; C834e: Bc71b: goto B89bd; B89bd: return $this->instanceId; goto a9b66; a9b66: } public function getIpv4PublicIp() : ?string { goto c3247; c3247: if (!(true === is_null($this->ipv4PublicIp))) { goto Cb209; } goto cf361; bab3c: Cb209: goto dac86; cf361: $this->ipv4PublicIp = $this->hetznerClient->getMetaDataIpv4PublicIp(); goto bab3c; dac86: return $this->ipv4PublicIp; goto f310d; f310d: } public function getHetznerClient() : HetznerClient { return $this->hetznerClient; } }