Renamed USER/PASSWORD to WP_USER/WP_PASSWORD.

bug/bundler_fix
Roberto Soares 2015-04-16 05:11:56 -03:00
parent 13ded8abe7
commit 0e1b173d15
1 changed files with 4 additions and 4 deletions

View File

@ -43,17 +43,17 @@ class Metasploit3 < Msf::Exploit::Remote
register_options(
[
OptString.new('USER', [true, 'A valid username', nil]),
OptString.new('PASSWORD', [true, 'Valid password for the provided username', nil])
OptString.new('WP_USER', [true, 'A valid username', nil]),
OptString.new('WP_PASSWORD', [true, 'Valid password for the provided username', nil])
], self.class)
end
def user
datastore['USER']
datastore['WP_USER']
end
def password
datastore['PASSWORD']
datastore['WP_PASSWORD']
end
def check