Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.217.103
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby33 /
share /
ruby /
irb /
Delete
Unzip
Name
Size
Permission
Date
Action
cmd
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
command
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
debug
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
ext
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
helper_method
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
lc
[ DIR ]
drwxr-xr-x
2026-05-05 23:08
color.rb
9.18
KB
-rw-r--r--
2026-04-07 17:22
color_printer.rb
1.29
KB
-rw-r--r--
2026-04-07 17:22
command.rb
484
B
-rw-r--r--
2026-04-07 17:22
completion.rb
13.76
KB
-rw-r--r--
2026-04-07 17:22
context.rb
19.92
KB
-rw-r--r--
2026-04-07 17:22
debug.rb
4.49
KB
-rw-r--r--
2026-04-07 17:22
default_commands.rb
7.64
KB
-rw-r--r--
2026-04-07 17:22
easter-egg.rb
3.99
KB
-rw-r--r--
2026-04-07 17:22
frame.rb
1.92
KB
-rw-r--r--
2026-04-07 17:22
help.rb
612
B
-rw-r--r--
2026-04-07 17:22
helper_method.rb
657
B
-rw-r--r--
2026-04-07 17:22
history.rb
2.72
KB
-rw-r--r--
2026-04-07 17:22
init.rb
13.6
KB
-rw-r--r--
2026-04-07 17:22
input-method.rb
13.86
KB
-rw-r--r--
2026-04-07 17:22
inspector.rb
3.91
KB
-rw-r--r--
2026-04-07 17:22
locale.rb
3.96
KB
-rw-r--r--
2026-04-07 17:22
nesting_parser.rb
8.24
KB
-rw-r--r--
2026-04-07 17:22
notifier.rb
7.18
KB
-rw-r--r--
2026-04-07 17:22
output-method.rb
2.24
KB
-rw-r--r--
2026-04-07 17:22
pager.rb
2.58
KB
-rw-r--r--
2026-04-07 17:22
ruby-lex.rb
15.82
KB
-rw-r--r--
2026-04-07 17:22
ruby_logo.aa
4.7
KB
-rw-r--r--
2026-04-07 17:22
source_finder.rb
4.25
KB
-rw-r--r--
2026-04-07 17:22
statement.rb
1.4
KB
-rw-r--r--
2026-04-07 17:22
version.rb
239
B
-rw-r--r--
2026-04-07 17:22
workspace.rb
5.96
KB
-rw-r--r--
2026-04-07 17:22
ws-for-case-2.rb
160
B
-rw-r--r--
2026-04-07 17:22
xmp.rb
3.99
KB
-rw-r--r--
2026-04-07 17:22
Save
Rename
# frozen_string_literal: true module IRB module Debug IRB_DIR = File.expand_path('..', __dir__) class << self def insert_debug_break(pre_cmds: nil, do_cmds: nil) options = { oneshot: true, hook_call: false } if pre_cmds || do_cmds options[:command] = ['irb', pre_cmds, do_cmds] end if DEBUGGER__::LineBreakpoint.instance_method(:initialize).parameters.include?([:key, :skip_src]) options[:skip_src] = true end # To make debugger commands like `next` or `continue` work without asking # the user to quit IRB after that, we need to exit IRB first and then hit # a TracePoint on #debug_break. file, lineno = IRB::Irb.instance_method(:debug_break).source_location DEBUGGER__::SESSION.add_line_breakpoint(file, lineno + 1, **options) end def setup(irb) # When debug session is not started at all unless defined?(DEBUGGER__::SESSION) begin require "debug/session" rescue LoadError # debug.gem is not written in Gemfile return false unless load_bundled_debug_gem end DEBUGGER__::CONFIG.set_config configure_irb_for_debugger(irb) DEBUGGER__.initialize_session{ IRB::Debug::UI.new(irb) } end # When debug session was previously started but not by IRB if defined?(DEBUGGER__::SESSION) && !irb.context.with_debugger configure_irb_for_debugger(irb) DEBUGGER__::SESSION.reset_ui(IRB::Debug::UI.new(irb)) end # Apply patches to debug gem so it skips IRB frames unless DEBUGGER__.respond_to?(:capture_frames_without_irb) DEBUGGER__.singleton_class.send(:alias_method, :capture_frames_without_irb, :capture_frames) def DEBUGGER__.capture_frames(*args) frames = capture_frames_without_irb(*args) frames.reject! do |frame| frame.realpath&.start_with?(IRB_DIR) || frame.path == "<internal:prelude>" end frames end DEBUGGER__::ThreadClient.prepend(SkipPathHelperForIRB) end if !@output_modifier_defined && !DEBUGGER__::CONFIG[:no_hint] irb_output_modifier_proc = Reline.output_modifier_proc Reline.output_modifier_proc = proc do |output, complete:| unless output.strip.empty? cmd = output.split(/\s/, 2).first if !complete && DEBUGGER__.commands.key?(cmd) output = output.sub(/\n$/, " # debug command\n") end end irb_output_modifier_proc.call(output, complete: complete) end @output_modifier_defined = true end true end private def configure_irb_for_debugger(irb) require 'irb/debug/ui' IRB.instance_variable_set(:@debugger_irb, irb) irb.context.with_debugger = true irb.context.irb_name += ":rdbg" end module SkipPathHelperForIRB def skip_internal_path?(path) # The latter can be removed once https://github.com/ruby/debug/issues/866 is resolved super || path.match?(IRB_DIR) || path.match?('<internal:prelude>') end end # This is used when debug.gem is not written in Gemfile. Even if it's not # installed by `bundle install`, debug.gem is installed by default because # it's a bundled gem. This method tries to activate and load that. def load_bundled_debug_gem # Discover latest debug.gem under GEM_PATH debug_gem = Gem.paths.path.flat_map { |path| Dir.glob("#{path}/gems/debug-*") }.select do |path| File.basename(path).match?(/\Adebug-\d+\.\d+\.\d+(\w+)?\z/) end.sort_by do |path| Gem::Version.new(File.basename(path).delete_prefix('debug-')) end.last return false unless debug_gem # Discover debug/debug.so under extensions for Ruby 3.2+ ext_name = "/debug/debug.#{RbConfig::CONFIG['DLEXT']}" ext_path = Gem.paths.path.flat_map do |path| Dir.glob("#{path}/extensions/**/#{File.basename(debug_gem)}#{ext_name}") end.first # Attempt to forcibly load the bundled gem if ext_path $LOAD_PATH << ext_path.delete_suffix(ext_name) end $LOAD_PATH << "#{debug_gem}/lib" begin require "debug/session" puts "Loaded #{File.basename(debug_gem)}" true rescue LoadError false end end end end end