Linux business72.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
LiteSpeed
: 162.0.229.97 | : 18.226.150.136
Cant Read [ /etc/named.conf ]
8.1.30
temmmp
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
opt /
alt /
alt-nodejs16 /
root /
usr /
lib /
node_modules /
npm /
node_modules.bundled /
node-gyp /
gyp /
pylib /
gyp /
[ HOME SHELL ]
Name
Size
Permission
Action
generator
[ DIR ]
drwxr-xr-x
MSVSNew.py
12.79
KB
-rw-r--r--
MSVSProject.py
6.58
KB
-rw-r--r--
MSVSSettings.py
44.29
KB
-rw-r--r--
MSVSSettings_test.py
72.55
KB
-rwxr-xr-x
MSVSToolFile.py
1.75
KB
-rw-r--r--
MSVSUserFile.py
5.21
KB
-rw-r--r--
MSVSUtil.py
9.99
KB
-rw-r--r--
MSVSVersion.py
19.28
KB
-rw-r--r--
__init__.py
22.78
KB
-rwxr-xr-x
common.py
22.09
KB
-rw-r--r--
common_test.py
2.11
KB
-rwxr-xr-x
easy_xml.py
5.16
KB
-rw-r--r--
easy_xml_test.py
3.62
KB
-rwxr-xr-x
flock_tool.py
1.81
KB
-rwxr-xr-x
input.py
124.07
KB
-rw-r--r--
input_test.py
3.34
KB
-rwxr-xr-x
mac_tool.py
29.55
KB
-rwxr-xr-x
msvs_emulation.py
53.08
KB
-rw-r--r--
ninja_syntax.py
5.51
KB
-rw-r--r--
simple_copy.py
1.26
KB
-rw-r--r--
win_tool.py
14.8
KB
-rwxr-xr-x
xcode_emulation.py
79.92
KB
-rw-r--r--
xcode_ninja.py
11.84
KB
-rw-r--r--
xcodeproj_file.py
132.54
KB
-rw-r--r--
xml_fix.py
2.19
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : easy_xml_test.py
#!/usr/bin/python3 # Copyright (c) 2011 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Unit tests for the easy_xml.py file. """ import gyp.easy_xml as easy_xml import unittest from io import StringIO class TestSequenceFunctions(unittest.TestCase): def setUp(self): self.stderr = StringIO() def test_EasyXml_simple(self): self.assertEqual( easy_xml.XmlToString(["test"]), '<?xml version="1.0" encoding="utf-8"?><test/>', ) self.assertEqual( easy_xml.XmlToString(["test"], encoding="Windows-1252"), '<?xml version="1.0" encoding="Windows-1252"?><test/>', ) def test_EasyXml_simple_with_attributes(self): self.assertEqual( easy_xml.XmlToString(["test2", {"a": "value1", "b": "value2"}]), '<?xml version="1.0" encoding="utf-8"?><test2 a="value1" b="value2"/>', ) def test_EasyXml_escaping(self): original = "<test>'\"\r&\nfoo" converted = "<test>'"
&
foo" converted_apos = converted.replace("'", "'") self.assertEqual( easy_xml.XmlToString(["test3", {"a": original}, original]), '<?xml version="1.0" encoding="utf-8"?><test3 a="%s">%s</test3>' % (converted, converted_apos), ) def test_EasyXml_pretty(self): self.assertEqual( easy_xml.XmlToString( ["test3", ["GrandParent", ["Parent1", ["Child"]], ["Parent2"]]], pretty=True, ), '<?xml version="1.0" encoding="utf-8"?>\n' "<test3>\n" " <GrandParent>\n" " <Parent1>\n" " <Child/>\n" " </Parent1>\n" " <Parent2/>\n" " </GrandParent>\n" "</test3>\n", ) def test_EasyXml_complex(self): # We want to create: target = ( '<?xml version="1.0" encoding="utf-8"?>' "<Project>" '<PropertyGroup Label="Globals">' "<ProjectGuid>{D2250C20-3A94-4FB9-AF73-11BC5B73884B}</ProjectGuid>" "<Keyword>Win32Proj</Keyword>" "<RootNamespace>automated_ui_tests</RootNamespace>" "</PropertyGroup>" '<Import Project="$(VCTargetsPath)\\Microsoft.Cpp.props"/>' "<PropertyGroup " "Condition=\"'$(Configuration)|$(Platform)'==" '\'Debug|Win32\'" Label="Configuration">' "<ConfigurationType>Application</ConfigurationType>" "<CharacterSet>Unicode</CharacterSet>" "</PropertyGroup>" "</Project>" ) xml = easy_xml.XmlToString( [ "Project", [ "PropertyGroup", {"Label": "Globals"}, ["ProjectGuid", "{D2250C20-3A94-4FB9-AF73-11BC5B73884B}"], ["Keyword", "Win32Proj"], ["RootNamespace", "automated_ui_tests"], ], ["Import", {"Project": "$(VCTargetsPath)\\Microsoft.Cpp.props"}], [ "PropertyGroup", { "Condition": "'$(Configuration)|$(Platform)'=='Debug|Win32'", "Label": "Configuration", }, ["ConfigurationType", "Application"], ["CharacterSet", "Unicode"], ], ] ) self.assertEqual(xml, target) if __name__ == "__main__": unittest.main()
Close