⚝
One Hat Cyber Team
⚝
Your IP:
172.22.0.1
Server IP:
151.80.20.34
Server:
Linux 794f04d97d5e 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
Server Software:
Apache/2.4.62 (Debian)
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
www
/
html
/
vendor
/
munafio
/
chatify
/
src
/
routes
/
Edit File: web.php
<?php /** * ----------------------------------------------------------------- * NOTE : There is two routes has a name (user & group), * any change in these two route's name may cause an issue * if not modified in all places that used in (e.g Chatify class, * Controllers, chatify javascript file...). * ----------------------------------------------------------------- */ use Illuminate\Support\Facades\Route; /* * This is the main app route [Chatify Messenger] */ Route::get('/', 'MessagesController@index')->name(config('chatify.routes.prefix')); /** * Fetch info for specific id [user/group] */ Route::post('/idInfo', 'MessagesController@idFetchData'); /** * Send message route */ Route::post('/sendMessage', 'MessagesController@send')->name('send.message'); /** * Fetch messages */ Route::post('/fetchMessages', 'MessagesController@fetch')->name('fetch.messages'); /** * Download attachments route to create a downloadable links */ Route::get('/download/{fileName}', 'MessagesController@download')->name(config('chatify.attachments.download_route_name')); /** * Authintication for pusher private channels */ Route::post('/chat/auth', 'MessagesController@pusherAuth')->name('pusher.auth'); /** * Make messages as seen */ Route::post('/makeSeen', 'MessagesController@seen')->name('messages.seen'); /** * Get contacts */ Route::post('/getContacts', 'MessagesController@getContacts')->name('contacts.get'); /** * Update contact item data */ Route::post('/updateContacts', 'MessagesController@updateContactItem')->name('contacts.update'); /** * Star in favorite list */ Route::post('/star', 'MessagesController@favorite')->name('star'); /** * get favorites list */ Route::post('/favorites', 'MessagesController@getFavorites')->name('favorites'); /** * Search in messenger */ Route::post('/search', 'MessagesController@search')->name('search'); /** * Get shared photos */ Route::post('/shared', 'MessagesController@sharedPhotos')->name('shared'); /** * Delete Conversation */ Route::post('/deleteConversation', 'MessagesController@deleteConversation')->name('conversation.delete'); /** * Delete Conversation */ Route::post('/updateSettings', 'MessagesController@updateSettings')->name('avatar.update'); /** * Set active status */ Route::post('/setActiveStatus', 'MessagesController@setActiveStatus')->name('activeStatus.set'); /* * [Group] view by id */ Route::get('/group/{id}', 'MessagesController@index')->name('group'); /* * user view by id. * Note : If you added routes after the [User] which is the below one, * it will considered as user id. * * e.g. - The commented routes below : */ // Route::get('/route', function(){ return 'Munaf'; }); // works as a route Route::get('/{id}', 'MessagesController@index')->name('user'); // Route::get('/route', function(){ return 'Munaf'; }); // works as a user id
Simpan