Linux velvet.gennetworks.in 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
LiteSpeed
Server IP : 161.129.70.235 & Your IP : 216.73.216.5
Domains :
Cant Read [ /etc/named.conf ]
User : virtueex
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
2026-02-18 15:11
formatters
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
light
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
parsers
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
validation
[ DIR ]
drwxr-xr-x
2026-02-18 15:11
attlistdecl.rb
1.89
KB
-rw-r--r--
2009-10-02 16:15
attribute.rb
5.39
KB
-rw-r--r--
2010-11-09 02:29
cdata.rb
1.54
KB
-rw-r--r--
2011-05-19 05:37
child.rb
2.63
KB
-rw-r--r--
2011-05-19 05:37
comment.rb
2.14
KB
-rw-r--r--
2011-05-19 05:37
doctype.rb
6.58
KB
-rw-r--r--
2010-12-07 17:40
document.rb
8.28
KB
-rw-r--r--
2014-11-13 19:09
element.rb
43.85
KB
-rw-r--r--
2011-05-19 05:37
encoding.rb
1.49
KB
-rw-r--r--
2011-03-02 21:06
entity.rb
5.53
KB
-rw-r--r--
2014-11-13 19:09
functions.rb
11.27
KB
-rw-r--r--
2011-05-13 23:24
instruction.rb
2.01
KB
-rw-r--r--
2009-10-02 16:15
namespace.rb
1.09
KB
-rw-r--r--
2009-10-02 16:15
node.rb
2.13
KB
-rw-r--r--
2011-05-19 05:37
output.rb
392
B
-rw-r--r--
2011-03-02 21:06
parent.rb
4.33
KB
-rw-r--r--
2010-01-31 12:25
parseexception.rb
1.22
KB
-rw-r--r--
2010-10-30 17:40
quickpath.rb
9.08
KB
-rw-r--r--
2011-05-19 05:37
rexml.rb
1.65
KB
-rw-r--r--
2013-03-28 14:42
sax2listener.rb
3.6
KB
-rw-r--r--
2009-10-02 16:15
source.rb
7.29
KB
-rw-r--r--
2011-03-02 21:06
streamlistener.rb
3.88
KB
-rw-r--r--
2009-10-02 16:15
syncenumerator.rb
685
B
-rw-r--r--
2009-10-02 16:15
text.rb
13.57
KB
-rw-r--r--
2013-03-28 14:42
undefinednamespaceexception.rb
210
B
-rw-r--r--
2007-11-16 07:00
xmldecl.rb
2.78
KB
-rw-r--r--
2011-03-02 21:06
xmltokens.rb
526
B
-rw-r--r--
2010-04-06 02:38
xpath.rb
3.31
KB
-rw-r--r--
2011-05-19 02:49
xpath_parser.rb
25.7
KB
-rw-r--r--
2011-05-12 04:26
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