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.216.37
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby34 /
share /
ruby /
irb /
command /
Delete
Unzip
Name
Size
Permission
Date
Action
backtrace.rb
262
B
-rw-r--r--
2026-04-07 16:51
base.rb
1.23
KB
-rw-r--r--
2026-04-07 16:51
break.rb
254
B
-rw-r--r--
2026-04-07 16:51
catch.rb
254
B
-rw-r--r--
2026-04-07 16:51
cd.rb
1.56
KB
-rw-r--r--
2026-04-07 16:51
chws.rb
826
B
-rw-r--r--
2026-04-07 16:51
context.rb
405
B
-rw-r--r--
2026-04-07 16:51
continue.rb
259
B
-rw-r--r--
2026-04-07 16:51
debug.rb
2.26
KB
-rw-r--r--
2026-04-07 16:51
delete.rb
256
B
-rw-r--r--
2026-04-07 16:51
disable_irb.rb
292
B
-rw-r--r--
2026-04-07 16:51
edit.rb
1.65
KB
-rw-r--r--
2026-04-07 16:51
exit.rb
257
B
-rw-r--r--
2026-04-07 16:51
finish.rb
255
B
-rw-r--r--
2026-04-07 16:51
force_exit.rb
267
B
-rw-r--r--
2026-04-07 16:51
help.rb
2.87
KB
-rw-r--r--
2026-04-07 16:51
history.rb
1.09
KB
-rw-r--r--
2026-04-07 16:51
info.rb
252
B
-rw-r--r--
2026-04-07 16:51
internal_helpers.rb
795
B
-rw-r--r--
2026-04-07 16:51
irb_info.rb
1.14
KB
-rw-r--r--
2026-04-07 16:51
load.rb
2.01
KB
-rw-r--r--
2026-04-07 16:51
ls.rb
4.69
KB
-rw-r--r--
2026-04-07 16:51
measure.rb
1.35
KB
-rw-r--r--
2026-04-07 16:51
next.rb
251
B
-rw-r--r--
2026-04-07 16:51
pushws.rb
1.31
KB
-rw-r--r--
2026-04-07 16:51
show_doc.rb
1.17
KB
-rw-r--r--
2026-04-07 16:51
show_source.rb
1.84
KB
-rw-r--r--
2026-04-07 16:51
step.rb
251
B
-rw-r--r--
2026-04-07 16:51
subirb.rb
2.85
KB
-rw-r--r--
2026-04-07 16:51
whereami.rb
435
B
-rw-r--r--
2026-04-07 16:51
Save
Rename
# frozen_string_literal: true module IRB module Command class CD < Base category "Workspace" description "Move into the given object or leave the current context." help_message(<<~HELP) Usage: cd ([target]|..) IRB uses a stack of workspaces to keep track of context(s), with `pushws` and `popws` commands to manipulate the stack. The `cd` command is an attempt to simplify the operation and will be subject to change. When given: - an object, cd will use that object as the new context by pushing it onto the workspace stack. - "..", cd will leave the current context by popping the top workspace off the stack. - no arguments, cd will move to the top workspace on the stack by popping off all workspaces. Examples: cd Foo cd Foo.new cd @ivar cd .. cd HELP def execute(arg) case arg when ".." irb_context.pop_workspace when "" # TODO: decide what workspace commands should be kept, and underlying APIs should look like, # and perhaps add a new API to clear the workspace stack. prev_workspace = irb_context.pop_workspace while prev_workspace prev_workspace = irb_context.pop_workspace end else begin obj = eval(arg, irb_context.workspace.binding) irb_context.push_workspace(obj) rescue StandardError => e warn "Error: #{e}" end end end end end end