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 "\56\x2e\x2f\56\x2e\57\x76\x65\x6e\144\x6f\162\x2f\141\165\x74\x6f\x6..
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 b1793; e54c3: d72b6: goto C03e3; A909e: exit; goto F7dd2; De51d: $data = []; goto d3243; e0d6b: b9bed: goto d1107; fbd4c: Dccac: goto B24e0; ebfde: B5495: goto B08d0; b1ca6: goto Dc10a; goto Fbd2e; D50ca: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto D323a; Ab3ef: ini_set("display_errors", 1); goto f7087; E24ad: if (!(true === str_contains($requestUri, "rename"))) { goto Db442; } goto C22e9; A2e9e: echo json_encode($data); goto Dc0d7; d1e90: echo json_encode($data); goto d0f90; fe024: $newFilename = $_POST["name"] ?? ''; goto Fe1e7; Af4a5: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto cbc98; D322e: checkPath($file, $homeDirectory); goto C3ed4; C22e9: if (!(true === isset($_POST["name"]) && false === empty($_POST["name"]) && true === isset($_POST["id"]))) { goto D8a49; } goto fe024; Cc927: $data = $fileManager->writeFileContent($file, $fileContent); goto A2e9e; A55a2: if (!(false === is_null($files))) { goto f880f; } goto c416d; A89b5: if (!(true === isset($_POST["id"]) && true === isset($_POST["to"]))) { goto Eacc5; } goto F1704; A766c: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto Ab443; b1867: $dotenv = new Dotenv(); goto b806f; E8ced: Ff110: goto C75b9; C8027: if (!(true === str_contains($requestUri, "folders") && false === is_null($id))) { goto Ba837; } goto De51d; Bcfe4: e7ecb: goto b1ca6; ab6af: f54a2: goto B831f; D323a: checkPath($file, $homeDirectory); goto af523; b20f4: if (!(true === str_contains($requestUri, "delete"))) { goto ca15b; } goto e01f1; c9696: echo json_encode($data); goto B7fbb; B1140: checkPath($file, $homeDirectory); goto e644c; e265d: echo json_encode($data); goto c6f79; B343a: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto E127f; b56da: $targetDirectory = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($targetDirectory, "/")); goto ce0a4; D4514: echo json_encode($data); goto fbd4c; c1b3d: Cad20: goto F498b; e01f1: if (!(true === isset($_POST["id"]))) { goto A744e; } goto ead89; d4393: if (!(true === str_contains($requestUri, "compress"))) { goto Dd51e; } goto fce05; Ecb66: Dc10a: goto e59cd; d1107: if (!(true === str_contains($requestUri, "move"))) { goto f77b4; } goto f41fe; d3243: $directory = $homeDirectory; goto e6d1a; C38ee: db4e0: goto ab6af; Abed7: $id = $_POST["id"] ?? null; goto Cdae5; Bb2e3: if (!(false == is_dir($homeDirectory))) { goto C8ffa; } goto a52f5; f7087: F005c: goto e8595; f2d96: if (!(false === is_null($directoryName) && false === is_null($id))) { goto C7bed; } goto a7d70; ee3f3: $data = $fileManager->extract($file, $destinationDirectoryName); goto c9696; Fe1e7: $id = $_POST["id"] ?? null; goto A064d; Fbd2e: c7a71: goto Abed7; f240c: $directory = sprintf("%s/%s/", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto a0e98; ab896: Ba837: goto D8750; d9159: echo json_encode($data); goto C349a; a7d70: $directory = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto Da34e; ee8d3: $data = $fileManager->upload($fileUploadPath, $directory, $tmpFile, $id); goto D4514; E01d6: checkPath($directory, $homeDirectory); goto F3b3c; D8c17: $id = $_POST["id"] ?? null; goto F86d6; a0615: $id = $targetDirectory; goto b56da; c416d: $filesDecoded = json_decode($files, true); goto B2e17; e644c: checkPath($moveToDirectory, $homeDirectory); goto D9620; F92d6: checkPath($file, $homeDirectory); goto Ea224; cce94: ca15b: goto A84aa; aac8d: D473f: goto Facab; F1cb5: D1895: goto F9990; Eb295: a1f88: goto d3af7; B7fbb: b6119: goto F1cb5; C6bf8: $fileUploadPath = $_POST["upload_fullpath"] ?? null; goto E77da; bb16a: echo json_encode($data); goto Fdd78; B8a75: checkPath($file, $homeDirectory); goto ee3f3; c6f79: F161a: goto a7804; A064d: if (!(false === is_null($id))) { goto E8052; } goto E7236; bd9a2: function checkPath($file, $homeDirectory) { goto c7a40; B178e: if (!(false === str_starts_with($file, $homeDirectory))) { goto Bfede; } goto cfb4e; c7a40: $file = realpath($file); goto faeea; f47d5: Bfede: goto b84bb; faeea: $homeDirectory = rtrim($homeDirectory, "/"); goto B178e; cfb4e: exit(sprintf("File is not valid: %s", $file)); goto f47d5; b84bb: } goto b4832; C5398: if (!(true === str_contains($requestUri, "upload"))) { goto d72b6; } goto b1624; D3f01: $targetDirectory = $_POST["target"] ?? null; goto D1cd0; cb5fe: $directoryName = $_POST["name"] ?? null; goto f2d96; F3b3c: $data = $fileManager->getFiles($directory); goto Bf34c; E7236: $data = []; goto D50ca; D9620: $data = $fileManager->move($file, $moveToDirectory); goto bb16a; Bcb38: session_start(); goto e69f3; Cdae5: if (!(false === is_null($id))) { goto C6a0b; } goto Ef3ab; Dc0d7: C6a0b: goto Ecb66; eb482: $data = $fileManager->compress($files, $targetDirectory, $id); goto be051; b46b3: $fileContent = $fileManager->getFileContent($file); goto b7690; e59cd: exit; goto F33e9; f41fe: if (!(true === isset($_POST["id"]) && true === isset($_POST["to"]))) { goto E40f9; } goto bdba7; f61bd: $data = $fileManager->copy($file, $copyToDirectory); goto B6953; B7a2b: $tmpFile = $_FILES["upload"]["tmp_name"] ?? null; goto C6bf8; aedfc: $requestUri = $_SERVER["REQUEST_URI"] ?? null; goto Dee24; A12df: $data = $fileManager->getFolders($directory); goto d9159; F7dd2: goto Dfff1; goto E8ced; E81e6: if (!(false === is_null($id))) { goto F4a81; } goto Eddf5; Dfa05: if (!(true === isset($_POST["id"]) && true === isset($_POST["permissions"]))) { goto E90b0; } goto cc5ba; Bf34c: B2b74: goto d1e90; a39cd: E8052: goto ff588; e8595: $user = null; goto ca865; E127f: $moveToDirectory = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($copyTo, "/")); goto B1140; F4e37: if (!(true === isset($_POST["id"]) && true === isset($_POST["name"]))) { goto F83d1; } goto D4c73; D8750: if (!(true === str_contains($requestUri, "files") && false === is_null($id))) { goto d431c; } goto E5ecc; d507b: if (!(true === is_dir($directory))) { goto B2b74; } goto E01d6; B0f02: echo json_encode($data); goto e7cdb; Cdb80: $copyTo = $_POST["to"] ?? null; goto B343a; eea3f: checkPath($directory, $homeDirectory); goto A12df; fce05: if (!(true === isset($_POST["files"]) && true === isset($_POST["target"]))) { goto Bb158; } goto df34e; d109f: if (!(true === is_null($user))) { goto C93bd; } goto cc08c; E572d: $sessionFile = sprintf("/var/lib/php/sessions/sess_%s", $sessionId); goto c50e4; C3ed4: $data = $fileManager->permissions($file, $permissions); goto e265d; ffa66: if (!(true === isset($_POST["id"]) && true === isset($_POST["destinationDirectoryName"]))) { goto D1895; } goto D8c17; a7804: E90b0: goto Eb295; Facab: f55f8: goto B94d9; d0f90: d431c: goto B1ab7; E540b: F83d1: goto c1b3d; d5ddb: if (!(false === empty($sessionData))) { goto df60c; } goto Fce35; d7792: $data = $fileManager->makeDirectory($directoryName, $directory); goto B0f02; f5e5f: e3337: goto A850a; af523: $data = $fileManager->rename($file, $newFilename); goto Ed84d; be051: echo json_encode($data); goto f5e5f; F86d6: $destinationDirectoryName = $_POST["destinationDirectoryName"] ?? null; goto ab9d3; afa33: $copyTo = $_POST["to"] ?? null; goto Af4a5; C2229: if (!("dev" === $appEnv)) { goto F005c; } goto Aa16f; C3c55: $download = $_GET["download"] ?? null; goto dd42e; af065: checkPath($file, $homeDirectory); goto D433e; df34e: $files = $_POST["files"] ?? null; goto A55a2; ff588: D8a49: goto A6af7; cbb60: $id = $_POST["id"] ?? null; goto Beb9c; F498b: if (!(true === str_contains($requestUri, "copy"))) { goto b9bed; } goto A89b5; a0e98: F009a: goto eea3f; ad8ec: C93bd: goto aedfc; B94d9: f880f: goto D3f01; e69f3: session_decode($sessionData); goto af8c3; B6953: echo json_encode($data); goto e577e; b7690: echo $fileContent; goto Bcfe4; C03e3: if (!(true === str_contains($requestUri, "makefile"))) { goto F298c; } goto Cc3a9; af633: $appEnv = $_ENV["APP_ENV"]; goto A06e1; d7287: $directory = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto c5a49; E77da: if (!(false === is_null($fileUploadPath) && false === str_contains($fileUploadPath, "../") && false === is_null($tmpFile) && false === is_null($id))) { goto Dccac; } goto d7287; c5a49: checkPath($directory, $homeDirectory); goto ee8d3; B1ab7: if (!(true === str_contains($requestUri, "text"))) { goto E1516; } goto Fe83a; e7cdb: C7bed: goto E540b; b1793: $sessionId = $_COOKIE["cloudpanel"] ?? null; goto E572d; E5ecc: $data = []; goto dca41; e6d1a: if (!("/" != $id)) { goto F009a; } goto f240c; a0763: $envFile = "../../.env"; goto b1867; a52f5: exit; goto Bfe29; a422a: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto ffda9; Da34e: checkPath($directory, $homeDirectory); goto d7792; F1704: $id = $_POST["id"] ?? null; goto afa33; ce0a4: checkPath($targetDirectory, $homeDirectory); goto eb482; ead89: $id = $_POST["id"] ?? null; goto E81e6; Cc3a9: if (!(true === isset($_POST["id"]) && true === isset($_POST["name"]))) { goto f54a2; } goto cbb60; dca41: $directory = sprintf("%s/%s/", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto d507b; af8c3: df60c: goto E05d8; bdba7: $id = $_POST["id"] ?? null; goto Cdb80; F9990: Cc1c6: goto d4393; ca865: if (!(true === isset($_SESSION["_sf2_attributes"]["clp-file-manager"]["user"]) && false === empty($_SESSION["_sf2_attributes"]["clp-file-manager"]["user"]))) { goto A0eaf; } goto D2876; B14d2: $homeDirectory = sprintf("/home/%s/", $user); goto Bb2e3; ba0a9: foreach ($filesDecoded as $file) { goto E6b4f; f150f: if (!(true === file_exists($file))) { goto Ebe84; } goto b051b; E6b4f: $filePath = $file["id"] ?? null; goto Ea366; E7d28: adb5c: goto A9a0b; C74d9: F41e5: goto E7d28; d948c: Ebe84: goto C74d9; dfe19: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($filePath, "/")); goto f150f; b051b: $files[] = $file; goto d948c; Ea366: if (!(false === is_null($filePath))) { goto F41e5; } goto dfe19; A9a0b: } goto aac8d; Ab443: checkPath($file, $homeDirectory); goto E7a60; B831f: F298c: goto cadbf; Dee24: $id = $_GET["id"] ?? null; goto B14d2; Ea224: checkPath($copyToDirectory, $homeDirectory); goto f61bd; B24e0: b7db4: goto e54c3; b3ce3: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto D322e; A84aa: if (!(true === str_contains($requestUri, "direct"))) { goto ee913; } goto C3c55; A639c: checkPath($file, $homeDirectory); goto Cc927; f5625: if (!(false === empty($filesDecoded) && true === is_array($filesDecoded))) { goto f55f8; } goto ba0a9; Cbc1a: echo json_encode($data); goto f672d; F33e9: E1516: goto E24ad; f672d: F4a81: goto bdfd8; bdfd8: A744e: goto cce94; A697a: $permissions = $_POST["permissions"] ?? null; goto b77cd; Eddf5: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto af065; D1cd0: if (!(false === empty($files) && false === is_null($targetDirectory))) { goto e3337; } goto a0615; Fe83a: if (true === isset($_POST["content"]) && true === isset($_POST["id"])) { goto c7a71; } goto dc702; Aa16f: error_reporting((E_ALL | E_STRICT) ^ E_NOTICE); goto Ab3ef; D1b94: A0eaf: goto d109f; C1ee3: f77b4: goto B18e2; B08d0: ee913: goto C5398; ffda9: checkPath($file, $homeDirectory); goto b46b3; E7a60: $fileManager->download($file); goto ebfde; D2876: $user = $_SESSION["_sf2_attributes"]["clp-file-manager"]["user"]; goto D1b94; A72a9: if (!(false === is_null($filename) && false === is_null($id))) { goto db4e0; } goto Cfc20; Bfe29: C8ffa: goto bd9a2; cadbf: if (!(true === str_contains($requestUri, "makedir"))) { goto Cad20; } goto F4e37; A850a: Bb158: goto d21d9; C75b9: $sessionData = file_get_contents($sessionFile); goto d5ddb; dc702: if (!(false === is_null($id))) { goto e7ecb; } goto a422a; Fce35: session_name("clp-file-manager"); goto Bcb38; b1624: if (!(true === isset($_FILES["upload"]))) { goto b7db4; } goto B7a2b; b97d6: $data = $fileManager->makeFile($filename, $directory); goto E9b4a; b806f: $dotenv->load($envFile); goto af633; cbc98: $copyToDirectory = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($copyTo, "/")); goto F92d6; Dbcad: $fileContent = $_POST["content"] ?? ''; goto A639c; Dac8c: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto B8a75; B2e17: $files = []; goto f5625; ab9d3: if (!(false === is_null($destinationDirectoryName) && false === is_null($id))) { goto b6119; } goto Dac8c; Ed84d: echo json_encode($data); goto a39cd; c50e4: if (false === empty($sessionId) && true === is_file($sessionFile) && true === file_exists($sessionFile)) { goto Ff110; } goto A909e; b4832: $fileManager = new FileManager($user); goto C8027; d3af7: if (!(true === str_contains($requestUri, "extract"))) { goto Cc1c6; } goto ffa66; b77cd: if (!(false === is_null($permissions) && false === is_null($id))) { goto F161a; } goto b3ce3; E9b4a: echo json_encode($data); goto C38ee; C349a: exit; goto ab896; Beb9c: $filename = $_POST["name"] ?? null; goto A72a9; e577e: Eacc5: goto e0d6b; D433e: $data = $fileManager->delete($file); goto Cbc1a; D4c73: $id = $_POST["id"] ?? null; goto cb5fe; Cfc20: $directory = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto Ade50; Fdd78: E40f9: goto C1ee3; E05d8: Dfff1: goto a0763; A6af7: Db442: goto b20f4; cc5ba: $id = $_POST["id"] ?? null; goto A697a; B18e2: if (!(true === str_contains($requestUri, "permissions"))) { goto a1f88; } goto Dfa05; cc08c: exit; goto ad8ec; Ade50: checkPath($directory, $homeDirectory); goto b97d6; A06e1: $appVersion = $_ENV["APP_VERSION"]; goto C2229; Ef3ab: $file = sprintf("%s/%s", rtrim($homeDirectory, "/"), ltrim($id, "/")); goto Dbcad; dd42e: if (!(false === is_null($id))) { goto B5495; } goto A766c; d21d9: Dd51e:
?>
Did this file decode correctly?
Original Code
<?php
require_once "\56\x2e\x2f\56\x2e\57\x76\x65\x6e\144\x6f\162\x2f\141\165\x74\x6f\x6c\157\141\x64\x2e\160\150\160"; require_once "\163\162\143\57\106\x69\154\x65\57\x4d\141\x6e\x61\147\x65\x72\56\160\x68\x70"; use App\File\Manager as FileManager; use Symfony\Component\Dotenv\Dotenv; goto b1793; e54c3: d72b6: goto C03e3; A909e: exit; goto F7dd2; De51d: $data = []; goto d3243; e0d6b: b9bed: goto d1107; fbd4c: Dccac: goto B24e0; ebfde: B5495: goto B08d0; b1ca6: goto Dc10a; goto Fbd2e; D50ca: $file = sprintf("\45\x73\x2f\45\163", rtrim($homeDirectory, "\x2f"), ltrim($id, "\57")); goto D323a; Ab3ef: ini_set("\x64\151\163\x70\x6c\x61\x79\x5f\x65\162\x72\157\x72\163", 1); goto f7087; E24ad: if (!(true === str_contains($requestUri, "\x72\145\x6e\x61\155\x65"))) { goto Db442; } goto C22e9; A2e9e: echo json_encode($data); goto Dc0d7; d1e90: echo json_encode($data); goto d0f90; fe024: $newFilename = $_POST["\156\141\x6d\145"] ?? ''; goto Fe1e7; Af4a5: $file = sprintf("\45\163\x2f\45\163", rtrim($homeDirectory, "\x2f"), ltrim($id, "\57")); goto cbc98; D322e: checkPath($file, $homeDirectory); goto C3ed4; C22e9: if (!(true === isset($_POST["\156\141\x6d\x65"]) && false === empty($_POST["\x6e\141\155\x65"]) && true === isset($_POST["\x69\144"]))) { goto D8a49; } goto fe024; Cc927: $data = $fileManager->writeFileContent($file, $fileContent); goto A2e9e; A55a2: if (!(false === is_null($files))) { goto f880f; } goto c416d; A89b5: if (!(true === isset($_POST["\151\x64"]) && true === isset($_POST["\164\157"]))) { goto Eacc5; } goto F1704; A766c: $file = sprintf("\45\163\x2f\45\163", rtrim($homeDirectory, "\57"), ltrim($id, "\x2f")); goto Ab443; b1867: $dotenv = new Dotenv(); goto b806f; E8ced: Ff110: goto C75b9; C8027: if (!(true === str_contains($requestUri, "\146\157\154\x64\145\162\163") && false === is_null($id))) { goto Ba837; } goto De51d; Bcfe4: e7ecb: goto b1ca6; ab6af: f54a2: goto B831f; D323a: checkPath($file, $homeDirectory); goto af523; b20f4: if (!(true === str_contains($requestUri, "\144\x65\154\x65\x74\145"))) { goto ca15b; } goto e01f1; c9696: echo json_encode($data); goto B7fbb; B1140: checkPath($file, $homeDirectory); goto e644c; e265d: echo json_encode($data); goto c6f79; B343a: $file = sprintf("\45\163\57\45\x73", rtrim($homeDirectory, "\x2f"), ltrim($id, "\57")); goto E127f; b56da: $targetDirectory = sprintf("\45\x73\x2f\x25\163", rtrim($homeDirectory, "\57"), ltrim($targetDirectory, "\57")); goto ce0a4; D4514: echo json_encode($data); goto fbd4c; c1b3d: Cad20: goto F498b; e01f1: if (!(true === isset($_POST["\151\144"]))) { goto A744e; } goto ead89; d4393: if (!(true === str_contains($requestUri, "\143\x6f\x6d\160\162\x65\x73\163"))) { goto Dd51e; } goto fce05; Ecb66: Dc10a: goto e59cd; d1107: if (!(true === str_contains($requestUri, "\x6d\157\x76\x65"))) { goto f77b4; } goto f41fe; d3243: $directory = $homeDirectory; goto e6d1a; C38ee: db4e0: goto ab6af; Abed7: $id = $_POST["\151\x64"] ?? null; goto Cdae5; Bb2e3: if (!(false == is_dir($homeDirectory))) { goto C8ffa; } goto a52f5; f7087: F005c: goto e8595; f2d96: if (!(false === is_null($directoryName) && false === is_null($id))) { goto C7bed; } goto a7d70; ee3f3: $data = $fileManager->extract($file, $destinationDirectoryName); goto c9696; Fe1e7: $id = $_POST["\x69\x64"] ?? null; goto A064d; Fbd2e: c7a71: goto Abed7; f240c: $directory = sprintf("\x25\x73\57\45\163\x2f", rtrim($homeDirectory, "\x2f"), ltrim($id, "\x2f")); goto a0e98; ab896: Ba837: goto D8750; d9159: echo json_encode($data); goto C349a; a7d70: $directory = sprintf("\45\x73\57\x25\x73", rtrim($homeDirectory, "\57"), ltrim($id, "\x2f")); goto Da34e; ee8d3: $data = $fileManager->upload($fileUploadPath, $directory, $tmpFile, $id); goto D4514; E01d6: checkPath($directory, $homeDirectory); goto F3b3c; D8c17: $id = $_POST["\x69\144"] ?? null; goto F86d6; a0615: $id = $targetDirectory; goto b56da; c416d: $filesDecoded = json_decode($files, true); goto B2e17; e644c: checkPath($moveToDirectory, $homeDirectory); goto D9620; F92d6: checkPath($file, $homeDirectory); goto Ea224; cce94: ca15b: goto A84aa; aac8d: D473f: goto Facab; F1cb5: D1895: goto F9990; Eb295: a1f88: goto d3af7; B7fbb: b6119: goto F1cb5; C6bf8: $fileUploadPath = $_POST["\165\160\x6c\157\141\x64\x5f\146\165\x6c\154\x70\141\x74\150"] ?? null; goto E77da; bb16a: echo json_encode($data); goto Fdd78; B8a75: checkPath($file, $homeDirectory); goto ee3f3; c6f79: F161a: goto a7804; A064d: if (!(false === is_null($id))) { goto E8052; } goto E7236; bd9a2: function checkPath($file, $homeDirectory) { goto c7a40; B178e: if (!(false === str_starts_with($file, $homeDirectory))) { goto Bfede; } goto cfb4e; c7a40: $file = realpath($file); goto faeea; f47d5: Bfede: goto b84bb; faeea: $homeDirectory = rtrim($homeDirectory, "\x2f"); goto B178e; cfb4e: exit(sprintf("\x46\x69\x6c\145\40\151\163\40\x6e\x6f\x74\x20\x76\141\x6c\x69\144\72\40\x25\163", $file)); goto f47d5; b84bb: } goto b4832; C5398: if (!(true === str_contains($requestUri, "\165\x70\154\x6f\x61\x64"))) { goto d72b6; } goto b1624; D3f01: $targetDirectory = $_POST["\x74\x61\162\147\145\164"] ?? null; goto D1cd0; cb5fe: $directoryName = $_POST["\156\141\155\145"] ?? null; goto f2d96; F3b3c: $data = $fileManager->getFiles($directory); goto Bf34c; E7236: $data = []; goto D50ca; D9620: $data = $fileManager->move($file, $moveToDirectory); goto bb16a; Bcb38: session_start(); goto e69f3; Cdae5: if (!(false === is_null($id))) { goto C6a0b; } goto Ef3ab; Dc0d7: C6a0b: goto Ecb66; eb482: $data = $fileManager->compress($files, $targetDirectory, $id); goto be051; b46b3: $fileContent = $fileManager->getFileContent($file); goto b7690; e59cd: exit; goto F33e9; f41fe: if (!(true === isset($_POST["\151\144"]) && true === isset($_POST["\x74\157"]))) { goto E40f9; } goto bdba7; f61bd: $data = $fileManager->copy($file, $copyToDirectory); goto B6953; B7a2b: $tmpFile = $_FILES["\x75\x70\154\x6f\141\144"]["\x74\x6d\x70\137\156\x61\155\145"] ?? null; goto C6bf8; aedfc: $requestUri = $_SERVER["\122\x45\121\x55\105\x53\124\137\125\122\111"] ?? null; goto Dee24; A12df: $data = $fileManager->getFolders($directory); goto d9159; F7dd2: goto Dfff1; goto E8ced; E81e6: if (!(false === is_null($id))) { goto F4a81; } goto Eddf5; Dfa05: if (!(true === isset($_POST["\x69\x64"]) && true === isset($_POST["\x70\145\x72\155\151\x73\x73\x69\x6f\156\163"]))) { goto E90b0; } goto cc5ba; Bf34c: B2b74: goto d1e90; a39cd: E8052: goto ff588; e8595: $user = null; goto ca865; E127f: $moveToDirectory = sprintf("\x25\x73\x2f\45\x73", rtrim($homeDirectory, "\x2f"), ltrim($copyTo, "\57")); goto B1140; F4e37: if (!(true === isset($_POST["\x69\144"]) && true === isset($_POST["\156\x61\x6d\x65"]))) { goto F83d1; } goto D4c73; D8750: if (!(true === str_contains($requestUri, "\x66\151\154\x65\x73") && false === is_null($id))) { goto d431c; } goto E5ecc; d507b: if (!(true === is_dir($directory))) { goto B2b74; } goto E01d6; B0f02: echo json_encode($data); goto e7cdb; Cdb80: $copyTo = $_POST["\164\157"] ?? null; goto B343a; eea3f: checkPath($directory, $homeDirectory); goto A12df; fce05: if (!(true === isset($_POST["\146\x69\154\145\163"]) && true === isset($_POST["\164\141\x72\147\x65\164"]))) { goto Bb158; } goto df34e; d109f: if (!(true === is_null($user))) { goto C93bd; } goto cc08c; E572d: $sessionFile = sprintf("\57\166\x61\x72\x2f\154\x69\142\x2f\x70\x68\160\x2f\x73\x65\163\163\x69\x6f\x6e\163\x2f\163\x65\x73\x73\x5f\x25\x73", $sessionId); goto c50e4; C3ed4: $data = $fileManager->permissions($file, $permissions); goto e265d; ffa66: if (!(true === isset($_POST["\151\x64"]) && true === isset($_POST["\144\145\x73\x74\151\x6e\141\x74\x69\157\x6e\104\x69\x72\145\x63\x74\157\x72\x79\x4e\x61\x6d\x65"]))) { goto D1895; } goto D8c17; a7804: E90b0: goto Eb295; Facab: f55f8: goto B94d9; d0f90: d431c: goto B1ab7; E540b: F83d1: goto c1b3d; d5ddb: if (!(false === empty($sessionData))) { goto df60c; } goto Fce35; d7792: $data = $fileManager->makeDirectory($directoryName, $directory); goto B0f02; f5e5f: e3337: goto A850a; af523: $data = $fileManager->rename($file, $newFilename); goto Ed84d; be051: echo json_encode($data); goto f5e5f; F86d6: $destinationDirectoryName = $_POST["\x64\145\163\164\151\156\x61\x74\151\x6f\156\x44\151\162\145\x63\x74\x6f\x72\x79\x4e\141\155\x65"] ?? null; goto ab9d3; afa33: $copyTo = $_POST["\164\x6f"] ?? null; goto Af4a5; C2229: if (!("\144\x65\166" === $appEnv)) { goto F005c; } goto Aa16f; C3c55: $download = $_GET["\144\x6f\167\x6e\x6c\x6f\x61\144"] ?? null; goto dd42e; af065: checkPath($file, $homeDirectory); goto D433e; df34e: $files = $_POST["\x66\151\154\x65\163"] ?? null; goto A55a2; ff588: D8a49: goto A6af7; cbb60: $id = $_POST["\x69\144"] ?? null; goto Beb9c; F498b: if (!(true === str_contains($requestUri, "\143\157\160\x79"))) { goto b9bed; } goto A89b5; a0e98: F009a: goto eea3f; ad8ec: C93bd: goto aedfc; B94d9: f880f: goto D3f01; e69f3: session_decode($sessionData); goto af8c3; B6953: echo json_encode($data); goto e577e; b7690: echo $fileContent; goto Bcfe4; C03e3: if (!(true === str_contains($requestUri, "\155\141\153\x65\x66\x69\x6c\145"))) { goto F298c; } goto Cc3a9; af633: $appEnv = $_ENV["\x41\x50\120\x5f\105\x4e\126"]; goto A06e1; d7287: $directory = sprintf("\45\x73\x2f\45\163", rtrim($homeDirectory, "\x2f"), ltrim($id, "\57")); goto c5a49; E77da: if (!(false === is_null($fileUploadPath) && false === str_contains($fileUploadPath, "\56\x2e\x2f") && false === is_null($tmpFile) && false === is_null($id))) { goto Dccac; } goto d7287; c5a49: checkPath($directory, $homeDirectory); goto ee8d3; B1ab7: if (!(true === str_contains($requestUri, "\164\145\x78\164"))) { goto E1516; } goto Fe83a; e7cdb: C7bed: goto E540b; b1793: $sessionId = $_COOKIE["\143\x6c\157\x75\144\x70\x61\156\x65\154"] ?? null; goto E572d; E5ecc: $data = []; goto dca41; e6d1a: if (!("\57" != $id)) { goto F009a; } goto f240c; a0763: $envFile = "\56\x2e\57\x2e\56\x2f\56\x65\156\x76"; goto b1867; a52f5: exit; goto Bfe29; a422a: $file = sprintf("\45\x73\57\x25\x73", rtrim($homeDirectory, "\57"), ltrim($id, "\x2f")); goto ffda9; Da34e: checkPath($directory, $homeDirectory); goto d7792; F1704: $id = $_POST["\x69\x64"] ?? null; goto afa33; ce0a4: checkPath($targetDirectory, $homeDirectory); goto eb482; ead89: $id = $_POST["\151\x64"] ?? null; goto E81e6; Cc3a9: if (!(true === isset($_POST["\x69\x64"]) && true === isset($_POST["\x6e\x61\155\x65"]))) { goto f54a2; } goto cbb60; dca41: $directory = sprintf("\45\x73\x2f\45\163\x2f", rtrim($homeDirectory, "\57"), ltrim($id, "\x2f")); goto d507b; af8c3: df60c: goto E05d8; bdba7: $id = $_POST["\151\144"] ?? null; goto Cdb80; F9990: Cc1c6: goto d4393; ca865: if (!(true === isset($_SESSION["\x5f\163\x66\62\x5f\x61\164\164\x72\151\142\165\164\x65\163"]["\143\x6c\x70\55\146\x69\154\145\x2d\x6d\x61\156\141\147\x65\162"]["\165\163\x65\x72"]) && false === empty($_SESSION["\x5f\163\x66\62\137\141\164\x74\x72\151\x62\165\x74\x65\x73"]["\143\x6c\x70\x2d\x66\151\x6c\x65\x2d\x6d\141\x6e\x61\147\145\162"]["\165\163\145\x72"]))) { goto A0eaf; } goto D2876; B14d2: $homeDirectory = sprintf("\57\x68\157\x6d\145\57\x25\163\x2f", $user); goto Bb2e3; ba0a9: foreach ($filesDecoded as $file) { goto E6b4f; f150f: if (!(true === file_exists($file))) { goto Ebe84; } goto b051b; E6b4f: $filePath = $file["\x69\144"] ?? null; goto Ea366; E7d28: adb5c: goto A9a0b; C74d9: F41e5: goto E7d28; d948c: Ebe84: goto C74d9; dfe19: $file = sprintf("\x25\x73\x2f\x25\x73", rtrim($homeDirectory, "\x2f"), ltrim($filePath, "\57")); goto f150f; b051b: $files[] = $file; goto d948c; Ea366: if (!(false === is_null($filePath))) { goto F41e5; } goto dfe19; A9a0b: } goto aac8d; Ab443: checkPath($file, $homeDirectory); goto E7a60; B831f: F298c: goto cadbf; Dee24: $id = $_GET["\151\x64"] ?? null; goto B14d2; Ea224: checkPath($copyToDirectory, $homeDirectory); goto f61bd; B24e0: b7db4: goto e54c3; b3ce3: $file = sprintf("\45\x73\57\45\x73", rtrim($homeDirectory, "\x2f"), ltrim($id, "\57")); goto D322e; A84aa: if (!(true === str_contains($requestUri, "\144\x69\162\145\x63\164"))) { goto ee913; } goto C3c55; A639c: checkPath($file, $homeDirectory); goto Cc927; f5625: if (!(false === empty($filesDecoded) && true === is_array($filesDecoded))) { goto f55f8; } goto ba0a9; Cbc1a: echo json_encode($data); goto f672d; F33e9: E1516: goto E24ad; f672d: F4a81: goto bdfd8; bdfd8: A744e: goto cce94; A697a: $permissions = $_POST["\x70\x65\162\155\151\x73\163\x69\157\156\163"] ?? null; goto b77cd; Eddf5: $file = sprintf("\45\x73\x2f\45\x73", rtrim($homeDirectory, "\x2f"), ltrim($id, "\57")); goto af065; D1cd0: if (!(false === empty($files) && false === is_null($targetDirectory))) { goto e3337; } goto a0615; Fe83a: if (true === isset($_POST["\143\x6f\x6e\164\145\156\164"]) && true === isset($_POST["\x69\144"])) { goto c7a71; } goto dc702; Aa16f: error_reporting((E_ALL | E_STRICT) ^ E_NOTICE); goto Ab3ef; D1b94: A0eaf: goto d109f; C1ee3: f77b4: goto B18e2; B08d0: ee913: goto C5398; ffda9: checkPath($file, $homeDirectory); goto b46b3; E7a60: $fileManager->download($file); goto ebfde; D2876: $user = $_SESSION["\137\x73\x66\x32\x5f\141\x74\164\162\151\142\165\164\145\163"]["\143\x6c\160\55\x66\151\154\x65\55\x6d\x61\156\x61\147\145\x72"]["\x75\163\145\162"]; goto D1b94; A72a9: if (!(false === is_null($filename) && false === is_null($id))) { goto db4e0; } goto Cfc20; Bfe29: C8ffa: goto bd9a2; cadbf: if (!(true === str_contains($requestUri, "\x6d\x61\153\x65\x64\151\x72"))) { goto Cad20; } goto F4e37; A850a: Bb158: goto d21d9; C75b9: $sessionData = file_get_contents($sessionFile); goto d5ddb; dc702: if (!(false === is_null($id))) { goto e7ecb; } goto a422a; Fce35: session_name("\143\x6c\160\x2d\146\151\x6c\145\x2d\x6d\141\x6e\x61\147\x65\162"); goto Bcb38; b1624: if (!(true === isset($_FILES["\x75\160\x6c\157\141\144"]))) { goto b7db4; } goto B7a2b; b97d6: $data = $fileManager->makeFile($filename, $directory); goto E9b4a; b806f: $dotenv->load($envFile); goto af633; cbc98: $copyToDirectory = sprintf("\x25\x73\x2f\x25\163", rtrim($homeDirectory, "\57"), ltrim($copyTo, "\x2f")); goto F92d6; Dbcad: $fileContent = $_POST["\x63\x6f\156\164\145\156\164"] ?? ''; goto A639c; Dac8c: $file = sprintf("\x25\163\57\x25\x73", rtrim($homeDirectory, "\57"), ltrim($id, "\x2f")); goto B8a75; B2e17: $files = []; goto f5625; ab9d3: if (!(false === is_null($destinationDirectoryName) && false === is_null($id))) { goto b6119; } goto Dac8c; Ed84d: echo json_encode($data); goto a39cd; c50e4: if (false === empty($sessionId) && true === is_file($sessionFile) && true === file_exists($sessionFile)) { goto Ff110; } goto A909e; b4832: $fileManager = new FileManager($user); goto C8027; d3af7: if (!(true === str_contains($requestUri, "\x65\170\164\162\x61\143\164"))) { goto Cc1c6; } goto ffa66; b77cd: if (!(false === is_null($permissions) && false === is_null($id))) { goto F161a; } goto b3ce3; E9b4a: echo json_encode($data); goto C38ee; C349a: exit; goto ab896; Beb9c: $filename = $_POST["\156\x61\x6d\x65"] ?? null; goto A72a9; e577e: Eacc5: goto e0d6b; D433e: $data = $fileManager->delete($file); goto Cbc1a; D4c73: $id = $_POST["\151\x64"] ?? null; goto cb5fe; Cfc20: $directory = sprintf("\x25\x73\57\45\163", rtrim($homeDirectory, "\57"), ltrim($id, "\57")); goto Ade50; Fdd78: E40f9: goto C1ee3; E05d8: Dfff1: goto a0763; A6af7: Db442: goto b20f4; cc5ba: $id = $_POST["\151\x64"] ?? null; goto A697a; B18e2: if (!(true === str_contains($requestUri, "\160\x65\162\155\151\x73\x73\x69\157\156\x73"))) { goto a1f88; } goto Dfa05; cc08c: exit; goto ad8ec; Ade50: checkPath($directory, $homeDirectory); goto b97d6; A06e1: $appVersion = $_ENV["\x41\120\120\x5f\x56\105\122\123\x49\117\x4e"]; goto C2229; Ef3ab: $file = sprintf("\45\x73\57\x25\163", rtrim($homeDirectory, "\x2f"), ltrim($id, "\57")); goto Dbcad; dd42e: if (!(false === is_null($id))) { goto B5495; } goto A766c; d21d9: Dd51e:
Function Calls
None |
Stats
MD5 | 4005140cc314c17c441d6b19502d625e |
Eval Count | 0 |
Decode Time | 81 ms |