Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php require_once "\x2e\x2e\x2f\x2e\56\x2f\166\x65\x6e\144\157\x72\x2f\141\165\x74\157\..

Decoded Output download

<?php 
 require_once "../../vendor/autoload.php"; require_once "src/File/Manager.php"; use App\File\Manager as FileManager; use Symfony\Component\Dotenv\Dotenv; goto B596e; Df9e1: $fileUploadPath = $_POST["upload_fullpath"] ?? null; goto b2445; dbffa: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto E9ff9; F8549: ef60a: goto A2fe6; ba741: exit; goto aaefe; f3b84: checkPath($targetDirectory, $homeDirectory); goto b97ca; Cc31c: B6114: goto F39b4; Cc58a: d3121: goto b949f; E9ffc: a29a2: goto fcd1a; d7f36: exit; goto f69b2; De80b: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto d4e95; C46a6: echo json_encode($data); goto Cc56c; ab713: $sessionData = file_get_contents($sessionFile); goto d0996; B63c9: checkPath($file, $homeDirectory); goto Df3b6; a0924: $user = null; goto d1ee1; ff27d: $id = $_POST["id"] ?? null; goto e9c1b; ea795: if (!(false === is_null($id))) { goto D682d; } goto E04f3; ac9e2: E62c0: goto Cc58a; Fdc9f: checkPath($file, $homeDirectory); goto E2a4a; bfc0a: $envFile = "../../.env"; goto a286e; Dd7ad: $targetDirectory = $_POST["target"] ?? null; goto e1aab; B9498: checkPath($file, $homeDirectory); goto D4cdd; Ee797: echo json_encode($data); goto eab2b; bcb0a: exit; goto C8258; f3cfe: $data = []; goto e94c6; f3a21: $requestUri = $_SERVER["REQUEST_URI"] ?? null; goto C09ee; F9861: if (!(true === is_dir($directory))) { goto dfe13; } goto d1f14; D6a83: if (!(true === isset($_POST["id"]) && true === isset($_POST["to"]))) { goto F4d0b; } goto e6db0; a8d7e: if (!(true === str_contains($requestUri, "makefile"))) { goto B30fc; } goto c5b06; F311a: $copyToDirectory = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($copyTo, "/")); goto cb704; a286e: $dotenv = new Dotenv(); goto d2bfe; f758b: $id = $_POST["id"] ?? null; goto ea795; C0d5c: if (!(false === is_null($directoryName) && false === is_null($id))) { goto Ea4d0; } goto c9f73; fa7bc: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto B63c9; d11b7: echo json_encode($data); goto C5c8a; e7bc4: exit; goto c1cba; bb467: $filesDecoded = json_decode($files, true); goto E144c; F83ff: echo json_encode($data); goto Cf78e; C09ee: $id = $_GET["id"] ?? null; goto bfe0b; c0708: $data = []; goto a7de1; c5ea5: if (!(false === is_null($id))) { goto C656c; } goto c0708; F8633: fe141: goto A6a43; a2a82: F9d2b: goto A9d07; ad8f2: if (!(false === empty($filesDecoded) && true === is_array($filesDecoded))) { goto Dfd12; } goto d7acb; c015c: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto d3314; efec4: fd476: goto f758b; Af4b4: $directory = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto E99a1; e39a9: B30fc: goto e6ac2; Fa0e4: b3a61: goto B5ba8; d2bfe: $dotenv->load($envFile); goto A84bc; a8242: if (!("dev" === $appEnv)) { goto B777e; } goto F3433; A3c8c: Ea4d0: goto ac9e2; b661b: $fileManager->download($file); goto B73d3; D1d0f: echo json_encode($data); goto A3c8c; e8624: $sessionFile = sprintf("/var/lib/php/sessions/sess_%s", $sessionId); goto C59c4; A02c3: $directory = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto A421a; B0f9f: if (!(false === is_null($id))) { goto F9bdf; } goto dbffa; A20d3: $targetDirectory = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($targetDirectory, "/")); goto f3b84; Df3b6: $data = $fileManager->permissions($file, $permissions); goto A54a8; A421a: checkPath($directory, $homeDirectory); goto eaed0; ca6b5: $data = $fileManager->copy($file, $copyToDirectory); goto cc29b; a7728: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto C9139; d3314: checkPath($file, $homeDirectory); goto F32af; Aab02: $fileManager = new FileManager($user); goto c8701; Ef844: ini_set("display_errors", 1); goto be42c; Eeb26: if (!(true === isset($_POST["id"]))) { goto d5d8c; } goto ad0a6; A533b: $fileContent = $_POST["content"] ?? ''; goto cfcdb; e6db0: $id = $_POST["id"] ?? null; goto A57cc; D55d0: $id = $_POST["id"] ?? null; goto f9f42; A84bc: $appEnv = $_ENV["APP_ENV"]; goto B482b; a7abe: $id = $_POST["id"] ?? null; goto c5ea5; a3ec5: echo $fileContent; goto C9407; a4370: eb902: goto b4436; B3213: A6019: goto D6e57; ea814: $data = $fileManager->writeFileContent($file, $fileContent); goto ce124; a7de1: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto Fdc9f; B20bd: checkPath($copyToDirectory, $homeDirectory); goto ca6b5; e6ac2: if (!(true === str_contains($requestUri, "makedir"))) { goto d3121; } goto Ba038; B73d3: d464b: goto b3854; C9139: checkPath($file, $homeDirectory); goto b661b; Bd34b: $download = $_GET["download"] ?? null; goto b93cf; A57cc: $copyTo = $_POST["to"] ?? null; goto d18ef; d38af: if (true === isset($_POST["content"]) && true === isset($_POST["id"])) { goto fd476; } goto B0f9f; B7db5: A397c: goto Dd7ad; B482b: $appVersion = $_ENV["APP_VERSION"]; goto a8242; Ac170: $id = $_POST["id"] ?? null; goto c3470; f69b2: c090f: goto B4a1b; f4762: echo json_encode($data); goto ed73e; fd04e: goto cb887; goto efec4; b9449: checkPath($directory, $homeDirectory); goto bd332; C9407: F9bdf: goto fd04e; F18c5: dfe13: goto C46a6; B5ba8: D365f: goto B0faa; Cf78e: a7512: goto ccad1; E99a1: checkPath($directory, $homeDirectory); goto b4d06; d18ef: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto F311a; f66b4: if (!(true === isset($_FILES["upload"]))) { goto E7f17; } goto Ca805; fc3f8: if (!(false == is_dir($homeDirectory))) { goto c090f; } goto d7f36; Cc56c: d7103: goto ff4cb; eaed0: $data = $fileManager->makeFile($filename, $directory); goto Fe0e0; ccad1: b9287: goto Cc31c; E585a: $id = $_POST["id"] ?? null; goto b1832; dcb40: if (!(true === str_contains($requestUri, "upload"))) { goto E21ea; } goto f66b4; D4870: $fileContent = $fileManager->getFileContent($file); goto a3ec5; bb2ab: E21ea: goto a8d7e; Baff3: $files = $_POST["files"] ?? null; goto eb705; d2328: if (!(true === str_contains($requestUri, "files") && false === is_null($id))) { goto d7103; } goto f3cfe; A9d07: Ee186: goto C4d99; aaefe: Dad44: goto C6790; E2a4a: $data = $fileManager->rename($file, $newFilename); goto E4608; Fea10: $user = $_SESSION["_sf2_attributes"]["clp-file-manager"]["user"]; goto B3213; C8e61: $data = $fileManager->extract($file, $destinationDirectoryName); goto F83ff; C5c8a: Af902: goto F6c61; bc9b0: session_decode($sessionData); goto F8633; b2445: if (!(false === is_null($fileUploadPath) && false === str_contains($fileUploadPath, "../") && false === is_null($tmpFile) && false === is_null($id))) { goto ef60a; } goto Af4b4; Aaf98: ca587: goto d2328; ff4cb: if (!(true === str_contains($requestUri, "text"))) { goto Dad44; } goto d38af; B596e: $sessionId = $_COOKIE["cloudpanel"] ?? null; goto e8624; A2fe6: E7f17: goto bb2ab; be42c: B777e: goto a0924; F21ce: $directory = $homeDirectory; goto a12c4; Bffdb: if (!(false === is_null($destinationDirectoryName) && false === is_null($id))) { goto a7512; } goto Da460; Ce7ad: F25df: goto b38dd; c5b06: if (!(true === isset($_POST["id"]) && true === isset($_POST["name"]))) { goto Ba77b; } goto D55d0; B3055: $destinationDirectoryName = $_POST["destinationDirectoryName"] ?? null; goto Bffdb; F39b4: if (!(true === str_contains($requestUri, "compress"))) { goto a9625; } goto A0655; C4d99: if (!(true === str_contains($requestUri, "extract"))) { goto B6114; } goto ac8e4; E4d22: D7d1b: goto Aa8a3; b93cf: if (!(false === is_null($id))) { goto d464b; } goto a7728; Ca805: $tmpFile = $_FILES["upload"]["tmp_name"] ?? null; goto Df9e1; Fe0e0: echo json_encode($data); goto c1c28; Bdfa4: F4d0b: goto E9ffc; Bd311: if (!(false === is_null($filename) && false === is_null($id))) { goto cef20; } goto A02c3; bfe0b: $homeDirectory = sprintf("/home/%s/", $user); goto fc3f8; A54a8: echo json_encode($data); goto Ee7f4; e1aab: if (!(false === empty($files) && false === is_null($targetDirectory))) { goto a4d48; } goto D71dc; d1f14: checkPath($directory, $homeDirectory); goto Ea45a; D71dc: $id = $targetDirectory; goto A20d3; Dbb19: D682d: goto e567a; c9f73: $directory = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto a41de; ad0a6: $id = $_POST["id"] ?? null; goto d475f; d4e95: $moveToDirectory = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($copyTo, "/")); goto B9498; ab36a: $data = $fileManager->makeDirectory($directoryName, $directory); goto D1d0f; f9f42: $filename = $_POST["name"] ?? null; goto Bd311; D4cdd: checkPath($moveToDirectory, $homeDirectory); goto d07d3; F6c61: d5d8c: goto a5fea; Db625: echo json_encode($data); goto F8549; c3470: $permissions = $_POST["permissions"] ?? null; goto a9b45; b5763: echo json_encode($data); goto Ce7ad; C8258: goto fd813; goto f955d; c1c28: cef20: goto F6910; cc29b: echo json_encode($data); goto Bdfa4; Ba4f4: if (!(true === isset($_POST["id"]) && true === isset($_POST["to"]))) { goto F25df; } goto E585a; E4608: echo json_encode($data); goto ed296; Ea45a: $data = $fileManager->getFiles($directory); goto F18c5; E144c: $files = []; goto ad8f2; F32af: $data = $fileManager->delete($file); goto d11b7; E9ff9: checkPath($file, $homeDirectory); goto D4870; Ff327: $newFilename = $_POST["name"] ?? ''; goto a7abe; E04f3: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto A533b; b97ca: $data = $fileManager->compress($files, $targetDirectory, $id); goto f4762; a0db2: session_start(); goto bc9b0; eb705: if (!(false === is_null($files))) { goto A397c; } goto bb467; Aa8a3: Dfd12: goto B7db5; Ee7f4: D5410: goto a2a82; eab2b: exit; goto Aaf98; B0faa: if (!(true === str_contains($requestUri, "delete"))) { goto D2f2d; } goto Eeb26; b949f: if (!(true === str_contains($requestUri, "copy"))) { goto a29a2; } goto D6a83; ed296: C656c: goto Fa0e4; a9b45: if (!(false === is_null($permissions) && false === is_null($id))) { goto D5410; } goto fa7bc; c8701: if (!(true === str_contains($requestUri, "folders") && false === is_null($id))) { goto ca587; } goto b44fe; cb704: checkPath($file, $homeDirectory); goto B20bd; b38dd: Cede7: goto B3afc; ce124: echo json_encode($data); goto Dbb19; F3433: error_reporting((E_ALL | E_STRICT) ^ E_NOTICE); goto Ef844; f955d: a62c7: goto ab713; C59c4: if (false === empty($sessionId) && true === is_file($sessionFile) && true === file_exists($sessionFile)) { goto a62c7; } goto bcb0a; d88ef: A87b8: goto b9449; a5fea: D2f2d: goto f4621; b44fe: $data = []; goto F21ce; cfcdb: checkPath($file, $homeDirectory); goto ea814; B4a1b: function checkPath($file, $homeDirectory) { goto feebe; b4cf1: F7d5c: goto C9ba2; feebe: $file = realpath($file); goto D95a7; D95a7: $homeDirectory = rtrim($homeDirectory, "/"); goto B3141; e2f09: exit(sprintf("File is not valid: %s", $file)); goto b4cf1; B3141: if (!(false === str_starts_with($file, $homeDirectory))) { goto F7d5c; } goto e2f09; C9ba2: } goto Aab02; Ba038: if (!(true === isset($_POST["id"]) && true === isset($_POST["name"]))) { goto E62c0; } goto ff27d; bd332: $data = $fileManager->getFolders($directory); goto Ee797; Da460: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto D9834; C6790: if (!(true === str_contains($requestUri, "rename"))) { goto D365f; } goto F4a22; fcd1a: if (!(true === str_contains($requestUri, "move"))) { goto Cede7; } goto Ba4f4; C5b7c: $id = $_POST["id"] ?? null; goto B3055; a12c4: if (!("/" != $id)) { goto A87b8; } goto cce49; c1cba: eb667: goto f3a21; d07d3: $data = $fileManager->move($file, $moveToDirectory); goto b5763; eadcf: if (!(true === isset($_POST["id"]) && true === isset($_POST["permissions"]))) { goto F9d2b; } goto Ac170; e9c1b: $directoryName = $_POST["name"] ?? null; goto C0d5c; e567a: cb887: goto ba741; d050e: session_name("clp-file-manager"); goto a0db2; e94c6: $directory = sprintf("%s/%s/", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto F9861; d1ee1: if (!(true === isset($_SESSION["_sf2_attributes"]["clp-file-manager"]["user"]) && false === empty($_SESSION["_sf2_attributes"]["clp-file-manager"]["user"]))) { goto A6019; } goto Fea10; F4a22: if (!(true === isset($_POST["name"]) && false === empty($_POST["name"]) && true === isset($_POST["id"]))) { goto b3a61; } goto Ff327; b4d06: $data = $fileManager->upload($fileUploadPath, $directory, $tmpFile, $id); goto Db625; ac8e4: if (!(true === isset($_POST["id"]) && true === isset($_POST["destinationDirectoryName"]))) { goto b9287; } goto C5b7c; d0996: if (!(false === empty($sessionData))) { goto fe141; } goto d050e; D6e57: if (!(true === is_null($user))) { goto eb667; } goto e7bc4; a41de: checkPath($directory, $homeDirectory); goto ab36a; ed73e: a4d48: goto a4370; A6a43: fd813: goto bfc0a; f4621: if (!(true === str_contains($requestUri, "direct"))) { goto ed693; } goto Bd34b; d475f: if (!(false === is_null($id))) { goto Af902; } goto c015c; D9834: checkPath($file, $homeDirectory); goto C8e61; A0655: if (!(true === isset($_POST["files"]) && true === isset($_POST["target"]))) { goto eb902; } goto Baff3; B3afc: if (!(true === str_contains($requestUri, "permissions"))) { goto Ee186; } goto eadcf; cce49: $directory = sprintf("%s/%s/", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto d88ef; d7acb: foreach ($filesDecoded as $file) { goto d15a6; f911a: c17e9: goto ab6a4; Fd208: if (!(true === file_exists($file))) { goto c17e9; } goto C7883; d15a6: $filePath = $file["id"] ?? null; goto A74e2; ab6a4: aa4eb: goto ec446; F9312: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($filePath, "/")); goto Fd208; A74e2: if (!(false === is_null($filePath))) { goto aa4eb; } goto F9312; C7883: $files[] = $file; goto f911a; ec446: E08d9: goto be8eb; be8eb: } goto E4d22; F6910: Ba77b: goto e39a9; b1832: $copyTo = $_POST["to"] ?? null; goto De80b; b3854: ed693: goto dcb40; b4436: a9625: ?>

Did this file decode correctly?

Original Code

<?php
 require_once "\x2e\x2e\x2f\x2e\56\x2f\166\x65\x6e\144\157\x72\x2f\141\165\x74\157\154\157\141\x64\56\x70\x68\160"; require_once "\x73\x72\143\57\106\151\x6c\x65\57\115\x61\x6e\x61\x67\x65\x72\56\x70\150\160"; use App\File\Manager as FileManager; use Symfony\Component\Dotenv\Dotenv; goto B596e; Df9e1: $fileUploadPath = $_POST["\165\160\154\157\141\x64\x5f\146\x75\154\154\x70\x61\164\150"] ?? null; goto b2445; dbffa: $file = sprintf("\45\x73\57\45\x73", rtrim($homeDirectory, "\x2f"), ltrim($id, "\57")); goto E9ff9; F8549: ef60a: goto A2fe6; ba741: exit; goto aaefe; f3b84: checkPath($targetDirectory, $homeDirectory); goto b97ca; Cc31c: B6114: goto F39b4; Cc58a: d3121: goto b949f; E9ffc: a29a2: goto fcd1a; d7f36: exit; goto f69b2; De80b: $file = sprintf("\45\x73\x2f\x25\x73", rtrim($homeDirectory, "\x2f"), ltrim($id, "\x2f")); goto d4e95; C46a6: echo json_encode($data); goto Cc56c; ab713: $sessionData = file_get_contents($sessionFile); goto d0996; B63c9: checkPath($file, $homeDirectory); goto Df3b6; a0924: $user = null; goto d1ee1; ff27d: $id = $_POST["\151\144"] ?? null; goto e9c1b; ea795: if (!(false === is_null($id))) { goto D682d; } goto E04f3; ac9e2: E62c0: goto Cc58a; Fdc9f: checkPath($file, $homeDirectory); goto E2a4a; bfc0a: $envFile = "\56\x2e\x2f\x2e\x2e\x2f\56\x65\156\x76"; goto a286e; Dd7ad: $targetDirectory = $_POST["\164\141\x72\x67\145\x74"] ?? null; goto e1aab; B9498: checkPath($file, $homeDirectory); goto D4cdd; Ee797: echo json_encode($data); goto eab2b; bcb0a: exit; goto C8258; f3cfe: $data = []; goto e94c6; f3a21: $requestUri = $_SERVER["\x52\x45\121\x55\x45\123\x54\x5f\125\122\x49"] ?? null; goto C09ee; F9861: if (!(true === is_dir($directory))) { goto dfe13; } goto d1f14; D6a83: if (!(true === isset($_POST["\151\144"]) && true === isset($_POST["\x74\x6f"]))) { goto F4d0b; } goto e6db0; a8d7e: if (!(true === str_contains($requestUri, "\155\x61\x6b\145\x66\151\154\145"))) { goto B30fc; } goto c5b06; F311a: $copyToDirectory = sprintf("\x25\163\57\x25\163", rtrim($homeDirectory, "\57"), ltrim($copyTo, "\x2f")); goto cb704; a286e: $dotenv = new Dotenv(); goto d2bfe; f758b: $id = $_POST["\151\144"] ?? null; goto ea795; C0d5c: if (!(false === is_null($directoryName) && false === is_null($id))) { goto Ea4d0; } goto c9f73; fa7bc: $file = sprintf("\45\x73\57\x25\163", rtrim($homeDirectory, "\x2f"), ltrim($id, "\x2f")); goto B63c9; d11b7: echo json_encode($data); goto C5c8a; e7bc4: exit; goto c1cba; bb467: $filesDecoded = json_decode($files, true); goto E144c; F83ff: echo json_encode($data); goto Cf78e; C09ee: $id = $_GET["\151\x64"] ?? null; goto bfe0b; c0708: $data = []; goto a7de1; c5ea5: if (!(false === is_null($id))) { goto C656c; } goto c0708; F8633: fe141: goto A6a43; a2a82: F9d2b: goto A9d07; ad8f2: if (!(false === empty($filesDecoded) && true === is_array($filesDecoded))) { goto Dfd12; } goto d7acb; c015c: $file = sprintf("\45\x73\57\x25\x73", rtrim($homeDirectory, "\57"), ltrim($id, "\57")); goto d3314; efec4: fd476: goto f758b; Af4b4: $directory = sprintf("\x25\x73\57\45\163", rtrim($homeDirectory, "\57"), ltrim($id, "\57")); goto E99a1; e39a9: B30fc: goto e6ac2; Fa0e4: b3a61: goto B5ba8; d2bfe: $dotenv->load($envFile); goto A84bc; a8242: if (!("\x64\145\166" === $appEnv)) { goto B777e; } goto F3433; A3c8c: Ea4d0: goto ac9e2; b661b: $fileManager->download($file); goto B73d3; D1d0f: echo json_encode($data); goto A3c8c; e8624: $sessionFile = sprintf("\57\x76\x61\x72\57\154\x69\142\57\x70\150\x70\57\x73\x65\x73\163\x69\x6f\x6e\x73\57\163\145\163\x73\137\45\x73", $sessionId); goto C59c4; A02c3: $directory = sprintf("\45\x73\x2f\45\163", rtrim($homeDirectory, "\x2f"), ltrim($id, "\57")); goto A421a; B0f9f: if (!(false === is_null($id))) { goto F9bdf; } goto dbffa; A20d3: $targetDirectory = sprintf("\45\163\57\x25\163", rtrim($homeDirectory, "\57"), ltrim($targetDirectory, "\x2f")); goto f3b84; Df3b6: $data = $fileManager->permissions($file, $permissions); goto A54a8; A421a: checkPath($directory, $homeDirectory); goto eaed0; ca6b5: $data = $fileManager->copy($file, $copyToDirectory); goto cc29b; a7728: $file = sprintf("\x25\x73\x2f\45\163", rtrim($homeDirectory, "\57"), ltrim($id, "\57")); goto C9139; d3314: checkPath($file, $homeDirectory); goto F32af; Aab02: $fileManager = new FileManager($user); goto c8701; Ef844: ini_set("\144\151\x73\x70\x6c\x61\x79\x5f\145\x72\162\157\x72\x73", 1); goto be42c; Eeb26: if (!(true === isset($_POST["\151\x64"]))) { goto d5d8c; } goto ad0a6; A533b: $fileContent = $_POST["\x63\157\156\164\x65\x6e\164"] ?? ''; goto cfcdb; e6db0: $id = $_POST["\151\x64"] ?? null; goto A57cc; D55d0: $id = $_POST["\x69\144"] ?? null; goto f9f42; A84bc: $appEnv = $_ENV["\101\x50\120\137\x45\116\126"]; goto B482b; a7abe: $id = $_POST["\x69\144"] ?? null; goto c5ea5; a3ec5: echo $fileContent; goto C9407; a4370: eb902: goto b4436; B3213: A6019: goto D6e57; ea814: $data = $fileManager->writeFileContent($file, $fileContent); goto ce124; a7de1: $file = sprintf("\x25\163\x2f\45\x73", rtrim($homeDirectory, "\57"), ltrim($id, "\57")); goto Fdc9f; B20bd: checkPath($copyToDirectory, $homeDirectory); goto ca6b5; e6ac2: if (!(true === str_contains($requestUri, "\x6d\x61\153\145\x64\151\x72"))) { goto d3121; } goto Ba038; B73d3: d464b: goto b3854; C9139: checkPath($file, $homeDirectory); goto b661b; Bd34b: $download = $_GET["\144\x6f\167\156\x6c\x6f\x61\144"] ?? null; goto b93cf; A57cc: $copyTo = $_POST["\x74\157"] ?? null; goto d18ef; d38af: if (true === isset($_POST["\x63\x6f\x6e\x74\145\156\164"]) && true === isset($_POST["\x69\144"])) { goto fd476; } goto B0f9f; B7db5: A397c: goto Dd7ad; B482b: $appVersion = $_ENV["\x41\120\x50\x5f\x56\x45\122\x53\x49\117\x4e"]; goto a8242; Ac170: $id = $_POST["\151\144"] ?? null; goto c3470; f69b2: c090f: goto B4a1b; f4762: echo json_encode($data); goto ed73e; fd04e: goto cb887; goto efec4; b9449: checkPath($directory, $homeDirectory); goto bd332; C9407: F9bdf: goto fd04e; F18c5: dfe13: goto C46a6; B5ba8: D365f: goto B0faa; Cf78e: a7512: goto ccad1; E99a1: checkPath($directory, $homeDirectory); goto b4d06; d18ef: $file = sprintf("\45\x73\x2f\45\x73", rtrim($homeDirectory, "\57"), ltrim($id, "\x2f")); goto F311a; f66b4: if (!(true === isset($_FILES["\x75\x70\154\157\141\144"]))) { goto E7f17; } goto Ca805; fc3f8: if (!(false == is_dir($homeDirectory))) { goto c090f; } goto d7f36; Cc56c: d7103: goto ff4cb; eaed0: $data = $fileManager->makeFile($filename, $directory); goto Fe0e0; ccad1: b9287: goto Cc31c; E585a: $id = $_POST["\x69\144"] ?? null; goto b1832; dcb40: if (!(true === str_contains($requestUri, "\165\160\154\157\x61\x64"))) { goto E21ea; } goto f66b4; D4870: $fileContent = $fileManager->getFileContent($file); goto a3ec5; bb2ab: E21ea: goto a8d7e; Baff3: $files = $_POST["\x66\151\154\x65\163"] ?? null; goto eb705; d2328: if (!(true === str_contains($requestUri, "\x66\151\154\145\x73") && false === is_null($id))) { goto d7103; } goto f3cfe; A9d07: Ee186: goto C4d99; aaefe: Dad44: goto C6790; E2a4a: $data = $fileManager->rename($file, $newFilename); goto E4608; Fea10: $user = $_SESSION["\137\163\x66\62\137\x61\164\x74\162\x69\142\165\164\x65\x73"]["\143\x6c\160\x2d\146\x69\x6c\145\x2d\155\141\x6e\141\x67\x65\x72"]["\x75\163\x65\x72"]; goto B3213; C8e61: $data = $fileManager->extract($file, $destinationDirectoryName); goto F83ff; C5c8a: Af902: goto F6c61; bc9b0: session_decode($sessionData); goto F8633; b2445: if (!(false === is_null($fileUploadPath) && false === str_contains($fileUploadPath, "\x2e\56\57") && false === is_null($tmpFile) && false === is_null($id))) { goto ef60a; } goto Af4b4; Aaf98: ca587: goto d2328; ff4cb: if (!(true === str_contains($requestUri, "\x74\x65\x78\x74"))) { goto Dad44; } goto d38af; B596e: $sessionId = $_COOKIE["\143\154\x6f\165\x64\160\141\156\x65\154"] ?? null; goto e8624; A2fe6: E7f17: goto bb2ab; be42c: B777e: goto a0924; F21ce: $directory = $homeDirectory; goto a12c4; Bffdb: if (!(false === is_null($destinationDirectoryName) && false === is_null($id))) { goto a7512; } goto Da460; Ce7ad: F25df: goto b38dd; c5b06: if (!(true === isset($_POST["\x69\144"]) && true === isset($_POST["\x6e\141\x6d\145"]))) { goto Ba77b; } goto D55d0; B3055: $destinationDirectoryName = $_POST["\144\x65\163\164\x69\x6e\x61\164\x69\157\x6e\104\x69\162\145\x63\x74\x6f\x72\x79\116\141\x6d\145"] ?? null; goto Bffdb; F39b4: if (!(true === str_contains($requestUri, "\143\x6f\155\x70\x72\145\163\x73"))) { goto a9625; } goto A0655; C4d99: if (!(true === str_contains($requestUri, "\x65\x78\164\162\141\x63\x74"))) { goto B6114; } goto ac8e4; E4d22: D7d1b: goto Aa8a3; b93cf: if (!(false === is_null($id))) { goto d464b; } goto a7728; Ca805: $tmpFile = $_FILES["\165\x70\x6c\x6f\x61\x64"]["\x74\155\x70\137\156\141\155\145"] ?? null; goto Df9e1; Fe0e0: echo json_encode($data); goto c1c28; Bdfa4: F4d0b: goto E9ffc; Bd311: if (!(false === is_null($filename) && false === is_null($id))) { goto cef20; } goto A02c3; bfe0b: $homeDirectory = sprintf("\57\150\157\x6d\145\57\45\163\x2f", $user); goto fc3f8; A54a8: echo json_encode($data); goto Ee7f4; e1aab: if (!(false === empty($files) && false === is_null($targetDirectory))) { goto a4d48; } goto D71dc; d1f14: checkPath($directory, $homeDirectory); goto Ea45a; D71dc: $id = $targetDirectory; goto A20d3; Dbb19: D682d: goto e567a; c9f73: $directory = sprintf("\x25\163\57\45\x73", rtrim($homeDirectory, "\x2f"), ltrim($id, "\57")); goto a41de; ad0a6: $id = $_POST["\151\x64"] ?? null; goto d475f; d4e95: $moveToDirectory = sprintf("\45\163\57\x25\163", rtrim($homeDirectory, "\x2f"), ltrim($copyTo, "\x2f")); goto B9498; ab36a: $data = $fileManager->makeDirectory($directoryName, $directory); goto D1d0f; f9f42: $filename = $_POST["\156\141\x6d\x65"] ?? null; goto Bd311; D4cdd: checkPath($moveToDirectory, $homeDirectory); goto d07d3; F6c61: d5d8c: goto a5fea; Db625: echo json_encode($data); goto F8549; c3470: $permissions = $_POST["\x70\145\162\155\x69\163\163\x69\157\156\x73"] ?? null; goto a9b45; b5763: echo json_encode($data); goto Ce7ad; C8258: goto fd813; goto f955d; c1c28: cef20: goto F6910; cc29b: echo json_encode($data); goto Bdfa4; Ba4f4: if (!(true === isset($_POST["\x69\144"]) && true === isset($_POST["\x74\157"]))) { goto F25df; } goto E585a; E4608: echo json_encode($data); goto ed296; Ea45a: $data = $fileManager->getFiles($directory); goto F18c5; E144c: $files = []; goto ad8f2; F32af: $data = $fileManager->delete($file); goto d11b7; E9ff9: checkPath($file, $homeDirectory); goto D4870; Ff327: $newFilename = $_POST["\x6e\141\155\145"] ?? ''; goto a7abe; E04f3: $file = sprintf("\x25\x73\x2f\x25\163", rtrim($homeDirectory, "\x2f"), ltrim($id, "\x2f")); goto A533b; b97ca: $data = $fileManager->compress($files, $targetDirectory, $id); goto f4762; a0db2: session_start(); goto bc9b0; eb705: if (!(false === is_null($files))) { goto A397c; } goto bb467; Aa8a3: Dfd12: goto B7db5; Ee7f4: D5410: goto a2a82; eab2b: exit; goto Aaf98; B0faa: if (!(true === str_contains($requestUri, "\x64\145\x6c\x65\164\x65"))) { goto D2f2d; } goto Eeb26; b949f: if (!(true === str_contains($requestUri, "\x63\x6f\x70\171"))) { goto a29a2; } goto D6a83; ed296: C656c: goto Fa0e4; a9b45: if (!(false === is_null($permissions) && false === is_null($id))) { goto D5410; } goto fa7bc; c8701: if (!(true === str_contains($requestUri, "\146\157\154\144\145\162\x73") && false === is_null($id))) { goto ca587; } goto b44fe; cb704: checkPath($file, $homeDirectory); goto B20bd; b38dd: Cede7: goto B3afc; ce124: echo json_encode($data); goto Dbb19; F3433: error_reporting((E_ALL | E_STRICT) ^ E_NOTICE); goto Ef844; f955d: a62c7: goto ab713; C59c4: if (false === empty($sessionId) && true === is_file($sessionFile) && true === file_exists($sessionFile)) { goto a62c7; } goto bcb0a; d88ef: A87b8: goto b9449; a5fea: D2f2d: goto f4621; b44fe: $data = []; goto F21ce; cfcdb: checkPath($file, $homeDirectory); goto ea814; B4a1b: function checkPath($file, $homeDirectory) { goto feebe; b4cf1: F7d5c: goto C9ba2; feebe: $file = realpath($file); goto D95a7; D95a7: $homeDirectory = rtrim($homeDirectory, "\57"); goto B3141; e2f09: exit(sprintf("\x46\151\154\145\x20\x69\163\40\x6e\x6f\164\x20\166\141\154\x69\x64\x3a\40\x25\163", $file)); goto b4cf1; B3141: if (!(false === str_starts_with($file, $homeDirectory))) { goto F7d5c; } goto e2f09; C9ba2: } goto Aab02; Ba038: if (!(true === isset($_POST["\x69\144"]) && true === isset($_POST["\156\141\x6d\145"]))) { goto E62c0; } goto ff27d; bd332: $data = $fileManager->getFolders($directory); goto Ee797; Da460: $file = sprintf("\x25\163\57\45\x73", rtrim($homeDirectory, "\x2f"), ltrim($id, "\x2f")); goto D9834; C6790: if (!(true === str_contains($requestUri, "\162\145\156\141\155\x65"))) { goto D365f; } goto F4a22; fcd1a: if (!(true === str_contains($requestUri, "\x6d\157\166\145"))) { goto Cede7; } goto Ba4f4; C5b7c: $id = $_POST["\151\144"] ?? null; goto B3055; a12c4: if (!("\x2f" != $id)) { goto A87b8; } goto cce49; c1cba: eb667: goto f3a21; d07d3: $data = $fileManager->move($file, $moveToDirectory); goto b5763; eadcf: if (!(true === isset($_POST["\151\x64"]) && true === isset($_POST["\160\145\x72\155\151\x73\x73\151\x6f\156\x73"]))) { goto F9d2b; } goto Ac170; e9c1b: $directoryName = $_POST["\156\x61\x6d\x65"] ?? null; goto C0d5c; e567a: cb887: goto ba741; d050e: session_name("\x63\154\x70\x2d\146\x69\x6c\145\x2d\155\x61\156\x61\x67\x65\162"); goto a0db2; e94c6: $directory = sprintf("\45\x73\57\45\x73\x2f", rtrim($homeDirectory, "\57"), ltrim($id, "\x2f")); goto F9861; d1ee1: if (!(true === isset($_SESSION["\137\163\146\x32\137\x61\164\x74\x72\x69\142\165\x74\x65\163"]["\143\x6c\x70\55\146\x69\154\x65\55\x6d\141\x6e\x61\x67\145\162"]["\x75\163\145\162"]) && false === empty($_SESSION["\137\x73\146\62\x5f\x61\164\x74\162\151\x62\165\164\x65\x73"]["\x63\154\160\55\x66\x69\x6c\145\x2d\155\x61\x6e\141\x67\x65\x72"]["\x75\x73\145\x72"]))) { goto A6019; } goto Fea10; F4a22: if (!(true === isset($_POST["\x6e\141\x6d\x65"]) && false === empty($_POST["\156\x61\155\145"]) && true === isset($_POST["\151\144"]))) { goto b3a61; } goto Ff327; b4d06: $data = $fileManager->upload($fileUploadPath, $directory, $tmpFile, $id); goto Db625; ac8e4: if (!(true === isset($_POST["\x69\144"]) && true === isset($_POST["\144\145\163\x74\151\156\x61\x74\151\157\x6e\104\x69\x72\x65\x63\x74\x6f\162\171\x4e\x61\155\145"]))) { goto b9287; } goto C5b7c; d0996: if (!(false === empty($sessionData))) { goto fe141; } goto d050e; D6e57: if (!(true === is_null($user))) { goto eb667; } goto e7bc4; a41de: checkPath($directory, $homeDirectory); goto ab36a; ed73e: a4d48: goto a4370; A6a43: fd813: goto bfc0a; f4621: if (!(true === str_contains($requestUri, "\x64\151\162\145\x63\x74"))) { goto ed693; } goto Bd34b; d475f: if (!(false === is_null($id))) { goto Af902; } goto c015c; D9834: checkPath($file, $homeDirectory); goto C8e61; A0655: if (!(true === isset($_POST["\x66\151\154\x65\163"]) && true === isset($_POST["\164\141\162\x67\145\164"]))) { goto eb902; } goto Baff3; B3afc: if (!(true === str_contains($requestUri, "\x70\x65\162\155\151\x73\x73\x69\x6f\156\163"))) { goto Ee186; } goto eadcf; cce49: $directory = sprintf("\x25\163\x2f\x25\163\x2f", rtrim($homeDirectory, "\x2f"), ltrim($id, "\57")); goto d88ef; d7acb: foreach ($filesDecoded as $file) { goto d15a6; f911a: c17e9: goto ab6a4; Fd208: if (!(true === file_exists($file))) { goto c17e9; } goto C7883; d15a6: $filePath = $file["\x69\144"] ?? null; goto A74e2; ab6a4: aa4eb: goto ec446; F9312: $file = sprintf("\x25\x73\x2f\45\163", rtrim($homeDirectory, "\x2f"), ltrim($filePath, "\x2f")); goto Fd208; A74e2: if (!(false === is_null($filePath))) { goto aa4eb; } goto F9312; C7883: $files[] = $file; goto f911a; ec446: E08d9: goto be8eb; be8eb: } goto E4d22; F6910: Ba77b: goto e39a9; b1832: $copyTo = $_POST["\x74\157"] ?? null; goto De80b; b3854: ed693: goto dcb40; b4436: a9625:

Function Calls

None

Variables

None

Stats

MD5 e20b9b89fff018e8f1ab38c2dfd25e04
Eval Count 0
Decode Time 55 ms