lib/ronin/exploits/http.rb in ronin-exploits-0.2.0 vs lib/ronin/exploits/http.rb in ronin-exploits-0.2.1

- old
+ new

@@ -20,18 +20,28 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #++ # require 'ronin/exploits/remote_tcp' +require 'ronin/sessions/http' module Ronin module Exploits class HTTP < RemoteTCP + # Default port to connect to + DEFAULT_PORT = 80 + + include Sessions::HTTP + contextify :ronin_http_exploit # Default port to connect to property :default_port, Integer, :default => 80 + + # The optional URL path prefix + parameter :url_prefix, + :description => 'Optional URL path prefix' end end end