资源说明:Ronin Web is a Ruby library for Ronin that provides support for web scraping and spidering functionality.
= Ronin Web * http://ronin.rubyforge.org/web/ * http://github.com/postmodern/ronin-web * http://github.com/postmodern/ronin-web/issues * http://groups.google.com/group/ronin-ruby * irc.freenode.net #ronin == DESCRIPTION: Ronin Web is a Ruby library for Ronin that provides support for web scraping and spidering functionality. Ronin is a Ruby platform for exploit development and security research. Ronin allows for the rapid development and distribution of code, exploits or payloads over many common Source-Code-Management (SCM) systems. === Ruby Ronin's Ruby environment allows security researchers to leverage Ruby with ease. The Ruby environment contains a multitude of convenience methods for working with data in Ruby, a Ruby Object Database, a customized Ruby Console and an extendable command-line interface. === Extend Ronin's more specialized features are provided by additional Ronin libraries, which users can choose to install. These libraries can allow one to write and run Exploits and Payloads, scan for PHP vulnerabilities, perform Google Dorks or run 3rd party scanners. === Publish Ronin allows users to publish and share code, exploits, payloads or other data via Overlays. Overlays are directories of code and data that can be hosted on any SVN, Hg, Git or Rsync server. Ronin makes it easy to create, install or update Overlays. == FEATURES: * Web access (utilizing Mechanize and Nokogiri). * Integrates Spidr into Ronin::Web::Spider. * Provides Ronin::Web::Server, a customizable Sinatra based Web Server that supports path and host-name routing. * Provides Ronin::Web::Proxy, a configurable Sinatra based Web Proxy. == SYNOPSIS: * Start the Ronin console with Ronin Web preloaded: $ ronin-web == EXAMPLES: * Get a web-page: Web.get('http://www.rubyinside.com/') * Get only the body of the web-page: Web.get_body('http://www.rubyinside.com/') * Get a WWW::Mechanize agent: agent = Web.agent * Parse HTML: Web.html(open('some_file.html')) # => # # # # # * Build a HTML document: doc = Web.build_html do html { head { script(:type => 'text/javascript', :src => 'redirect.js') } } end puts doc.to_html # # * Parse XML: Web.xml(some_text) # => ## * Build a XML document: doc = Web.build_xml do playlist { mp3 { file { text('02 THE WAIT.mp3') } artist { text('Evil Nine') } track { text('The Wait feat David Autokratz') } duration { text('1000000000') } } } end puts doc.to_xml # ## #admin #0mni ## * Spider a web site: Web::Spider.host('www.example.com') do |spider| spider.every_url do |url| # ... end spider.every_page do |page| # ... end end * Serve files via a Web Server: require 'ronin/web/server' Web.server do file '/opensearch.xml', '/tmp/test.xml' directory '/download/', '/tmp/download/' end Web.server.get '/test' do 'Test 1 2 1 2' end == REQUIREMENTS: * {mechanize}[http://mechanize.rubyforge.org/] >= 0.9.3 * {spidr}[http://spidr.rubyforge.org/] >= 0.2.0 * {sinatra}[http://www.sinatrarb.com/] >= 0.9.4 * {ronin}[http://ronin.rubyforge.org/] >= 0.3.0 == INSTALL: $ sudo gem install ronin-web == LICENSE: Ronin Web - A Ruby library for Ronin that provides support for web scraping and spidering functionality. Copyright (c) 2006-2009 Hal Brodigan (postmodern.mod3 at gmail.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA# #02 THE WAIT.mp3 #Evil Nine # #1000000000 #
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。