Linux srv25.usacloudserver.us 5.14.0-570.39.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Sep 4 05:08:52 EDT 2025 x86_64
LiteSpeed
Server IP : 23.137.84.82 & Your IP : 216.73.216.181
Domains :
Cant Read [ /etc/named.conf ]
User : epicgamerzoneco
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
passenger /
phusion_passenger /
utils /
Delete
Unzip
Name
Size
Permission
Date
Action
ansi_colors.rb
4.87
KB
-rw-r--r--
2025-04-17 08:59
download.rb
8.13
KB
-rw-r--r--
2025-04-17 08:59
file_system_watcher.rb
6.3
KB
-rw-r--r--
2025-04-17 08:59
hosts_file_parser.rb
3.95
KB
-rw-r--r--
2025-04-17 08:59
json.rb
4.94
KB
-rw-r--r--
2025-04-17 08:59
lock.rb
1.91
KB
-rw-r--r--
2025-04-17 08:59
native_support_utils.rb
2.43
KB
-rw-r--r--
2025-04-17 08:59
progress_bar.rb
1.97
KB
-rw-r--r--
2025-04-17 08:59
shellwords.rb
856
B
-rw-r--r--
2025-04-17 08:59
strscan.rb
1.97
KB
-rw-r--r--
2025-04-17 08:59
tee_input.rb
6.88
KB
-rw-r--r--
2025-04-17 08:59
terminal_choice_menu.rb
6.09
KB
-rw-r--r--
2025-04-17 08:59
tmpio.rb
1.87
KB
-rw-r--r--
2025-04-17 08:59
unseekable_socket.rb
8.7
KB
-rw-r--r--
2025-04-17 08:59
Save
Rename
# Phusion Passenger - https://www.phusionpassenger.com/ # Copyright (c) 2010-2025 Asynchronous B.V. # # "Passenger", "Phusion Passenger" and "Union Station" are registered # trademarks of Asynchronous B.V. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. module PhusionPassenger module Utils module AnsiColors RESET = "\e[0m".freeze BOLD = "\e[1m".freeze GRAY = "\e[38;5;248m".freeze DGRAY = "\e[90m".freeze RED = "\e[31m".freeze ORANGE = "\e[38;5;214m".freeze GREEN = "\e[32m".freeze YELLOW = "\e[33m".freeze WHITE = "\e[37m".freeze BLACK_BG = "\e[40m".freeze BLUE_BG = "\e[44m".freeze DEFAULT_TERMINAL_COLOR = "#{RESET}#{WHITE}#{BLACK_BG}".freeze extend self # Make methods available as class methods. def self.new(type = :auto) AnsiColorsPrinter.new(type) end def self.included(klass) # When included into another class, make sure that Utils # methods are made private. public_instance_methods(false).each do |method_name| klass.send(:private, method_name) end end def ansi_colorize(text) text = text.gsub(%r{<b>(.*?)</b>}m, "#{BOLD}\\1#{DEFAULT_TERMINAL_COLOR}") text.gsub!(%r{<dgray>(.*?)</dgray>}m, "#{BOLD}#{DGRAY}\\1#{DEFAULT_TERMINAL_COLOR}") text.gsub!(%r{<gray>(.*?)</gray>}m, "#{BOLD}#{GRAY}\\1#{DEFAULT_TERMINAL_COLOR}") text.gsub!(%r{<red>(.*?)</red>}m, "#{BOLD}#{RED}\\1#{DEFAULT_TERMINAL_COLOR}") text.gsub!(%r{<orange>(.*?)</orange>}m, "#{BOLD}#{ORANGE}\\1#{DEFAULT_TERMINAL_COLOR}") text.gsub!(%r{<green>(.*?)</green>}m, "#{BOLD}#{GREEN}\\1#{DEFAULT_TERMINAL_COLOR}") text.gsub!(%r{<yellow>(.*?)</yellow>}m, "#{BOLD}#{YELLOW}\\1#{DEFAULT_TERMINAL_COLOR}") text.gsub!(%r{<banner>(.*?)</banner>}m, "#{BOLD}#{BLUE_BG}#{YELLOW}\\1#{DEFAULT_TERMINAL_COLOR}") text end def strip_color_tags(text) text = text.gsub(%r{<b>(.*?)</b>}m, "\\1") text = text.gsub(%r{<dgray>(.*?)</dgray>}m, "\\1") text = text.gsub(%r{<gray>(.*?)</gray>}m, "\\1") text.gsub!(%r{<red>(.*?)</red>}m, "\\1") text.gsub!(%r{<orange>(.*?)</orange>}m, "\\1") text.gsub!(%r{<green>(.*?)</green>}m, "\\1") text.gsub!(%r{<yellow>(.*?)</yellow>}m, "\\1") text.gsub!(%r{<banner>(.*?)</banner>}m, "\\1") text end end class AnsiColorsPrinter def initialize(enabled = :auto) @enabled = enabled end def reset maybe_colorize(AnsiColors::RESET) end def bold maybe_colorize(AnsiColors::BOLD) end def dgray maybe_colorize(AnsiColors::DGRAY) end def gray maybe_colorize(AnsiColors::GRAY) end def red maybe_colorize(AnsiColors::RED) end def orange maybe_colorize(AnsiColors::ORANGE) end def green maybe_colorize(AnsiColors::GREEN) end def yellow maybe_colorize(AnsiColors::YELLOW) end def white maybe_colorize(AnsiColors::WHITE) end def black_bg maybe_colorize(AnsiColors::BLACK_BG) end def blue_bg maybe_colorize(AnsiColors::BLUE_BG) end def default_terminal_color maybe_colorize(AnsiColors::DEFAULT_TERMINAL_COLOR) end def ansi_colorize(text) if should_output_color? AnsiColors.ansi_colorize(text) else AnsiColors.strip_color_tags(text) end end private def maybe_colorize(ansi_color) if should_output_color? ansi_color else "" end end def should_output_color? if @enabled == :auto STDOUT.tty? else @enabled end end end end # module Utils end # module PhusionPassenger