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.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby32 /
share /
ruby /
irb /
cmd /
Delete
Unzip
Name
Size
Permission
Date
Action
backtrace.rb
332
B
-rw-r--r--
2026-04-07 17:42
break.rb
318
B
-rw-r--r--
2026-04-07 17:42
catch.rb
324
B
-rw-r--r--
2026-04-07 17:42
chws.rb
698
B
-rw-r--r--
2026-04-07 17:42
continue.rb
263
B
-rw-r--r--
2026-04-07 17:42
debug.rb
4.39
KB
-rw-r--r--
2026-04-07 17:42
delete.rb
260
B
-rw-r--r--
2026-04-07 17:42
edit.rb
1.57
KB
-rw-r--r--
2026-04-07 17:42
finish.rb
259
B
-rw-r--r--
2026-04-07 17:42
fork.rb
671
B
-rw-r--r--
2026-04-07 17:42
help.rb
1.34
KB
-rw-r--r--
2026-04-07 17:42
info.rb
322
B
-rw-r--r--
2026-04-07 17:42
irb_info.rb
1.14
KB
-rw-r--r--
2026-04-07 17:42
load.rb
1.7
KB
-rw-r--r--
2026-04-07 17:42
ls.rb
3.38
KB
-rw-r--r--
2026-04-07 17:42
measure.rb
1.39
KB
-rw-r--r--
2026-04-07 17:42
next.rb
255
B
-rw-r--r--
2026-04-07 17:42
nop.rb
1.4
KB
-rw-r--r--
2026-04-07 17:42
pushws.rb
907
B
-rw-r--r--
2026-04-07 17:42
show_cmds.rb
969
B
-rw-r--r--
2026-04-07 17:42
show_source.rb
3.71
KB
-rw-r--r--
2026-04-07 17:42
step.rb
255
B
-rw-r--r--
2026-04-07 17:42
subirb.rb
1.36
KB
-rw-r--r--
2026-04-07 17:42
whereami.rb
461
B
-rw-r--r--
2026-04-07 17:42
Save
Rename
require 'shellwords' require_relative "nop" module IRB # :stopdoc: module ExtendCommand class Edit < Nop category "Misc" description 'Open a file with the editor command defined with `ENV["EDITOR"]`.' class << self def transform_args(args) # Return a string literal as is for backward compatibility if args.nil? || args.empty? || string_literal?(args) args else # Otherwise, consider the input as a String for convenience args.strip.dump end end end def execute(*args) path = args.first if path.nil? && (irb_path = @irb_context.irb_path) path = irb_path end if !File.exist?(path) require_relative "show_source" source = begin ShowSource.find_source(path, @irb_context) rescue NameError # if user enters a path that doesn't exist, it'll cause NameError when passed here because find_source would try to evaluate it as well # in this case, we should just ignore the error end if source && File.exist?(source.file) path = source.file else puts "Can not find file: #{path}" return end end if editor = ENV['EDITOR'] puts "command: '#{editor}'" puts " path: #{path}" system(*Shellwords.split(editor), path) else puts "Can not find editor setting: ENV['EDITOR']" end end end end # :startdoc: end