Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 3.15.158.134
Cant Read [ /etc/named.conf ]
8.1.13
www
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
2.7.0 /
rdoc /
markup /
[ HOME SHELL ]
Name
Size
Permission
Action
attr_changer.rb
424
B
-rw-r--r--
attr_span.rb
500
B
-rw-r--r--
attribute_manager.rb
8.11
KB
-rw-r--r--
attributes.rb
1.25
KB
-rw-r--r--
blank_line.rb
391
B
-rw-r--r--
block_quote.rb
252
B
-rw-r--r--
document.rb
3.15
KB
-rw-r--r--
formatter.rb
5.45
KB
-rw-r--r--
hard_break.rb
446
B
-rw-r--r--
heading.rb
1.48
KB
-rw-r--r--
include.rb
829
B
-rw-r--r--
indented_paragraph.rb
906
B
-rw-r--r--
list.rb
1.82
KB
-rw-r--r--
list_item.rb
1.71
KB
-rw-r--r--
paragraph.rb
493
B
-rw-r--r--
parser.rb
14.14
KB
-rw-r--r--
pre_process.rb
8.32
KB
-rw-r--r--
raw.rb
1000
B
-rw-r--r--
regexp_handling.rb
718
B
-rw-r--r--
rule.rb
315
B
-rw-r--r--
to_ansi.rb
2.05
KB
-rw-r--r--
to_bs.rb
1.64
KB
-rw-r--r--
to_html.rb
8.66
KB
-rw-r--r--
to_html_crossref.rb
4.54
KB
-rw-r--r--
to_html_snippet.rb
5.46
KB
-rw-r--r--
to_joined_paragraph.rb
1.1
KB
-rw-r--r--
to_label.rb
1.83
KB
-rw-r--r--
to_markdown.rb
3.61
KB
-rw-r--r--
to_rdoc.rb
6.13
KB
-rw-r--r--
to_table_of_contents.rb
1.68
KB
-rw-r--r--
to_test.rb
1.14
KB
-rw-r--r--
to_tt_only.rb
2.28
KB
-rw-r--r--
verbatim.rb
1.28
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : to_markdown.rb
# frozen_string_literal: true # :markup: markdown ## # Outputs parsed markup as Markdown class RDoc::Markup::ToMarkdown < RDoc::Markup::ToRdoc ## # Creates a new formatter that will output Markdown format text def initialize markup = nil super @headings[1] = ['# ', ''] @headings[2] = ['## ', ''] @headings[3] = ['### ', ''] @headings[4] = ['#### ', ''] @headings[5] = ['##### ', ''] @headings[6] = ['###### ', ''] add_regexp_handling_RDOCLINK add_regexp_handling_TIDYLINK @hard_break = " \n" end ## # Maps attributes to HTML sequences def init_tags add_tag :BOLD, '**', '**' add_tag :EM, '*', '*' add_tag :TT, '`', '`' end ## # Adds a newline to the output def handle_regexp_HARD_BREAK target " \n" end ## # Finishes consumption of `list` def accept_list_end list @res << "\n" super end ## # Finishes consumption of `list_item` def accept_list_item_end list_item width = case @list_type.last when :BULLET then 4 when :NOTE, :LABEL then use_prefix 4 else @list_index[-1] = @list_index.last.succ 4 end @indent -= width end ## # Prepares the visitor for consuming `list_item` def accept_list_item_start list_item type = @list_type.last case type when :NOTE, :LABEL then bullets = Array(list_item.label).map do |label| attributes(label).strip end.join "\n" bullets << "\n:" @prefix = ' ' * @indent @indent += 4 @prefix << bullets + (' ' * (@indent - 1)) else bullet = type == :BULLET ? '*' : @list_index.last.to_s + '.' @prefix = (' ' * @indent) + bullet.ljust(4) @indent += 4 end end ## # Prepares the visitor for consuming `list` def accept_list_start list case list.type when :BULLET, :LABEL, :NOTE then @list_index << nil when :LALPHA, :NUMBER, :UALPHA then @list_index << 1 else raise RDoc::Error, "invalid list type #{list.type}" end @list_width << 4 @list_type << list.type end ## # Adds `rule` to the output def accept_rule rule use_prefix or @res << ' ' * @indent @res << '-' * 3 @res << "\n" end ## # Outputs `verbatim` indented 4 columns def accept_verbatim verbatim indent = ' ' * (@indent + 4) verbatim.parts.each do |part| @res << indent unless part == "\n" @res << part end @res << "\n" end ## # Creates a Markdown-style URL from +url+ with +text+. def gen_url url, text scheme, url, = parse_url url "[#{text.sub(%r{^#{scheme}:/*}i, '')}](#{url})" end ## # Handles <tt>rdoc-</tt> type links for footnotes. def handle_rdoc_link url case url when /^rdoc-ref:/ then $' when /^rdoc-label:footmark-(\d+)/ then "[^#{$1}]:" when /^rdoc-label:foottext-(\d+)/ then "[^#{$1}]" when /^rdoc-label:label-/ then gen_url url, $' when /^rdoc-image:/ then "" when /^rdoc-[a-z]+:/ then $' end end ## # Converts the RDoc markup tidylink into a Markdown.style link. def handle_regexp_TIDYLINK target text = target.text return text unless text =~ /\{(.*?)\}\[(.*?)\]/ or text =~ /(\S+)\[(.*?)\]/ label = $1 url = $2 if url =~ /^rdoc-label:foot/ then handle_rdoc_link url else gen_url url, label end end ## # Converts the rdoc-...: links into a Markdown.style links. def handle_regexp_RDOCLINK target handle_rdoc_link target.text end end
Close