Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
ruby /
3.1.0 /
psych /
Delete
Unzip
Name
Size
Permission
Date
Action
handlers
[ DIR ]
drwxr-xr-x
2025-06-05 11:22
json
[ DIR ]
drwxr-xr-x
2025-06-05 11:22
nodes
[ DIR ]
drwxr-xr-x
2025-06-05 11:22
visitors
[ DIR ]
drwxr-xr-x
2025-06-05 11:22
class_loader.rb
1.99
KB
-rw-r--r--
2024-04-26 07:47
coder.rb
2.05
KB
-rw-r--r--
2024-04-26 07:47
core_ext.rb
362
B
-rw-r--r--
2024-04-26 07:47
exception.rb
277
B
-rw-r--r--
2024-04-26 07:47
handler.rb
7.2
KB
-rw-r--r--
2024-04-26 07:47
nodes.rb
2.38
KB
-rw-r--r--
2024-04-26 07:47
omap.rb
75
B
-rw-r--r--
2024-04-26 07:47
parser.rb
1.67
KB
-rw-r--r--
2024-04-26 07:47
scalar_scanner.rb
4.15
KB
-rw-r--r--
2024-04-26 07:47
set.rb
74
B
-rw-r--r--
2024-04-26 07:47
stream.rb
923
B
-rw-r--r--
2024-04-26 07:47
streaming.rb
667
B
-rw-r--r--
2024-04-26 07:47
syntax_error.rb
588
B
-rw-r--r--
2024-04-26 07:47
tree_builder.rb
2.99
KB
-rw-r--r--
2024-04-26 07:47
versions.rb
188
B
-rw-r--r--
2024-04-26 07:47
visitors.rb
254
B
-rw-r--r--
2024-04-26 07:47
y.rb
190
B
-rw-r--r--
2024-04-26 07:47
Save
Rename
# frozen_string_literal: true require_relative 'omap' require_relative '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 class_eval <<~RUBY def #{const.to_s.downcase} load #{konst.inspect} end RUBY 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].freeze 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.new('load', 'Symbol') end end private def find klassname if @classes.include? klassname super else raise DisallowedClass.new('load', klassname) end end end end end