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.238
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 /
share /
doc /
ruby-pdf-reader /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
callbacks.rb
551
B
-rwxr-xr-x
extract_bates.rb
1.36
KB
-rwxr-xr-x
extract_fonts.rb
1.75
KB
-rwxr-xr-x
extract_images.rb
8.04
KB
-rwxr-xr-x
fuzzy_paragraphs.rb
471
B
-rwxr-xr-x
hash.rb
265
B
-rwxr-xr-x
metadata.rb
296
B
-rwxr-xr-x
page_count.rb
311
B
-rwxr-xr-x
rspec.rb
716
B
-rwxr-xr-x
text.rb
303
B
-rwxr-xr-x
version.rb
273
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : rspec.rb
#!/usr/bin/env ruby # coding: utf-8 # Basic RSpec of a generated PDF # # USAGE: rspec -c examples/rspec.rb require 'rubygems' require 'pdf/reader' require 'rspec' require 'prawn' require 'stringio' describe "My generated PDF" do it "should have the correct text on 2 pages" do # generate our PDF pdf = Prawn::Document.new pdf.text "Chunky" pdf.start_new_page pdf.text "Bacon" io = StringIO.new(pdf.render) # process the PDF PDF::Reader.open(io) do |reader| reader.page_count.should eql(2) # correct page count reader.page(1).text.should eql("Chunky") # correct content reader.page(2).text.should eql("Bacon") # correct content end end end
Close