One Hat Cyber Team
Your IP :
18.188.37.186
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:
avatars.php
<?php $result = array(); $noerror = true; $result['success'] = false; $result['error_message'] = Registry::load('strings')->went_wrong; $result['error_key'] = 'something_went_wrong'; $avatars = array(); if (role(['permissions' => ['avatars' => 'delete']])) { include 'fns/filters/load.php'; include 'fns/files/load.php'; if (isset($data['avatar'])) { if (!is_array($data['avatar'])) { $avatars[] = $data["avatar"]; } else { $avatars = $data["avatar"]; } } if (!empty($avatars)) { foreach ($avatars as $avatar) { $avatar = sanitize_filename($avatar); if (!empty($avatar)) { $location = 'assets/files/avatars/'.$avatar; files('delete', ['delete' => $location, 'real_path' => true]); } } $result = array(); $result['success'] = true; $result['todo'] = 'reload'; $result['reload'] = 'avatars'; } } ?>
Simpan