lib/ronin/sessions/web.rb in ronin-0.1.2 vs lib/ronin/sessions/web.rb in ronin-0.1.3
- old
+ new
@@ -1,11 +1,11 @@
#
#--
# Ronin - A ruby development platform designed for information security
# and data exploration tasks.
#
-# Copyright (c) 2006-2008 Hal Brodigan (postmodern.mod3 at gmail.com)
+# 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.
@@ -28,16 +28,14 @@
module Sessions
module Web
include Session
setup_session do
- parameter :web_proxy,
- :value => Ronin::Web.proxy,
- :description => 'Web Proxy'
+ parameter :web_proxy, :value => Ronin::Web.proxy,
+ :description => 'Web Proxy'
- parameter :web_user_agent,
- :value => Ronin::Web.user_agent,
- :description => 'Web User-Agent'
+ parameter :web_user_agent, :value => Ronin::Web.user_agent,
+ :description => 'Web User-Agent'
end
protected
def web_agent(options={},&block)