Linux premium71.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
LiteSpeed
Server IP : 198.187.29.8 & Your IP : 18.117.8.41
Domains :
Cant Read [ /etc/named.conf ]
User : cleahvkv
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby26 /
lib64 /
ruby /
2.6.0 /
psych /
Delete
Unzip
Name
Size
Permission
Date
Action
handlers
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
json
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
nodes
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
visitors
[ DIR ]
drwxr-xr-x
2024-03-03 22:47
class_loader.rb
1.91
KB
-rw-r--r--
2023-07-26 15:03
coder.rb
2.05
KB
-rw-r--r--
2023-07-26 15:03
core_ext.rb
359
B
-rw-r--r--
2023-07-26 15:03
exception.rb
264
B
-rw-r--r--
2023-07-26 15:03
handler.rb
7.2
KB
-rw-r--r--
2023-07-26 15:03
nodes.rb
2.35
KB
-rw-r--r--
2023-07-26 15:03
omap.rb
75
B
-rw-r--r--
2023-07-26 15:03
parser.rb
1.67
KB
-rw-r--r--
2023-07-26 15:03
scalar_scanner.rb
4.24
KB
-rw-r--r--
2023-07-26 15:03
set.rb
74
B
-rw-r--r--
2023-07-26 15:03
stream.rb
923
B
-rw-r--r--
2023-07-26 15:03
streaming.rb
667
B
-rw-r--r--
2023-07-26 15:03
syntax_error.rb
585
B
-rw-r--r--
2023-07-26 15:03
tree_builder.rb
2.98
KB
-rw-r--r--
2023-07-26 15:03
versions.rb
222
B
-rw-r--r--
2023-07-26 15:03
visitors.rb
236
B
-rw-r--r--
2023-07-26 15:03
y.rb
190
B
-rw-r--r--
2023-07-26 15:03
Save
Rename
# frozen_string_literal: true require 'psych/omap' require 'psych/set' module Psych class ClassLoader # :nodoc: BIG_DECIMAL = 'BigDecimal' COMPLEX = 'Complex' DATE = 'Date' DATE_TIME = 'DateTime' EXCEPTION = 'Exception' OBJECT = 'Object' PSYCH_OMAP = 'Psych::Omap' PSYCH_SET = 'Psych::Set' RANGE = 'Range' RATIONAL = 'Rational' REGEXP = 'Regexp' STRUCT = 'Struct' SYMBOL = 'Symbol' def initialize @cache = CACHE.dup end def load klassname return nil if !klassname || klassname.empty? find klassname end def symbolize sym symbol sym.to_sym end constants.each do |const| konst = const_get const define_method(const.to_s.downcase) do load konst end end private def find klassname @cache[klassname] ||= resolve(klassname) end def resolve klassname name = klassname retried = false begin path2class(name) rescue ArgumentError, NameError => ex unless retried name = "Struct::#{name}" retried = ex retry end raise retried end end CACHE = Hash[constants.map { |const| val = const_get const begin [val, ::Object.const_get(val)] rescue nil end }.compact] class Restricted < ClassLoader def initialize classes, symbols @classes = classes @symbols = symbols super() end def symbolize sym return super if @symbols.empty? if @symbols.include? sym super else raise DisallowedClass, 'Symbol' end end private def find klassname if @classes.include? klassname super else raise DisallowedClass, klassname end end end end end