$97 GRAYBYTE WORDPRESS FILE MANAGER $15

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/cpanel/ea-ruby27/root/usr/share/passenger/phusion_passenger/utils/

HOME
Current File : /opt/cpanel/ea-ruby27/root/usr/share/passenger/phusion_passenger/utils//shellwords.rb
# Polyfill for the shellwords library on Ruby 1.8.5.

require 'shellwords'

if !Shellwords.respond_to?(:escape)
  Shellwords.class_eval do
    def self.escape(str)
      # An empty argument will be skipped, so return empty quotes.
      return "''" if str.empty?
      str = str.dup
      # Treat multibyte characters as is.  It is caller's responsibility
      # to encode the string in the right encoding for the shell
      # environment.
      str.gsub!(/([^A-Za-z0-9_\-.,:\/@\n])/, "\\\\\\1")
      # A LF cannot be escaped with a backslash because a backslash + LF
      # combo is regarded as line continuation and simply ignored.
      str.gsub!(/\n/, "'\n'")
      return str
    end
  end
end

if !Shellwords.respond_to?(:join)
  Shellwords.class_eval do
    def self.join(array)
      array.map { |arg| escape(arg) }.join(' ')
    end
  end
end


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
13 Feb 2026 9.30 AM
root / root
0755
ansi_colors.rb
4.872 KB
5 Feb 2026 9.04 AM
root / root
0644
download.rb
8.134 KB
5 Feb 2026 9.04 AM
root / root
0644
file_system_watcher.rb
6.305 KB
5 Feb 2026 9.04 AM
root / root
0644
hosts_file_parser.rb
3.945 KB
5 Feb 2026 9.04 AM
root / root
0644
json.rb
4.95 KB
5 Feb 2026 9.04 AM
root / root
0644
lock.rb
1.905 KB
5 Feb 2026 9.04 AM
root / root
0644
native_support_utils.rb
2.433 KB
5 Feb 2026 9.04 AM
root / root
0644
progress_bar.rb
1.971 KB
5 Feb 2026 9.04 AM
root / root
0644
shellwords.rb
0.836 KB
5 Feb 2026 9.04 AM
root / root
0644
strscan.rb
1.966 KB
5 Feb 2026 9.04 AM
root / root
0644
tee_input.rb
6.882 KB
5 Feb 2026 9.04 AM
root / root
0644
terminal_choice_menu.rb
6.097 KB
5 Feb 2026 9.04 AM
root / root
0644
tmpio.rb
1.866 KB
5 Feb 2026 9.04 AM
root / root
0644
unseekable_socket.rb
8.696 KB
5 Feb 2026 9.04 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF