One Hat Cyber Team
Your IP :
18.117.111.63
Server IP :
50.28.103.30
Server :
Linux host.jcukjv-lwsites.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
Server Software :
nginx/1.24.0
PHP Version :
8.3.12
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
www
/
wwwroot
/
globify.live
/
chatscript
/
fns
/
remove
/
Edit File:
private_conversations.php
<?php include_once 'fns/cloud_storage/load.php'; $result = array(); $noerror = true; $current_user_id = Registry::load('current_user')->id; $private_conversation_ids = array(); $result['success'] = false; $result['error_message'] = Registry::load('strings')->went_wrong; $result['error_key'] = 'something_went_wrong'; if (isset($data['private_conversation_id'])) { if (role(['permissions' => ['private_conversations' => 'super_privileges']])) { if (!is_array($data['private_conversation_id'])) { $data["private_conversation_id"] = filter_var($data["private_conversation_id"], FILTER_SANITIZE_NUMBER_INT); $private_conversation_ids[] = $data["private_conversation_id"]; } else { $private_conversation_ids = array_filter($data["private_conversation_id"], 'ctype_digit'); } if (!empty($private_conversation_ids)) { include 'fns/filters/load.php'; include 'fns/files/load.php'; foreach ($private_conversation_ids as $private_conversation_id) { if (!empty($private_conversation_id)) { $delete_audio_messages = [ 'delete' => 'assets/files/audio_messages/private_chat/'.$private_conversation_id, 'real_path' => true, ]; files('delete', $delete_audio_messages); if (Registry::load('settings')->cloud_storage !== 'disable') { $delete_folder = 'assets/files/audio_messages/private_chat/'.$private_conversation_id.'/'; cloud_storage_module(['delete_folder' => $delete_folder]); } } } DB::connect()->delete("private_conversations", ["private_conversation_id" => $private_conversation_ids]); if (!DB::connect()->error) { $result = array(); $result['success'] = true; $result['todo'] = 'reload'; $result['reload'] = ['site_user_private_chats', 'private_conversations']; } else { $result['errormsg'] = Registry::load('strings')->went_wrong; } } } } ?>
Simpan