code
stringlengths
1
1.73M
language
stringclasses
1 value
class RootController < ApplicationController caches_page :index, :about layout 'main', :except => ['digg'] def index @page = 'home'; @top_partial = 'download' @side_partial = 'side' end def about @page = 'about'; @side_partial = 'side_about' end def digg end d...
Ruby
class SnippetsController < ApplicationController # GET /snippets # GET /snippets.xml def index @snippets = Snippet.find(:all) respond_to do |format| format.html # index.html.erb format.xml { render :xml => @snippets } end end # GET /snippets/1 # GET /snippets/1.xml def show ...
Ruby
class ExampleController < ApplicationController def index end end
Ruby
# Filters added to this controller apply to all controllers in the application. # Likewise, all the methods added will be available for all controllers. class ApplicationController < ActionController::Base helper :all # include all helpers, all the time # See ActionController::RequestForgeryProtection for details...
Ruby
# 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.join(File.dirname(__FILE__), 'config', 'boot')) require 'rake' require 'rake/testtask' require 'rake/rdoctask' require 'tasks/rails'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/dbconsole'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/console'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/runner'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/performance/benchmarker'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/performance/benchmarker'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/performance/request'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/performance/profiler'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/performance/profiler'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/performance/request'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/plugin'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/destroy'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/about'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/dbconsole'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/runner'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/server'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/generate'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/console'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/reaper'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/inspector'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/inspector'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/spawner'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/reaper'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../../config/boot' require 'commands/process/spawner'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/destroy'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/generate'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/server'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/about'
Ruby
#!/usr/bin/env ruby require File.dirname(__FILE__) + '/../config/boot' require 'commands/plugin'
Ruby
class CreateSnippets < ActiveRecord::Migration def self.up create_table :snippets do |t| t.string :name t.string :title t.string :description t.text :code t.timestamps end end def self.down drop_table :snippets end end
Ruby
#!/opt/local/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impai...
Ruby
#!/opt/local/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impai...
Ruby
#!/opt/local/bin/ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which forced the FastCGI instance to exit, great for debugging) # and the number of requests to process before running garbage collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.lo...
Ruby
#!/opt/local/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impai...
Ruby
#!/opt/local/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impai...
Ruby
#!/opt/local/bin/ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which forced the FastCGI instance to exit, great for debugging) # and the number of requests to process before running garbage collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.lo...
Ruby
ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + "/../config/environment") require 'test_help' class Test::Unit::TestCase # Transactional fixtures accelerate your tests by wrapping each test method # in a transaction that's rolled back on completion. This ensures that the # test datab...
Ruby
# mac users should have all in place # 1. $gem install rake # 2. $cd some/path/xrefresh # 3. $rake # # win users: # 1. install binary ruby (unzip to C:\ruby) # 2. set C:\ruby\bin to system path # 3. download and install ruby gems (http://www.rubygems.org/read/chapter/3) # 5. solve dll problems: # 5.a) download openssl ...
Ruby
require 'fileutils' include FileUtils require 'rubygems' %w[rake hoe newgem rubigen].each do |req_gem| begin require req_gem rescue LoadError puts "This Rakefile requires the '#{req_gem}' RubyGem." puts "Installation: gem install #{req_gem} -y" exit end end $:.unshift(File.join(File.dirname(__FI...
Ruby
require "lib/xrefresh-server.rb" AUTHOR = 'Antonin Hildebrand' # can also be an array of Authors EMAIL = "antonin@hildebrand.cz" DESCRIPTION = "XRefresh filesystem monitor - browser refresh automation tool for web developers" GEM_NAME = 'xrefresh-server' # what ppl will type to install your gem RUBYFORGE_PROJECT = 'x...
Ruby
script# # setup.rb # # Copyright (c) 2000-2005 Minero Aoki # # This program is free software. # You can distribute/modify this program under the terms of # the GNU LGPL, Lesser General Public License version 2.1. # unless Enumerable.method_defined?(:map) # Ruby 1.4.6 module Enumerable alias map collect end e...
Ruby
require 'config/requirements' require 'config/hoe' # setup Hoe + all gem configuration Dir['tasks/**/*.rake'].each { |rake| load rake }
Ruby
#!/usr/bin/env ruby # File: script/console irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb' libs = " -r irb/completion" # Perhaps use a console_lib to store any extra methods I may want available in the cosole # libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}" # libs << "...
Ruby
#!/usr/bin/env ruby GEM_NAME = 'xrefresh-server' # what ppl will type to install your gem RUBYFORGE_PROJECT = 'xrefresh-server' require 'rubygems' begin require 'newgem' require 'rubyforge' rescue LoadError puts "\n\nGenerating the website requires the newgem RubyGem" puts "Install: gem install newgem\n\n" ...
Ruby
#!/usr/bin/env ruby APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) begin require 'rubigen' rescue LoadError require 'rubygems' require 'rubigen' end require 'rubigen/scripts/destroy' ARGV.shift if ['--help', '-h'].include?(ARGV[0]) RubiGen::Base.use_component_sources! [:rubygems, :newgem, ...
Ruby
#!/usr/bin/env ruby GEM_NAME = 'xrefresh-server' # what ppl will type to install your gem RUBYFORGE_PROJECT = 'xrefresh-server' require 'rubygems' begin require 'newgem' require 'rubyforge' rescue LoadError puts "\n\nGenerating the website requires the newgem RubyGem" puts "Install: gem install newgem\n\n" ...
Ruby
#!/usr/bin/env ruby APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) begin require 'rubigen' rescue LoadError require 'rubygems' require 'rubigen' end require 'rubigen/scripts/generate' ARGV.shift if ['--help', '-h'].include?(ARGV[0]) RubiGen::Base.use_component_sources! [:rubygems, :newgem,...
Ruby
#!/usr/bin/env ruby # File: script/console irb = RUBY_PLATFORM =~ /(:?mswin|mingw)/ ? 'irb.bat' : 'irb' libs = " -r irb/completion" # Perhaps use a console_lib to store any extra methods I may want available in the cosole # libs << " -r #{File.dirname(__FILE__) + '/../lib/console_lib/console_logger.rb'}" # libs << "...
Ruby
#!/usr/bin/env ruby APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) begin require 'rubigen' rescue LoadError require 'rubygems' require 'rubigen' end require 'rubigen/scripts/destroy' ARGV.shift if ['--help', '-h'].include?(ARGV[0]) RubiGen::Base.use_component_sources! [:rubygems, :newgem, ...
Ruby
#!/usr/bin/env ruby APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..')) begin require 'rubigen' rescue LoadError require 'rubygems' require 'rubigen' end require 'rubigen/scripts/generate' ARGV.shift if ['--help', '-h'].include?(ARGV[0]) RubiGen::Base.use_component_sources! [:rubygems, :newgem,...
Ruby
desc 'Generate website files' task :website_generate => :ruby_env do (Dir['website/**/*.txt'] - Dir['website/version*.txt']).each do |txt| sh %{ #{RUBY_APP} script/txt2html #{txt} > #{txt.gsub(/txt$/,'html')} } end end desc 'Upload website files to rubyforge' task :website_upload do host = "#{rubyforge_usern...
Ruby
task :ruby_env do RUBY_APP = if RUBY_PLATFORM =~ /java/ "jruby" else "ruby" end unless defined? RUBY_APP end
Ruby
desc 'Release the website and new gem version' task :deploy => [:check_version, :website, :release] do puts "Remember to create SVN tag:" puts "svn copy svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/trunk " + "svn+ssh://#{rubyforge_username}@rubyforge.org/var/svn/#{PATH}/tags/REL-#{VERS} " put...
Ruby
require 'osx/foundation' OSX.require_framework '/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework' include OSX module XRefreshServer class Monitor def initialize(server, config) @config = config @server = server @modified_dir...
Ruby
require 'gserver' require 'json' module XRefreshServer # server class Server < GServer attr :clients def initialize(*args) super(*args) @clients = Set.new @last_client_id = 0 end def serve(socket) socket.binmode @las...
Ruby
require 'json' module XRefreshServer # client representation on server side class Client attr :id, :dead def initialize(id, socket) @id = id @socket = socket @dead = false end def send(data) return if @dead begin...
Ruby
$:.unshift(File.dirname(__FILE__)) unless $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) module XRefreshServer VERSION = '0.1.0' def self.die(s) $stderr.puts s exit 1 end def self.generate_config(path) puts "Generating config...
Ruby
require 'xss_terminate' ActiveRecord::Base.send(:include, XssTerminate)
Ruby
require 'rake' require 'rake/testtask' require 'rake/rdoctask' desc 'Default: run unit tests.' task :default => :test desc 'Test the xss_terminate plugin.' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.pattern = 'test/**/*_test.rb' t.verbose = true end desc 'Generate documentation for the xss_terminate pl...
Ruby
desc "Given MODELS=Foo,Bar,Baz find all instances in the DB and save to sanitize existing records" task :xss_terminate => :environment do models = ENV['MODELS'].split(',') models.each do |model| model.constantize.find(:all).map(&:save) end end
Ruby
# Uninstall hook code here
Ruby
# Install hook code here
Ruby
# == Introduction # # This module provides sanitization of XHTML+MathML+SVG # and of inline style attributes. Its genesis is {described here}[http://golem.ph.utexas.edu/~distler/blog/archives/001181.html]. # # Uses the {HTML5lib parser}[http://code.google.com/p/html5lib/], so that the parsing behaviour should # resemb...
Ruby
module XssTerminate def self.included(base) base.extend(ClassMethods) # sets up default of stripping tags for all fields base.send(:xss_terminate) end module ClassMethods def xss_terminate(options = {}) before_validation :sanitize_fields write_inheritable_attribute(:xss_terminate_opt...
Ruby
require 'action_pack/version' # This class exists so including the Rails HTML sanitization helpers doesn't polute your models. class RailsSanitize if ActionPack::VERSION::MINOR >= 2 # Rails 2.2+ extend ActionView::Helpers::SanitizeHelper::ClassMethods else # Rails 2.1 or earlier (note: xss_terminate does not s...
Ruby
ActiveRecord::Schema.define(:version => 0) do create_table :people, :force => true do |t| t.column :name, :string end create_table :entries, :force => true do |t| t.column :title, :string t.column :body, :text t.column :extended, :text t.column :person_id, :integer t.column :created_on,...
Ruby
# not sanitized class Message < ActiveRecord::Base belongs_to :person end
Ruby
# Rails HTML sanitization on some fields class Entry < ActiveRecord::Base belongs_to :person has_many :comments xss_terminate :sanitize => [:body, :extended] end
Ruby
# Comment uses the default: stripping tags from all fields before validation class Comment < ActiveRecord::Base belongs_to :entry belongs_to :person validates_presence_of :title end
Ruby
# this model uses html5lib sanitization class Review < ActiveRecord::Base belongs_to :person xss_terminate :html5lib_sanitize => [:body, :extended] end
Ruby
# This model excepts HTML sanitization on the name class Person < ActiveRecord::Base has_many :entries xss_terminate :except => [:name] end
Ruby
#!/usr/bin/env ruby =begin Copyright (c) 2009, Eduardo Niehues. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list ...
Ruby
#!/usr/bin/env ruby =begin Copyright (c) 2009, Eduardo Niehues. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list ...
Ruby
require 'socket' require 'iconv' require 'gtk2' # WARNING: OUTDATED COMMENTS # This class will hold a XSIRC instance. It does the basic IRC protocol # stuff for plug-ins. It basically works like this: # 1. Initialize, get config options, connect to IRC server # 2. Run commands specified in the config file, such as join...
Ruby
#!/usr/bin/env ruby # # This file is gererated by ruby-glade-create-template 1.1.4. # require 'libglade2' require 'gtk2' require 'yaml' class ConfigmanagerGlade include GetText attr :glade def initialize(path_or_data, root = nil, domain = nil, localedir = nil, flag = GladeXML::FILE) bindtextdomain(domain...
Ruby
#!/usr/bin/env ruby # # This file is gererated by ruby-glade-create-template 1.1.4. # require 'libglade2' require 'gtk2' require 'yaml' class ConfigmanagerGlade include GetText attr :glade def initialize(path_or_data, root = nil, domain = nil, localedir = nil, flag = GladeXML::FILE) bindtextdomain(domain...
Ruby
source :gemcutter gem 'sinatra', :require => 'sinatra/base' gem 'thin', '~> 1.3' gem 'pg' gem 'data_mapper', '~> 1.2' gem 'dm-postgres-adapter' gem 'google-api-client', '>= 0.4.3' group :development do gem 'dm-sqlite-adapter', '~> 1.2' gem 'do_sqlite3', '~> 0.10' end
Ruby
# Copyright (C) 2012 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'Google Chrome FileJacking', 'Description' =...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'KEY LOGGER', 'Description' => 'Retrieve all...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'Java applet loader', 'Description' => 'Load...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'ALERT XSSF', 'Description' => 'Simple XSSF a...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'Interval changer', 'Description' => 'Change...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'WebPage Saver', 'Description' => 'Saves cur...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'PROMPT XSSF', 'Description' => 'Simple XSSF...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # CAUTION : TO USE THIS MODULE FOR NEW WEBSITES, BE SURE TO REMOVE THE IFRAME PROTECTION # IN THE .HTML FILE. THE .HTML FILE HAS TO BE LOADED IN AN IFRAME. # EXEMPLE (GMAIL) : "if (top.location != self.location) { t...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'Properties detecter', 'Description' => 'Det...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'Webcam Capture', 'Description' => 'Takes a ...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'WebPage Saver', 'Description' => 'Saves cur...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'REDIRECT', 'Description' => 'Si...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'Cross-Site Request Forgery (CSRF)',...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'CHECK CONNECTED', 'Author' =>...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'XSS BOUNCE', 'Description' => 'Module permit...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'Cookie getter', 'Description' => 'Return to...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'PDF loader', 'Description' => 'Loads a PDF ...
Ruby
require 'msf/core' require 'msf/base/xssf' # # READ README_XSSF FILE FOR MORE INFORMATION ABOUT MODULES # class Metasploit3 < Msf::Auxiliary include Msf::Xssf::XssfServer # Module initialization def initialize(info = {}) super(update_info(info, 'Name' => 'Visited links finder', 'Description' => 'Se...
Ruby