Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.119
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
ruby /
2.3.0 /
rexml /
Delete
Unzip
Name
Size
Permission
Date
Action
dtd
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
formatters
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
light
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
parsers
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
validation
[ DIR ]
drwxrwxrwx
2022-03-20 10:35
attlistdecl.rb
1.92
KB
-rw-r--r--
2016-11-21 08:58
attribute.rb
5.53
KB
-rw-r--r--
2016-11-21 08:58
cdata.rb
1.57
KB
-rw-r--r--
2016-11-21 08:58
child.rb
2.66
KB
-rw-r--r--
2016-11-21 08:58
comment.rb
2.1
KB
-rw-r--r--
2016-11-21 08:58
doctype.rb
6.61
KB
-rw-r--r--
2016-11-21 08:58
document.rb
9.51
KB
-rw-r--r--
2016-11-21 08:58
element.rb
43.64
KB
-rw-r--r--
2016-11-21 08:58
encoding.rb
1.16
KB
-rw-r--r--
2016-11-21 08:58
entity.rb
5.56
KB
-rw-r--r--
2016-11-21 08:58
functions.rb
11.29
KB
-rw-r--r--
2016-11-21 08:58
instruction.rb
2.04
KB
-rw-r--r--
2016-11-21 08:58
namespace.rb
1.12
KB
-rw-r--r--
2016-11-21 08:58
node.rb
2.16
KB
-rw-r--r--
2016-11-21 08:58
output.rb
550
B
-rw-r--r--
2016-11-21 08:58
parent.rb
4.27
KB
-rw-r--r--
2016-11-21 08:58
parseexception.rb
1.25
KB
-rw-r--r--
2016-11-21 08:58
quickpath.rb
9.11
KB
-rw-r--r--
2016-11-21 08:58
rexml.rb
1.31
KB
-rw-r--r--
2016-11-21 08:58
sax2listener.rb
3.61
KB
-rw-r--r--
2016-11-21 08:58
security.rb
824
B
-rw-r--r--
2016-11-21 08:58
source.rb
7.64
KB
-rw-r--r--
2016-11-21 08:58
streamlistener.rb
3.84
KB
-rw-r--r--
2016-11-21 08:58
syncenumerator.rb
716
B
-rw-r--r--
2016-11-21 08:58
text.rb
13.77
KB
-rw-r--r--
2016-11-21 08:58
undefinednamespaceexception.rb
241
B
-rw-r--r--
2016-11-21 08:58
xmldecl.rb
2.71
KB
-rw-r--r--
2016-11-21 08:58
xmltokens.rb
2.32
KB
-rw-r--r--
2016-11-21 08:58
xpath.rb
3.34
KB
-rw-r--r--
2016-11-21 08:58
xpath_parser.rb
20.44
KB
-rw-r--r--
2016-11-21 08:58
Save
Rename
# frozen_string_literal: false require 'rexml/encoding' require 'rexml/source' module REXML # NEEDS DOCUMENTATION class XMLDecl < Child include Encoding DEFAULT_VERSION = "1.0"; DEFAULT_ENCODING = "UTF-8"; DEFAULT_STANDALONE = "no"; START = '<\?xml'; STOP = '\?>'; attr_accessor :version, :standalone attr_reader :writeencoding, :writethis def initialize(version=DEFAULT_VERSION, encoding=nil, standalone=nil) @writethis = true @writeencoding = !encoding.nil? if version.kind_of? XMLDecl super() @version = version.version self.encoding = version.encoding @writeencoding = version.writeencoding @standalone = version.standalone else super() @version = version self.encoding = encoding @standalone = standalone end @version = DEFAULT_VERSION if @version.nil? end def clone XMLDecl.new(self) end # indent:: # Ignored. There must be no whitespace before an XML declaration # transitive:: # Ignored # ie_hack:: # Ignored def write(writer, indent=-1, transitive=false, ie_hack=false) return nil unless @writethis or writer.kind_of? Output writer << START.sub(/\\/u, '') writer << " #{content encoding}" writer << STOP.sub(/\\/u, '') end def ==( other ) other.kind_of?(XMLDecl) and other.version == @version and other.encoding == self.encoding and other.standalone == @standalone end def xmldecl version, encoding, standalone @version = version self.encoding = encoding @standalone = standalone end def node_type :xmldecl end alias :stand_alone? :standalone alias :old_enc= :encoding= def encoding=( enc ) if enc.nil? self.old_enc = "UTF-8" @writeencoding = false else self.old_enc = enc @writeencoding = true end self.dowrite end # Only use this if you do not want the XML declaration to be written; # this object is ignored by the XML writer. Otherwise, instantiate your # own XMLDecl and add it to the document. # # Note that XML 1.1 documents *must* include an XML declaration def XMLDecl.default rv = XMLDecl.new( "1.0" ) rv.nowrite rv end def nowrite @writethis = false end def dowrite @writethis = true end def inspect START.sub(/\\/u, '') + " ... " + STOP.sub(/\\/u, '') end private def content(enc) rv = "version='#@version'" rv << " encoding='#{enc}'" if @writeencoding || enc !~ /\Autf-8\z/i rv << " standalone='#@standalone'" if @standalone rv end end end