REDROOM
PHP 8.2.30
Path:
Logout
Edit File
Size: 1.07 KB
Close
//usr/local/lsws/fcgi-bin/RailsRunner.rb.2.3
Text
Base64
#!/usr/bin/ruby Dir.chdir(ENV['RAILS_ROOT']) require 'config/boot' require 'active_support' require 'action_controller' require 'fileutils' options = { :environment => (ENV['RAILS_ENV'] || "development").dup, :config => RAILS_ROOT + "/config.ru", :detach => false, :debugger => false } server = Rack::Handler::LSWS if File.exist?(options[:config]) config = options[:config] if config =~ /\.ru$/ cfgfile = File.read(config) if cfgfile[/^#\\(.*)/] opts.parse!($1.split(/\s+/)) end inner_app = eval("Rack::Builder.new {( " + cfgfile + "\n )}.to_app", nil, config) else require config inner_app = Object.const_get(File.basename(config, '.rb').capitalize) end else require 'config/environment' inner_app = ActionController::Dispatcher.new end app = Rack::Builder.new { use Rails::Rack::Static use Rails::Rack::Debugger if options[:debugger] run inner_app }.to_app ActiveRecord::Base.clear_active_connections! if defined?(ActiveRecord::Base) begin server.run(app, options.merge(:AccessLog => [])) ensure puts 'Exiting' end
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 12
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
ea-ruby27
85 B
lrwxr-xr-x
2025-06-24 14:14:39
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
lsnode.js
3.01 KB
lr-xr-xr-x
2026-02-26 14:15:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
lsnodesm.js
3.16 KB
lr-xr-xr-x
2026-02-26 14:15:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
lsperld.fpl
3.26 KB
lr-xr-xr-x
2024-03-21 11:04:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
lsphp
4.72 MB
lr-xr-xr-x
2024-03-21 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
lsphp4
4.72 MB
lr-xr-xr-x
2024-03-21 11:04:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
lsphp5
0 B
??????????
2026-03-27 05:08:46
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
lsphp7
5.92 MB
lrwxr-xr-x
2026-03-08 21:50:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
lswsgi_wrapper
387 B
lr-xr-xr-x
2026-02-26 14:15:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RackRunner.rb
4.49 KB
lr-xr-xr-x
2026-02-26 14:15:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RailsRunner.rb
4.60 KB
lr-xr-xr-x
2026-02-26 14:15:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RailsRunner.rb.2.3
1.07 KB
lr-xr-xr-x
2026-02-26 14:15:10
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).