Linux 43-250-141-107.cprapid.com 4.18.0-553.150.1.lve.el8.x86_64 #1 SMP Tue Aug 4 17:30:48 UTC 2026 x86_64
LiteSpeed
Server IP : 43.250.141.107 & Your IP : 216.73.216.70
Domains :
Cant Read [ /etc/named.conf ]
User : thepngre
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby19 /
lib64 /
ruby /
1.9.1 /
rexml /
Delete
Unzip
Name
Size
Permission
Date
Action
dtd
[ DIR ]
drwxr-xr-x
2025-09-09 10:20
formatters
[ DIR ]
drwxr-xr-x
2025-09-09 10:20
light
[ DIR ]
drwxr-xr-x
2025-09-09 10:20
parsers
[ DIR ]
drwxr-xr-x
2025-09-09 10:20
validation
[ DIR ]
drwxr-xr-x
2025-09-09 10:20
attlistdecl.rb
1.89
KB
-rw-r--r--
2009-10-02 20:45
attribute.rb
5.39
KB
-rw-r--r--
2010-11-09 07:59
cdata.rb
1.54
KB
-rw-r--r--
2011-05-19 10:07
child.rb
2.63
KB
-rw-r--r--
2011-05-19 10:07
comment.rb
2.14
KB
-rw-r--r--
2011-05-19 10:07
doctype.rb
6.58
KB
-rw-r--r--
2010-12-07 23:10
document.rb
8.28
KB
-rw-r--r--
2014-11-14 00:39
element.rb
43.85
KB
-rw-r--r--
2011-05-19 10:07
encoding.rb
1.49
KB
-rw-r--r--
2011-03-03 02:36
entity.rb
5.53
KB
-rw-r--r--
2014-11-14 00:39
functions.rb
11.27
KB
-rw-r--r--
2011-05-14 03:54
instruction.rb
2.01
KB
-rw-r--r--
2009-10-02 20:45
namespace.rb
1.09
KB
-rw-r--r--
2009-10-02 20:45
node.rb
2.13
KB
-rw-r--r--
2011-05-19 10:07
output.rb
392
B
-rw-r--r--
2011-03-03 02:36
parent.rb
4.33
KB
-rw-r--r--
2010-01-31 17:55
parseexception.rb
1.22
KB
-rw-r--r--
2010-10-30 23:10
quickpath.rb
9.08
KB
-rw-r--r--
2011-05-19 10:07
rexml.rb
1.65
KB
-rw-r--r--
2013-03-28 20:12
sax2listener.rb
3.6
KB
-rw-r--r--
2009-10-02 20:45
source.rb
7.29
KB
-rw-r--r--
2011-03-03 02:36
streamlistener.rb
3.88
KB
-rw-r--r--
2009-10-02 20:45
syncenumerator.rb
685
B
-rw-r--r--
2009-10-02 20:45
text.rb
13.57
KB
-rw-r--r--
2013-03-28 20:12
undefinednamespaceexception.rb
210
B
-rw-r--r--
2007-11-16 12:30
xmldecl.rb
2.78
KB
-rw-r--r--
2011-03-03 02:36
xmltokens.rb
526
B
-rw-r--r--
2010-04-06 07:08
xpath.rb
3.31
KB
-rw-r--r--
2011-05-19 07:19
xpath_parser.rb
25.7
KB
-rw-r--r--
2011-05-12 08:56
Save
Rename
module REXML module Encoding # ID ---> Encoding name attr_reader :encoding def encoding=(encoding) encoding = encoding.name if encoding.is_a?(Encoding) if encoding.is_a?(String) original_encoding = encoding encoding = find_encoding(encoding) unless encoding raise ArgumentError, "Bad encoding name #{original_encoding}" end end return false if defined?(@encoding) and encoding == @encoding if encoding @encoding = encoding.upcase else @encoding = 'UTF-8' end true end def check_encoding(xml) # We have to recognize UTF-16BE, UTF-16LE, and UTF-8 if xml[0, 2] == "\xfe\xff" xml[0, 2] = "" return 'UTF-16BE' elsif xml[0, 2] == "\xff\xfe" xml[0, 2] = "" return 'UTF-16LE' end xml =~ /^\s*<\?xml\s+version\s*=\s*(['"]).*?\1\s+encoding\s*=\s*(["'])(.*?)\2/m return $3 ? $3.upcase : 'UTF-8' end def encode(string) string.encode(@encoding) end def decode(string) string.encode(::Encoding::UTF_8, @encoding) end private def find_encoding(name) case name when /\Ashift-jis\z/i return "SHIFT_JIS" when /\ACP-(\d+)\z/ name = "CP#{$1}" when /\AUTF-8\z/i return name end begin ::Encoding::Converter.search_convpath(name, 'UTF-8') rescue ::Encoding::ConverterNotFoundError return nil end name end end end