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.130
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 /
rouge /
formatters /
[ HOME SHELL ]
Name
Size
Permission
Action
html.rb
847
B
-rw-r--r--
html_inline.rb
744
B
-rw-r--r--
html_legacy.rb
1.38
KB
-rw-r--r--
html_linewise.rb
647
B
-rw-r--r--
html_pygments.rb
417
B
-rw-r--r--
html_table.rb
1.8
KB
-rw-r--r--
null.rb
365
B
-rw-r--r--
terminal256.rb
4.86
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : html_table.rb
# -*- coding: utf-8 -*- # # frozen_string_literal: true module Rouge module Formatters class HTMLTable < Formatter tag 'html_table' def initialize(inner, opts={}) @inner = inner @start_line = opts.fetch(:start_line, 1) @line_format = opts.fetch(:line_format, '%i') @table_class = opts.fetch(:table_class, 'rouge-table') @gutter_class = opts.fetch(:gutter_class, 'rouge-gutter') @code_class = opts.fetch(:code_class, 'rouge-code') end def style(scope) yield "#{scope} .rouge-table { border-spacing: 0 }" yield "#{scope} .rouge-gutter { text-align: right }" end def stream(tokens, &b) num_lines = 0 last_val = '' formatted = String.new('') tokens.each do |tok, val| last_val = val num_lines += val.scan(/\n/).size formatted << @inner.span(tok, val) end # add an extra line for non-newline-terminated strings if last_val[-1] != "\n" num_lines += 1 @inner.span(Token::Tokens::Text::Whitespace, "\n") { |str| formatted << str } end # generate a string of newline-separated line numbers for the gutter> formatted_line_numbers = (@start_line..num_lines+@start_line-1).map do |i| sprintf("#{@line_format}", i) << "\n" end.join('') numbers = %(<pre class="lineno">#{formatted_line_numbers}</pre>) yield %(<table class="#@table_class"><tbody><tr>) # the "gl" class applies the style for Generic.Lineno yield %(<td class="#@gutter_class gl">) yield numbers yield '</td>' yield %(<td class="#@code_class"><pre>) yield formatted yield '</pre></td>' yield "</tr></tbody></table>" end end end end
Close