Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.10
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
vendor_ruby /
coderay /
encoders /
[ HOME SHELL ]
Name
Size
Permission
Action
html
[ DIR ]
drwxr-xr-x
_map.rb
402
B
-rw-r--r--
comment_filter.rb
509
B
-rw-r--r--
count.rb
558
B
-rw-r--r--
debug.rb
939
B
-rw-r--r--
debug_lint.rb
1.43
KB
-rw-r--r--
div.rb
426
B
-rw-r--r--
encoder.rb
5.51
KB
-rw-r--r--
filter.rb
1.04
KB
-rw-r--r--
html.rb
9
KB
-rw-r--r--
json.rb
1.65
KB
-rw-r--r--
lines_of_code.rb
1.1
KB
-rw-r--r--
lint.rb
1.5
KB
-rw-r--r--
null.rb
238
B
-rw-r--r--
page.rb
462
B
-rw-r--r--
span.rb
431
B
-rw-r--r--
statistic.rb
2.06
KB
-rw-r--r--
terminal.rb
4.95
KB
-rw-r--r--
text.rb
737
B
-rw-r--r--
token_kind_filter.rb
2.4
KB
-rw-r--r--
xml.rb
1.38
KB
-rw-r--r--
yaml.rb
712
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : terminal.rb
module CodeRay module Encoders # Outputs code highlighted for a color terminal. # # Note: This encoder is in beta. It currently doesn't use the Styles. # # Alias: +term+ # # == Authors & License # # By Rob Aldred (http://robaldred.co.uk) # # Based on idea by Nathan Weizenbaum (http://nex-3.com) # # MIT License (http://www.opensource.org/licenses/mit-license.php) class Terminal < Encoder register_for :terminal TOKEN_COLORS = { :debug => "\e[1;37;44m", :annotation => "\e[34m", :attribute_name => "\e[35m", :attribute_value => "\e[31m", :binary => { :self => "\e[31m", :char => "\e[1;31m", :delimiter => "\e[1;31m", }, :char => { :self => "\e[35m", :delimiter => "\e[1;35m" }, :class => "\e[1;35;4m", :class_variable => "\e[36m", :color => "\e[32m", :comment => { :self => "\e[1;30m", :char => "\e[37m", :delimiter => "\e[37m", }, :constant => "\e[1;34;4m", :decorator => "\e[35m", :definition => "\e[1;33m", :directive => "\e[33m", :docstring => "\e[31m", :doctype => "\e[1;34m", :done => "\e[1;30;2m", :entity => "\e[31m", :error => "\e[1;37;41m", :exception => "\e[1;31m", :float => "\e[1;35m", :function => "\e[1;34m", :global_variable => "\e[1;32m", :hex => "\e[1;36m", :id => "\e[1;34m", :include => "\e[31m", :integer => "\e[1;34m", :imaginary => "\e[1;34m", :important => "\e[1;31m", :key => { :self => "\e[35m", :char => "\e[1;35m", :delimiter => "\e[1;35m", }, :keyword => "\e[32m", :label => "\e[1;33m", :local_variable => "\e[33m", :namespace => "\e[1;35m", :octal => "\e[1;34m", :predefined => "\e[36m", :predefined_constant => "\e[1;36m", :predefined_type => "\e[1;32m", :preprocessor => "\e[1;36m", :pseudo_class => "\e[1;34m", :regexp => { :self => "\e[35m", :delimiter => "\e[1;35m", :modifier => "\e[35m", :char => "\e[1;35m", }, :reserved => "\e[32m", :shell => { :self => "\e[33m", :char => "\e[1;33m", :delimiter => "\e[1;33m", :escape => "\e[1;33m", }, :string => { :self => "\e[31m", :modifier => "\e[1;31m", :char => "\e[1;35m", :delimiter => "\e[1;31m", :escape => "\e[1;31m", }, :symbol => { :self => "\e[33m", :delimiter => "\e[1;33m", }, :tag => "\e[32m", :type => "\e[1;34m", :value => "\e[36m", :variable => "\e[34m", :insert => { :self => "\e[42m", :insert => "\e[1;32;42m", :eyecatcher => "\e[102m", }, :delete => { :self => "\e[41m", :delete => "\e[1;31;41m", :eyecatcher => "\e[101m", }, :change => { :self => "\e[44m", :change => "\e[37;44m", }, :head => { :self => "\e[45m", :filename => "\e[37;45m" }, } TOKEN_COLORS[:keyword] = TOKEN_COLORS[:reserved] TOKEN_COLORS[:method] = TOKEN_COLORS[:function] TOKEN_COLORS[:escape] = TOKEN_COLORS[:delimiter] protected def setup(options) super @opened = [] @color_scopes = [TOKEN_COLORS] end public def text_token text, kind if color = @color_scopes.last[kind] color = color[:self] if color.is_a? Hash @out << color @out << (text.index("\n") ? text.gsub("\n", "\e[0m\n" + color) : text) @out << "\e[0m" if outer_color = @color_scopes.last[:self] @out << outer_color end else @out << text end end def begin_group kind @opened << kind @out << open_token(kind) end alias begin_line begin_group def end_group kind if @opened.pop @color_scopes.pop @out << "\e[0m" if outer_color = @color_scopes.last[:self] @out << outer_color end end end def end_line kind @out << (@line_filler ||= "\t" * 100) end_group kind end private def open_token kind if color = @color_scopes.last[kind] if color.is_a? Hash @color_scopes << color color[:self] else @color_scopes << @color_scopes.last color end else @color_scopes << @color_scopes.last '' end end end end end
Close