Linux server123.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
LiteSpeed
: 198.54.126.127 | : 216.73.216.107
Cant Read [ /etc/named.conf ]
?8.4.14
ezdajrnh
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
opt /
alt /
ruby19 /
lib64 /
ruby /
1.9.1 /
rexml /
[ HOME SHELL ]
Name
Size
Permission
Action
?;
dtd
[ DIR ]
drwxr-xr-x
?;
formatters
[ DIR ]
drwxr-xr-x
?;
light
[ DIR ]
drwxr-xr-x
?;
parsers
[ DIR ]
drwxr-xr-x
?;
validation
[ DIR ]
drwxr-xr-x
attlistdecl.rb
1.89
KB
-rw-r--r--
attribute.rb
5.39
KB
-rw-r--r--
cdata.rb
1.54
KB
-rw-r--r--
child.rb
2.63
KB
-rw-r--r--
comment.rb
2.14
KB
-rw-r--r--
doctype.rb
6.58
KB
-rw-r--r--
document.rb
8.28
KB
-rw-r--r--
element.rb
43.85
KB
-rw-r--r--
encoding.rb
1.49
KB
-rw-r--r--
entity.rb
5.53
KB
-rw-r--r--
functions.rb
11.27
KB
-rw-r--r--
instruction.rb
2.01
KB
-rw-r--r--
namespace.rb
1.09
KB
-rw-r--r--
node.rb
2.13
KB
-rw-r--r--
output.rb
392
B
-rw-r--r--
parent.rb
4.33
KB
-rw-r--r--
parseexception.rb
1.22
KB
-rw-r--r--
quickpath.rb
9.08
KB
-rw-r--r--
rexml.rb
1.65
KB
-rw-r--r--
sax2listener.rb
3.6
KB
-rw-r--r--
source.rb
7.29
KB
-rw-r--r--
streamlistener.rb
3.88
KB
-rw-r--r--
syncenumerator.rb
685
B
-rw-r--r--
text.rb
13.57
KB
-rw-r--r--
undefinednamespaceexception.rb
210
B
-rw-r--r--
xmldecl.rb
2.78
KB
-rw-r--r--
xmltokens.rb
526
B
-rw-r--r--
xpath.rb
3.31
KB
-rw-r--r--
xpath_parser.rb
25.7
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : encoding.rb
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
Close