From b4f002d080642ad98b44322cb026c017ab52e6cd Mon Sep 17 00:00:00 2001 From: Matt Andreko Date: Thu, 21 Feb 2013 16:55:27 -0500 Subject: [PATCH] Code Review Feedback Modified USER and PASS to USERNAME and PASSWORD Moved the Scanner mixin to the bottom and removed deregister --- modules/auxiliary/scanner/http/xbmc_traversal.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/auxiliary/scanner/http/xbmc_traversal.rb b/modules/auxiliary/scanner/http/xbmc_traversal.rb index 099b8f28a9..561f91c892 100644 --- a/modules/auxiliary/scanner/http/xbmc_traversal.rb +++ b/modules/auxiliary/scanner/http/xbmc_traversal.rb @@ -9,9 +9,9 @@ require 'msf/core' class Metasploit3 < Msf::Auxiliary - include Msf::Auxiliary::Scanner include Msf::Auxiliary::Report include Msf::Exploit::Remote::HttpClient + include Msf::Auxiliary::Scanner def initialize(info={}) super(update_info(info, @@ -41,11 +41,9 @@ class Metasploit3 < Msf::Auxiliary Opt::RPORT(8080), OptString.new('FILEPATH', [false, 'The name of the file to download', '/private/var/mobile/Library/Preferences/XBMC/userdata/passwords.xml']), OptInt.new('DEPTH', [true, 'The max traversal depth', 9]), - OptString.new('USER', [true, 'The username to use for the HTTP server', 'xbmc']), - OptString.new('PASS', [true, 'The password to use for the HTTP server', 'xbmc']), + OptString.new('USERNAME', [true, 'The username to use for the HTTP server', 'xbmc']), + OptString.new('PASSWORD', [true, 'The password to use for the HTTP server', 'xbmc']), ], self.class) - - deregister_options('RHOST') end def run_host(ip)