Skip to content

Commit b4f002d

Browse files
committed
Code Review Feedback
Modified USER and PASS to USERNAME and PASSWORD Moved the Scanner mixin to the bottom and removed deregister
1 parent 4784db3 commit b4f002d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

modules/auxiliary/scanner/http/xbmc_traversal.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
class Metasploit3 < Msf::Auxiliary
1111

12-
include Msf::Auxiliary::Scanner
1312
include Msf::Auxiliary::Report
1413
include Msf::Exploit::Remote::HttpClient
14+
include Msf::Auxiliary::Scanner
1515

1616
def initialize(info={})
1717
super(update_info(info,
@@ -41,11 +41,9 @@ def initialize(info={})
4141
Opt::RPORT(8080),
4242
OptString.new('FILEPATH', [false, 'The name of the file to download', '/private/var/mobile/Library/Preferences/XBMC/userdata/passwords.xml']),
4343
OptInt.new('DEPTH', [true, 'The max traversal depth', 9]),
44-
OptString.new('USER', [true, 'The username to use for the HTTP server', 'xbmc']),
45-
OptString.new('PASS', [true, 'The password to use for the HTTP server', 'xbmc']),
44+
OptString.new('USERNAME', [true, 'The username to use for the HTTP server', 'xbmc']),
45+
OptString.new('PASSWORD', [true, 'The password to use for the HTTP server', 'xbmc']),
4646
], self.class)
47-
48-
deregister_options('RHOST')
4947
end
5048

5149
def run_host(ip)

0 commit comments

Comments
 (0)