-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
rohihbs.com
/
wp-content
/
plugins
/
litespeed-cache
/
src
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
cdn
--
NONE
data_structure
--
NONE
activation.cls.php
17.437KB
Edit File
Delete File
Rename
admin-display.cls.php
48.119KB
Edit File
Delete File
Rename
admin-settings.cls.php
11.116KB
Edit File
Delete File
Rename
admin.cls.php
5.046KB
Edit File
Delete File
Rename
api.cls.php
10.437KB
Edit File
Delete File
Rename
base.cls.php
34.58KB
Edit File
Delete File
Rename
cloud.cls.php
65.796KB
Edit File
Delete File
Rename
control.cls.php
24.349KB
Edit File
Delete File
Rename
core.cls.php
21.015KB
Edit File
Delete File
Rename
crawler-map.cls.php
19.428KB
Edit File
Delete File
Rename
crawler.cls.php
42.195KB
Edit File
Delete File
Rename
css.cls.php
15.271KB
Edit File
Delete File
Rename
data.cls.php
16.49KB
Edit File
Delete File
Rename
data.upgrade.func.php
3.073KB
Edit File
Delete File
Rename
db-optm.cls.php
10.341KB
Edit File
Delete File
Rename
debug2.cls.php
14.17KB
Edit File
Delete File
Rename
doc.cls.php
4.066KB
Edit File
Delete File
Rename
error.cls.php
7.383KB
Edit File
Delete File
Rename
esi.cls.php
27.182KB
Edit File
Delete File
Rename
file.cls.php
10.569KB
Edit File
Delete File
Rename
gui.cls.php
36.503KB
Edit File
Delete File
Rename
htaccess.cls.php
24.002KB
Edit File
Delete File
Rename
import.cls.php
4.292KB
Edit File
Delete File
Rename
lang.cls.php
15.06KB
Edit File
Delete File
Rename
localization.cls.php
3.439KB
Edit File
Delete File
Rename
metabox.cls.php
5.316KB
Edit File
Delete File
Rename
object-cache-wp.cls.php
24.667KB
Edit File
Delete File
Rename
object-cache.cls.php
20.301KB
Edit File
Delete File
Rename
object.lib.php
13.31KB
Edit File
Delete File
Rename
optimize.cls.php
38.663KB
Edit File
Delete File
Rename
optimizer.cls.php
9.414KB
Edit File
Delete File
Rename
report.cls.php
6.119KB
Edit File
Delete File
Rename
rest.cls.php
8.637KB
Edit File
Delete File
Rename
root.cls.php
13.987KB
Edit File
Delete File
Rename
router.cls.php
20.568KB
Edit File
Delete File
Rename
str.cls.php
3.15KB
Edit File
Delete File
Rename
tag.cls.php
9.259KB
Edit File
Delete File
Rename
task.cls.php
6.132KB
Edit File
Delete File
Rename
tool.cls.php
4.217KB
Edit File
Delete File
Rename
ucss.cls.php
14.374KB
Edit File
Delete File
Rename
utility.cls.php
21.763KB
Edit File
Delete File
Rename
<?php // phpcs:ignoreFile /** * LiteSpeed String Operator Library Class * * @since 1.3 * @package LiteSpeed */ namespace LiteSpeed; defined( 'WPINC' ) || exit(); /** * Class Str * * Provides string manipulation utilities for LiteSpeed Cache. * * @since 1.3 */ class Str { /** * Translate QC HTML links from html. * * Converts `<a href="{#xxx#}">xxxx</a>` to `<a href="xxx">xxxx</a>`. * * @since 7.0 * @access public * @param string $html The HTML string to process. * @return string The processed HTML string. */ public static function translate_qc_apis( $html ) { preg_match_all( '/<a href="{#(\w+)#}"/U', $html, $matches ); if ( ! $matches ) { return $html; } foreach ( $matches[0] as $k => $html_to_be_replaced ) { $link = '<a href="' . Utility::build_url( Router::ACTION_CLOUD, Cloud::TYPE_API, false, null, array( 'action2' => $matches[1][ $k ] ) ) . '"'; $html = str_replace( $html_to_be_replaced, $link, $html ); } return $html; } /** * Return safe HTML * * Sanitizes HTML to allow only specific tags and attributes. * * @since 7.0 * @access public * @param string $html The HTML string to sanitize. * @return string The sanitized HTML string. */ public static function safe_html( $html ) { $common_attrs = array( 'style' => array(), 'class' => array(), 'target' => array(), 'src' => array(), 'color' => array(), 'href' => array(), ); $tags = array( 'hr', 'h3', 'h4', 'h5', 'ul', 'li', 'br', 'strong', 'p', 'span', 'img', 'a', 'div', 'font' ); $allowed_tags = array(); foreach ( $tags as $tag ) { $allowed_tags[ $tag ] = $common_attrs; } return wp_kses( $html, $allowed_tags ); } /** * Generate random string * * Creates a random string of specified length and character type. * * @since 1.3 * @access public * @param int $len Length of string. * @param int $type Character type: 1-Number, 2-LowerChar, 4-UpperChar, 7-All. * @return string Randomly generated string. */ public static function rrand( $len, $type = 7 ) { switch ( $type ) { case 0: $charlist = '012'; break; case 1: $charlist = '0123456789'; break; case 2: $charlist = 'abcdefghijklmnopqrstuvwxyz'; break; case 3: $charlist = '0123456789abcdefghijklmnopqrstuvwxyz'; break; case 4: $charlist = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'; break; case 5: $charlist = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'; break; case 6: $charlist = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; break; case 7: $charlist = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'; break; } $str = ''; $max = strlen( $charlist ) - 1; for ( $i = 0; $i < $len; $i++ ) { $str .= $charlist[ random_int( 0, $max ) ]; } return $str; } /** * Trim double quotes from a string * * Removes double quotes from a string for use as a preformatted src in HTML. * * @since 6.5.3 * @access public * @param string $text The string to process. * @return string The string with double quotes removed. */ public static function trim_quotes( $text ) { return str_replace( '"', '', $text ); } }
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat